digiKam is a popular photo management application for both KDE3 and KDE4. Starting with version 0.10, digiKam offers a KDE4 port too. Here are instructions on how to compile from source and install the latest release in Debian Sid.
1. Install the needed dependencies
First of all, install the tools needed for the compilation. Type as root:
apt-get install build-essential cmake
Get the KDE4 development libraries too:
apt-get install kdelibs5-dev
Now, install the development libraries needed to compile digiKam (that's only one line):
apt-get install libgphoto2-2-dev libkipi6-dev libexiv2-dev libkdcraw7-dev liblcms1-dev libtiff4-dev libpng12-dev libjpeg62-dev libjasper-dev
These should do it.
2. Download the source code
Next, download the tarball from the official website and uncompress it:
tar -xjf digikam-0.10.0.tar.bz2
3. Compile and install digiKam
Change the current working directory to digikam-0.10.0, then compile and install it using these commands:
The last one as root. This worked for me (I hope I didn't miss any dependencies, if so, please let me know.) DigiKam 0.10 should be now installed.