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
  • cmake
  • 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 the toplevel KDE directories we need to work with
cd $MY_KDE_SRC
svn co $KDE_SVN/trunk/kdesupport/automoc kdesupport-automoc
svn co $KDE_SVN/trunk/extragear/graphics/kphotoalbum kphotoalbum
svn co -N $KDE_SVN/trunk/KDE/kdegraphics

# Get the relevant directories. If you want to update to the latest
# version later, just execute this command in directory $MY_KDE_SRC
svn up kdegraphics/cmake kdegraphics/libs kphotoalbum

# automoc4 is needed to build
cd $MY_KDE_SRC/kdesupport-automoc
cmake -DCMAKE_BUILD_TYPE=relwithdebuginfo -DCMAKE_INSTALL_PREFIX=$MY_KDE_INSTALL .
make install

# compile and install graphic 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/kphotoalbum
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