Version 1 (modified by 8 years ago) (diff) | ,
---|
Packaging
How to build covers installing the required libraries and building from source, it is a pre-requisite for building packages.
RPMs
The quick and easy way (tested on Fedora 18):
cd trunk/src ./setup.py sdist mkdir -p ${HOME}/rpmbuild/SOURCES/ >& /dev/null cp dist/parti-all-*.tar.gz ${HOME}/rpmbuild/SOURCES/ cp patches/* ${HOME}/rpmbuild/SOURCES/ rpmbuild -ba ../scripts/xpra.spec ls -s ${HOME}/rpmbuild/RPMS/*/
Shows:
1744 xpra-0.8.0-0.fc18.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
64-bit with static video libraries and no opengl support, use:
rpmbuild -ba xpra.spec \ --define 'CentOS 1' --define 'python_sitelib /usr/lib/python2.6/site-packages' --define 'build_no 5' --define 'dist .el6' --define 'el6 1' --define 'static_video_libs 1' --define 'opengl 0'
DEBs
TODO!