KPhotoAlbum

KPhotoAlbum logo

Download - KPhotoAlbum from Subversion

You may download KPhotoAlbum from KDE's Subversion-repository.

To learn how to check KPhotoAlbum out from Subversion, you can visit KDE's explanation or follow the steps below.

Please remember when you do that, you get the bleeding edge, and it might not work, or it might work badly. Of course the advantage is that you get all the features that are yet not in the released version.

See the Changes file in the kphotoalbum subdirectory for information about latest changes.

The following is a list of kubuntu packages needed for the process, if you do not use kubuntu use as inspiration: subversion kde4-devel libexiv2-dev libjpeg-dev


# Lets set some variables that you can adapt to your needs.

# The source directory we check out and compile.
MY_KDE_SRC=/usr/src/kde

# Installation of our compiled stuff
MY_KDE_INSTALL=$MY_KDE_SRC/kde4-install

# KDE4 libraries. On Ubuntu 8.04, this is in /usr/lib/kde4
KDE4_DIR=/usr/lib/kde4

# Subversion kde server.
KDE_SVN=svn://anonsvn.kde.org/home/kde
#KDE_SVN=svn+ssh://<username>@svn.kde.org/home/kde

# Some environment variables pointing to our own universe
export PATH=$MY_KDE_INSTALL/bin:$KDE4_DIR/bin:$PATH
export KDEDIRS=$MY_KDE_INSTALL:$KDE4_DIR
export KDEHOME=~/.kde4.0
export LD_LIBRARY_PATH=$MY_KDE_INSTALL/bin:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$MY_KDE_INSTALL/lib/pkgconfig

# Preparation. Create source directory.
mkdir -p $MY_KDE_SRC

# Get general kde graphics libs
cd $MY_KDE_SRC
svn co -N $KDE_SVN/trunk/KDE/kdegraphics
cd kdegraphics
svn up cmake libs

# Now the extragear graphics, containing kphotoalbum
cd $MY_KDE_SRC
svn co -N $KDE_SVN/trunk/extragear/graphics extragear-graphics
cd extragear-graphics
svn up cmake kphotoalbum

# compile and install libraries
cd $MY_KDE_SRC/kdegraphics
cmake -DCMAKE_BUILD_TYPE=relwithdebuginfo -DCMAKE_INSTALL_PREFIX=$MY_KDE_INSTALL .
make install

# .. and now kphotoalbum
cd $MY_KDE_SRC/extragear-graphics
cmake -DCMAKE_BUILD_TYPE=relwithdebuginfo -DCMAKE_INSTALL_PREFIX=$MY_KDE_INSTALL .
make install


Now, you can run kphotoalbum with $MY_KDE_INSTALL/bin/kphotoalbum

(thanks to Jan's Blog entry)


Design & Code: Jaroslav Holaň | Content: Jesper Kjær Pedersen | XHTML 1.0 Strict | CSS