xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 33 and Version 34 of Building


Ignore:
Timestamp:
11/09/14 04:09:06 (7 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building

    v33 v34  
    6363sudo ./setup.py install
    6464}}}
    65 
    66 ----
    67 
     65}}}
     66
     67{{{#!div class="box"
     68== [[Image(http://xpra.org/icons/remove.png)]] Uninstall ==
     69setuptools/distutils do not provide any uninstallation mechanism, this has nothing to do with Xpra.
     70That said, it is generally enough to remove (but you must ensure that these are the correct files as you may damage your system otherwise!):
     71{{{
     72/usr/bin/xpra
     73/usr/lib*/python*/*-packages/xpra*
     74/usr/share/xpra
     75}}}
     76}}}
     77
     78{{{#!div class="box"
     79== [[Image(http://xpra.org/icons/fedora.png)]] [http://fedoraproject.org/ Fedora] and [[Image(http://xpra.org/icons/centos.png)]] [http://www.centos.org/ CentOS] / [https://www.redhat.com/products/enterprise-linux/ RHEL] ==
     80
     81For building you will need to install:
     82{{{
     83yum install gcc python-devel libXtst-devel libXdamage-devel \
     84                gtk2-devel pygtk2-devel pygobject2-devel libxkbfile-devel
     85}}}
     86Fedora and {{{RHEL7}}}/{{{CentOS7}}} users can install [http://www.cython.org/ Cython] via yum:
     87{{{
     88yum install Cython
     89}}}
     90Our repositories also include a more up to date version of Cython.
     91
     92{{{
     93yum install xorg-x11-server-Xorg xorg-x11-drv-dummy xorg-x11-xauth xorg-x11-xkb-utils
     94}}}
     95
     96For picture and video encoding support, install the private libraries and their development headers from the repository:
     97{{{
     98yum install ffmpeg-xpra-devel x264-xpra-devel libvpx-xpra-devel libwebp-devel
     99}}}
    68100When building against private libraries, which is the recommended way of building for Fedora and Centos, you must point the compiler and linker to the location of those private libraries, ie for 64-bit:
    69101{{{
     
    72104    ./setup.py install
    73105}}}
    74 }}}
    75 
    76 {{{#!div class="box"
    77 == [[Image(http://xpra.org/icons/remove.png)]] Uninstall ==
    78 setuptools/distutils do not provide any uninstallation mechanism, this has nothing to do with Xpra.
    79 That said, it is generally enough to remove (but you must ensure that these are the correct files as you may damage your system otherwise!):
    80 {{{
    81 /usr/bin/xpra
    82 /usr/lib*/python*/*-packages/xpra*
    83 /usr/share/xpra
    84 }}}
    85 }}}
    86 
    87 {{{#!div class="box"
    88 == [[Image(http://xpra.org/icons/fedora.png)]] [http://fedoraproject.org/ Fedora] and [[Image(http://xpra.org/icons/centos.png)]] [http://www.centos.org/ CentOS] / [https://www.redhat.com/products/enterprise-linux/ RHEL] ==
    89 
    90 For building you will need to install:
    91 {{{
    92 yum install gcc python-devel libXtst-devel libXdamage-devel \
    93                 gtk2-devel pygtk2-devel pygobject2-devel libxkbfile-devel
    94 }}}
    95 Fedora and {{{RHEL7}}}/{{{CentOS7}}} users can install [http://www.cython.org/ Cython] via yum:
    96 {{{
    97 yum install Cython
    98 }}}
    99 Otherwise, you will need to [http://www.cython.org/#download download] and build from source (which is trivial), use EPEL ("Extra Packages for Enterprise Linux") or rely on third party packages.
    100 
    101 {{{
    102 yum install xorg-x11-server-Xorg xorg-x11-drv-dummy xorg-x11-xauth xorg-x11-xkb-utils
    103 }}}
    104 
    105 For x264 support, Fedora users should install the [http://rpmfusion.org/ rpmfusion] repository then:
    106 {{{
    107 yum install ffmpeg-devel x264-devel libvpx-devel
    108 }}}
    109 (building x264/vpx on CentOS is out of scope)
    110 At runtime, to get optimal support for PNG, JPEG and WEBP, install:
    111 {{{
    112 yum install python-imaging libwebp-devel
    113 }}}
     106Building against the default (and often outdated) host libraries is not recommended. Using third-party repositories (EPEL, rpmfusion, etc) is not recommended either.
    114107
    115108For {{{OpenGL}}} support add:
    116109{{{
    117 yum install PyOpenGL libglpng gtkglarea2
    118 }}}
     110yum install PyOpenGL PyOpenGL-accelerate pygtkglext
     111}}}
     112
    119113And to run the automated tests with some {{{OpenGL}}} examples:
    120114{{{
    121115yum install opengl-games-utils xscreensaver-gl-extras
    122116}}}
    123 
    124 To package [http://alastairs-place.net/projects/netifaces/ netifaces] for [/wiki/Network#mDNS] support, you can use this specfile: [/attachment/wiki/Building/netifaces.spec netifaces.spec].
    125117}}}
    126118