Install KPhotoAlbum on Ubuntu 9.10 Karmic Koala
Prerequisites
Install KDE DesktopInstructions
sudo mkdir -p /usr/src/kde
cd /usr/src/kde
sudo wget http://www.kde-apps.org/CONTENT/content-files/41180-mplayerthumbs-1.2.tar.gz
sudo tar -xvf 41180-mplayerthumbs-1.2.tar.gz
cd mplayerthumbs-1.2
sudo cmake .
sudo make
sudo make install
sudo apt-get build-dep kipi-plugins
cd /usr/src/kde
sudo wget http://downloads.sourceforge.net/project/kipi/kipi-plugins/0.8.0/kipi-plugins-0.8.0.tar.bz2?use_mirror=cdnetworks-us-1
sudo tar -xvf kipi-plugins-0.8.0.tar.bz2
cd kipi-plugins-0.8.0
sudo cmake .
sudo make
sudo make install
sudo apt-get build-dep kphotoalbum
sudo apt-get install subversion cmake libexiv2-dev libjpeg-dev mjpegtools alsa mpg123 vorbis-tools g++ build-essential libstreamanalyzer-dev libxt-dev libxext-dev zlib1g-dev libqt4-dev kdelibs5-dev libexiv2-dev libkdcraw7-dev libkipi6-dev cmake
mkdir -p ~/src/kphotoalbum
cd ~/src/kphotoalbum
vi install.sh
Inside of install.sh, insert the following text:
echo Lets set some variables that you can adapt to your needs.chmod u+x install.sh
echo The source directory we check out and compile.
MY_KDE_SRC=/usr/src/kde
echo Installation of our compiled stuff
MY_KDE_INSTALL=$MY_KDE_SRC/kde4-install
KDE4_DIR=/usr/lib/kde4
echo KDE4 libraries. On Ubuntu 8.04, this is in
echo Subversion kde server.
KDE_SVN=svn://anonsvn.kde.org/home/kde
echoKDE_SVN=svn+ssh://<username>@svn.kde.org/home/kde
echo 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
echo Preparation. Create source directory.
sudo mkdir -p $MY_KDE_SRC
echo get the toplevel KDE directories we need to work with
cd $MY_KDE_SRC
sudo svn co $KDE_SVN/trunk/kdesupport/automoc kdesupport-automoc
sudo svn co $KDE_SVN/trunk/extragear/graphics/kphotoalbum kphotoalbum
sudo svn co -N $KDE_SVN/trunk/KDE/kdegraphics
echo Get the relevant directories. If you want to update to the latest
echo version later, just execute this command in directory $MY_KDE_SRC
sudo svn up kdegraphics/cmake kdegraphics/libs kphotoalbum
echo automoc4 is needed to build
cd $MY_KDE_SRC/kdesupport-automoc
sudo cmake -DCMAKE_BUILD_TYPE=relwithdebuginfo -DCMAKE_INSTALL_PREFIX=$MY_KDE_INSTALL .
sudo make install
echo compile and install graphic libraries
cd $MY_KDE_SRC/kdegraphics
sudo cmake -DCMAKE_BUILD_TYPE=relwithdebuginfo -DCMAKE_INSTALL_PREFIX=$MY_KDE_INSTALL .
sudo make install
echo .. and now kphotoalbum
cd $MY_KDE_SRC/kphotoalbum
sudo cmake -DCMAKE_BUILD_TYPE=relwithdebuginfo -DCMAKE_INSTALL_PREFIX=$MY_KDE_INSTALL .
sudo make install
./install.sh
0 Comments:
Post a Comment
<< Home