xpra icon
Bug tracker and wiki

Version 47 (modified by Antoine Martin, 4 years ago) (diff)

--

http://xpra.org/icons/package.png

Packaging

Please also see How to build and dependencies.

Your distribution may provide packages of xpra, unfortunately those tend to be problematic - see wiki/Packaging/DistributionPackages.

http://xpra.org/icons/rpm.png

RPMs

The spec file can be found here: xpra.spec
The quick and easy way (tested on Fedora 20):

mkdir -p ${HOME}/rpmbuild/SOURCES/ >& /dev/null
cd trunk/src
./setup.py sdist --formats=bztar
cp dist/*bz2 ${HOME}/rpmbuild/SOURCES/
cp patches/* ${HOME}/rpmbuild/SOURCES/
rpmbuild -ba ../rpmbuild/xpra.spec --define 'Fedora 1'
ls -s ${HOME}/rpmbuild/RPMS/*/

Shows:

1904 xpra-0.14.0-0.fc20.x86_64.rpm  2332 xpra-debuginfo-0.14.0-0.fc20.x86_64.rpm

You may need to add arguments to the rpmbuild command line to enable/disable certain features, or simply to get it to build properly on other RPM based distros. For example, to build on CentOS 6 with a different build no, use:

rpmbuild -ba xpra.spec --define 'build_no 5'

(the flags and their purpose may vary with versions, please refer to the spec file for more definitive information)

http://xpra.org/icons/debian.png

DEBs

You can find the debian packaging files here: /debian
Debian also ships packages, though the "stable" versions are completely out of date, broken and unsupported, they should not be used.
Assuming that your build system is reasonably up to date, you should be able to build with:

cd trunk/src/
ln -sf ../debian .
debuild -us -uc -b