Building on Debian and Ubuntu
For general information, see wiki/Building first.
Starting with version 1.0, you no longer need to apply debian specific patches to build xpra.
Install the dependencies:
apt-get install libx11-dev libxtst-dev libxcomposite-dev libxdamage-dev \ libxkbfile-dev \ python-all-dev python-gobject-dev python-gtk2-dev cython
Make sure that your version of Cython is recent enough.
Also install some X11 utilities if not installed already:
apt-get install xauth x11-xkb-utils
And for video support (x264 and vpx), you should install:
apt-get install libx264-dev libvpx-dev
Note: starting with version 1.0, we use a private version of ffmpeg - see #1256 for details. If you wish to use your distribution's version of library instead, install:
apt-get install libavformat-dev libavcodec-dev
You may hit compilation errors if the version installed is too old. (and it often is)
You can build a quick and dirty DEB package using:
cd trunk/src/ ln -sf ../debian . debuild -us -uc -b