Kaffeine is a powerful video player for KDE, using the Xine engine. The latest KDE3 release is 0.8.8, which fixes some bugs and introduces S2 support.
These are a few steps to follow in order to compile Kaffeine on Debian Lenny (which ships by default with 0.8.7):
1. Make sure the sources repositories are enabled
Edit your /etc/apt/sources.list file as root (e.g. su; nano /etc/apt/sources.list) and make sure a line which starts with deb-src and looks like the one below is available:
deb-src ftp://ftp.ro.debian.org/debian/ lenny main contrib non-free
Next, update the sources lists:
2. Download the source code
Get the source from the official homepage, here, then uncompress it:
tar -xjf kaffeine-0.8.8.tar.bz2
3. Install the needed dependencies
As root, type:
apt-get build-dep kaffeine
apt-get install libcdio-paranoia-dev
The library libcdio-paranoia-dev is needed in order to get rid of the error ERROR: Could not find cdparanoia headers.
This will install build-essential and the development libraries needed to compile Kaffeine.
4. Compile and install Kaffeine
Just follow the usual steps:
The last one as root. If you want to install Kaffeine as local user, use:
No root required for the last command. This should do it.