xpra icon
Bug tracker and wiki

Changes between Version 62 and Version 63 of Building


Ignore:
Timestamp:
01/11/17 16:47:44 (4 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building

    v62 v63  
    22
    33Platform specific index:
    4 * [#FedoraandCentOSRHEL Fedora, CentOS and RHEL]
     4* [/wiki/Building/RPM Fedora, CentOS, RHEL, openSUSE]
    55* [/wiki/Building/Debian Debian and Ubuntu]
    6 * [#openSUSE openSUSE]
     6* [/wiki/Building/MSWindows Microsoft Windows]
     7* [/wiki/Building/MacOSX MacOSX]
    78* [#Gentoo Gentoo]
    89* [#ArchLinux ArchLinux]
    9 * [/wiki/Building/MSWindows Microsoft Windows]
    10 * [/wiki/Building/MacOSX MacOSX]
    11 * [#OpenBSD OpenBSD]
    12 * [/wiki/Building/FreeBSD FreeBSD]
     10* [/wiki/Building/FreeBSD FreeBSD], [/wiki/Building/OpenBSD OpenBSD]
    1311* [#RaspberryPi RaspberryPi]
    1412
     
    8684}}}
    8785
    88 {{{#!div class="box"
    89 [[Image(http://xpra.org/icons/fedora.png)]] - [[Image(http://xpra.org/icons/centos.png)]]
    90 == [http://fedoraproject.org/ Fedora] and  [http://www.centos.org/ CentOS] / [https://www.redhat.com/products/enterprise-linux/ RHEL] ==
    91 
    92 For building you will need to install:
    93 {{{
    94 yum install gcc python-devel libXtst-devel libXdamage-devel \
    95                 gtk2-devel pygtk2-devel pygobject2-devel libxkbfile-devel \
    96                 redhat-rpm-config
    97 }}}
    98 Fedora and {{{RHEL7}}}/{{{CentOS7}}} users can install [http://www.cython.org/ Cython] via yum, our repositories also include a more up to date version of Cython for all versions.
    99 {{{
    100 yum install Cython
    101 }}}
    102 
    103 
    104 {{{
    105 yum install xorg-x11-server-Xorg xorg-x11-drv-dummy xorg-x11-xauth xorg-x11-xkb-utils
    106 }}}
    107 
    108 For picture and video encoding support, install the private libraries and their development headers from the [http://winswitch.org/downloads/rpm-repository.html repository]:
    109 {{{
    110 yum install ffmpeg-xpra-devel x264-xpra-devel libvpx-xpra-devel libwebp-devel
    111 }}}
    112 Building against the default (and often outdated) host libraries or using third-party repositories (EPEL, rpmfusion, etc) is not recommended.
    113 
    114 When building against those private libraries, you must point the compiler and linker to their location, ie for 64-bit:
    115 {{{
    116 LDFLAGS=-Wl,-rpath=/usr/lib64/xpra \
    117 PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib64/xpra/pkgconfig \
    118     ./setup.py install
    119 }}}
    120 
    121 The spec files used for building all the packages found in the repositories can be found here: [/browser/xpra/trunk/rpmbuild?order=name xpra/trunk/rpmbuild].
    122 More information on the private libraries setup can be found here: #613.
    123 
    124 For {{{OpenGL}}} accelerated client rendering support, add:
    125 {{{
    126 yum install PyOpenGL PyOpenGL-accelerate pygtkglext
    127 }}}
    128 }}}
    129 
    130 
    131 {{{#!div class="box"
    132 [[Image(http://xpra.org/icons/opensuse.png)]]
    133 == [http://www.opensuse.org/ openSUSE] ==
    134 For building you will need to install:
    135 {{{
    136 zypper install gcc python-cython python-devel \
    137                 gtk2-devel python-gtk-devel python-gobject2-devel
    138 zypper install libXrandr-devel libXtst-devel libXcomposite-devel
    139 zypper install xorg-x11-server-extra xorg-x11-xauth xkeyboard-config
    140 }}}
    141 No idea which ffmpeg libraries to use, sorry.
    142 }}}
    143 
    14486
    14587{{{#!div class="box"
     
    159101
    160102{{{#!div class="box"
    161 [[Image(http://xpra.org/icons/openbsd.png)]]
    162 == [http://www.openbsd.org/ OpenBSD] ==
    163 
    164 Unsupported.
    165 
    166 Install the following packages (ie: {{{pkg_add}}} them):
    167 {{{
    168 pkg_add py-gtk2 py-Pillow
    169 }}}
    170 
    171 You may need to install [http://www.cython.org/ cython] from source if the version in the repository is too old.
    172 
    173 For video encoding support install:
    174 {{{
    175 pkg_add x264 libvpx ffmpeg
    176 }}}
    177 
    178 At runtime, you may also want to have installed:
    179 {{{
    180 pkg_add libwebp
    181 }}}
    182 }}}
    183 
    184 
    185 {{{#!div class="box"
    186103== {{{RaspberryPi}}} ==
    187104