<div dir="ltr"><div><div><br></div>My build process is pretty straightforward and the following:<br><br>>>><br>#!/bin/sh<br>## build digikam from source on linux/debian/ubuntu to /usr/local<br>## <a href="http://www.digikam.org/node/621">http://www.digikam.org/node/621</a><br>
<br>export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin<br>umask 022<br><br>work_dir=/opt/tmp/${0##*/}<br>work_dir=${work_dir%.sh}<br><br>## remove "official" one<br>sudo apt-get purge digikam digikam-data kipi-plugins kipi-plugins-common<br>
sudo apt-get autoremove<br><br>## deps<br>sudo apt-get install git perl<br># libkexiv2-dev libkipi-dev libkdcraw-dev<br>sudo apt-get -y build-dep digikam kipi-plugins<br><br>[ ! -d $work_dir ] && mkdir $work_dir<br>
cd $work_dir<br><br>if [ ! -d digikam-software-compilation ]; then<br> git clone git://<a href="http://anongit.kde.org/digikam-software-compilation">anongit.kde.org/digikam-software-compilation</a> digikam-software-compilation<br>
else<br> cd digikam-software-compilation && perl gits pull && cd ..<br>fi<br>cd digikam-software-compilation<br>perl download-repos<br><br>[ ! -d build ] && mkdir build <br>cd build && \<br>
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/local .. && make<br># cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. && make<br><br>#make install<br>
#make uninstall<br><br><<<<br><br></div>Julien<br></div>