Version 9 (modified by 2 months ago) (diff) | ,
---|
We have moved
This page has been moved to https://github.com/Xpra-org/xpra/blob/master/docs/Build/RPM.md
Archived copy:
Building on Fedora / CentOS / RHEL / openSUSE
For general information, see wiki/Building first.
For RPM packaging, see wiki/Packaging.
For Python2, see wiki/Building/RPM/Python2.
Fedora and CentOS / RHEL Build Dependencies
For building you will need to install:
dnf install gcc gcc-c++ \ libXtst-devel libXdamage-devel libxkbfile-devel \ python3-devel python3-Cython \ python3-gobject pygobject3-devel python3-cairo-devel \ gtk3-devel gobject-introspection-devel \ redhat-rpm-config dnf install xorg-x11-server-Xorg xorg-x11-drv-dummy xorg-x11-xauth xorg-x11-xkb-utils
Fedora and RHEL7
/CentOS7
users can install Cython via yum, the repositories include a more up to date version of Cython for all supported distributions.
dnf install python3-Cython
For video encoding support, install the private libraries and their development headers from the repository:
dnf install ffmpeg-xpra-devel x264-xpra-devel
Building against the default (and often outdated) host libraries or using third-party repositories (EPEL, rpmfusion, etc) is not recommended.
For OpenGL
accelerated client rendering support, add this runtime dependency:
dnf install python3-pyopengl
Build Commands
When building against those private libraries, you must point the compiler and linker to their location, ie for 64-bit:
python3 ./setup.py install \ --rpath=/usr/lib64/xpra --pkg-config-path=/usr/lib64/xpra/pkgconfig --without-html5 --without-printing
The spec files used for building all the RPM packages found in the repositories are here: xpra/trunk/rpmbuild. More information on the private libraries setup can be found here: #613.