[Digikam-users] FINAL? UPDATE: !!!!!!!!!!!!!!!!! B U I L D I N G D I G I K A M F O R D U M M I E S !!!!!!!!!!!!!!!! on Ubuntu
Martin (KDE)
kde at fahrendorf.de
Wed Aug 24 17:06:28 BST 2011
Hi
What I did on fedora 15:
- download
ftp://rpmfind.net/linux/fedora/development/rawhide/source/SRPMS/digikam-2.0.0-4.fc17.src.rpm
tp /tmp
- run rpm -ivh /tmp/digikam*.src.rpm
- run rpmbuild -bb ~/rpmbuild/SPECS/digikam.spec
- if it does not complain about missing packages stop building it
- if it complains run yum install with the missing packages
- (~/rpmbuild can be removed afterwards)
- create a directory where to put all stuff into (here /opt/src/)
- cd into this directory
- run (one line): 'git clone git://anongit.kde.org/digikam-software-
compilation digikam-sc'
- cd digikam-sc
- run 'perl ./gits populate'
- create subdirectory build
- cd to build sub directory
- run 'cmake -DCMAKE_BUILD_TYPE=debugfull -
DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..'
- run 'make -j4' (depending on you cpu core count)
- run 'make install' as root
I don't like compiling in home directory as I regularly take an update
from my users homes so I use /opt/src for compilations.
Next step to try is to create a rpm with beta digikam.
Regards
Martin
Am Mittwoch, 24. August 2011 schrieb sleepless:
> ##########################################################
> START DOWNLOADING TARBALL
> ##########################################################
>
> Here is your tarball (compressed archive of source code
> from the latest official released version)
> http://sourceforge.net/projects/digikam/files/digikam
>
>
> If it´s downloaded, extract it your user dir (somthing like
> home/my_user_dir)
>
> Open a terminal window and go to the place where the software
> has been extracted. (let´s assume it has been extracted to
> home/my_user_dir/digikam-software-compilation)
> If you type pwd at the prompt, you will see where you are,
> probably in home/my_user_dir
> type cd digikam-software-compilation
>
> NOTA BENE: Go from here to the start building section
>
> ##########################################################
> START DOWNLOADING GIT
> ##########################################################
> From git you get the latest source code currently worked on
> by the programmers. Although you have latest updates and
> bugfixes, you may also have a newly introduced bug, in fact
> it is for testing purposes, not officially released yet.
>
> If git is not already installed, install git:
> install from synaptec or:
> open console
> type:
> sudo apt-get install git
>
> To get the source code on your computer:
> cd ~ : to go to your home dir
> ¨git clone git://anongit.kde.org/digikam-software-compilation
> digikam-software-compilation¨
>
> Now you havw a directory digikam-software-compilation
> go there
> cd digikam-software-compilation
>
> if you type:
> ls
> you will see in this dir a document called ¨download-repos¨,
> this is a runnable PERL script.
>
> If perl not already is installed, install it from synaptec
> or command line.
>
> Now type:
> sudo perl download-repos
> Now the git is cloned to your local dir:
> /home/¨your_user_dir¨/digikam-software-compilation
>
> wait while downloading
>
>
>
> ##########################################################
> START BUILDING
> ##########################################################
>
>
> now make a directory to put your build files in
> type mkdir build
> go there by typing:
> cd build
>
> if you do pwd (present working directory)
> you see somthing like
> /home/my_user_dir/digikam-software-compilation/build
>
> Make sure the(pre)compiler is installed named ¨gcc¨ and
> ¨cpp¨ the same for ¨make¨ and ¨cmake¨. You can install it
> from package manager like synaptec or from command line.
>
> If cmake is not installed, now type:
> sudo apt-get install cmake
> Now let cmake do it´s work
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=
> `kde4-config --prefix` ..
> (mind the ¨space dot dot¨ at the end) and make sure NOT to
> use ¨sudo¨ in front of ¨cmake¨.
>
>
> Most likely it will complain about missing stuff. like
> libkexiv2-dev, libkipi-dev, libkdcraw-dev, etc.
> Try to install it from synaptic or in any other way and
> retry cmake untill succesful.
>
>
> If all went successful
> now run:
> make
>
> if done run:
> sudo make install
>
> ##################################################################
> ############## DONE!
>
> ##################################################################
> ############## _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
More information about the Digikam-users
mailing list