Version 20 (modified by 6 years ago) (diff) | ,
---|
Packaging
How to build covers installing the required libraries and building from source, it is a pre-requisite for building packages.
Distribution Packages
And why you should generally not use them.
Distribution | Variant | Version Shipped | Known Issues |
---|---|---|---|
Ubuntu | Precise aka 12.04 | 0.0.7.36 | Far too many to list - not a single bug fix applied in 2 years, derelict |
Ubuntu | Saucy aka 13.10 | 0.10.6 | 7 stable updates missing, version no longer supported, known crashes |
Debian | Squeeze Backports | 0.3.11 | Too many to list and only available in backports! (backports a broken and out of date version!) |
Debian | Wheezy | 0.3.11 | Far too many to list |
Debian | Jessie | 0.12.3 | Good: up to date |
Debian | Sid | 0.12.3 | Good: up to date |
Gentoo Stable | 0.8.8 | branch no longer maintained - many serious bugs including total server crashes, "stable" - sigh | |
Gentoo Testing | 0.12.3 | Good: up to date | |
Arch | 0.12.3 | Good: up to date |
Last updated 2014-04-23, when 0.12.3 was the latest version available.
Omitted:
- because (soon) out of date: Ubuntu Quantal, Ubuntu Raring.
- because not available with a default installation: Debian backports.
- Fedora: 0.14.21 now available!
- opensuse: no official packages
Non exhaustive list of bugs we would have backported to older branches if they were still maintained (cumulative, the further back you go, the more you need):
v0.11.x
: r5842, r5898, r5899, r5900v0.10.x
: r5207, r5209 + r5210, r5207v0.9.x
: r4023, r4039 (and plenty more)
etc...
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)
DEBs
You can find the debian packaging files here: /debian
Debian also ships packages, though the "stable" and "testing" 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
Gentoo Ebuilds
You can find a generally up-to-date ebuild here /scripts (the ones in gentoo are somewhat behind the curve and fail to apply bug fixes in due time..).
The ebuilds for the released versions can be found here:
http://www.xpra.org/dists/gentoo/