[digiKam-users] Couple questions about building digikam
Gilles Caulier
caulier.gilles at gmail.com
Sun Mar 14 03:48:54 GMT 2021
Le dim. 14 mars 2021 à 01:39, <2895qgvg6v at liamekaens.com> a écrit :
>
> I'm not sure whether to send these questions to digikam-users or
> digikam-devel, but since I've seen a few messages here suggesting that
> some people build digiKam from source, I'll try here first. If this
> belongs in digikam-devel, please let me know.
>
> I'm setting up a Linux (debian/testing) virtual machine in which to
> build digiKam so I can experiment with it to learn a little bit about
> how it works, and then try to contribute by fixing some bugs and/or
> making some enhancements (e.g. solve the issues I described in
> https://mail.kde.org/pipermail/digikam-users/2020-August/031169.html),
> and I have a couple questions.
>
> I tried "git clone https://invent.kde.org/graphics/digikam.git digikam"
> on a partition with 1.3GB of free space and ran out of space. How much
> disk space is required to checkout the digiKam source code?
digiKam is a, open source project of 20 years old and require "2.6 GB Storage"
to checkout whole history, as it's annotated on from og git web
interface of the project :
https://invent.kde.org/graphics/digikam
> Also, how much additional space is required to compile, and is there a
> difference in the space required when using bootstrap.local versus
> bootstrap.linux?
No difference. both bootstrap script require same local place to
compile. Only the target destination will be different.
Here i use the bootstrap.linux. All is compiled with debug symbols in
"build" directory:
[gilles at localhost 7.x]$ pwd
/home/gilles/Devel/7.x
[gilles at localhost 7.x]$ ll
total 17740
-rw-r--r-- 1 gilles gilles 23804 févr. 17 04:31 AUTHORS
-rwxr-xr-x 1 gilles gilles 3290 févr. 17 04:31 bootstrap.linux*
-rwxr-xr-x 1 gilles gilles 2414 févr. 17 04:31 bootstrap.local*
-rwxr-xr-x 1 gilles gilles 3206 févr. 17 04:31 bootstrap.macports*
-rwxr-xr-x 1 gilles gilles 4249 févr. 17 04:31 bootstrap.mxe*
-rwxr-xr-x 1 gilles gilles 3567 févr. 17 04:31 bootstrap.tarball*
drwxr-xr-x 6 gilles gilles 4096 mars 13 16:51 build/
-rw-r--r-- 1 gilles gilles 17682003 févr. 17 04:31 ChangeLog
-rw-r--r-- 1 gilles gilles 9063 févr. 17 04:31 CMakeLists.txt
-rw-r--r-- 1 gilles gilles 320 févr. 17 04:31 CODE_OF_CONDUCT.md
-rw-r--r-- 1 gilles gilles 18088 févr. 17 04:31 COPYING
-rw-r--r-- 1 gilles gilles 1327 févr. 17 04:31 COPYING-CMAKE-SCRIPTS
-rw-r--r-- 1 gilles gilles 26526 févr. 17 04:31 COPYING.LIB
drwxr-xr-x 10 gilles gilles 4096 févr. 17 04:31 core/
-rwxr-xr-x 1 gilles gilles 389 févr. 17 04:31 download-repos*
-rw-r--r-- 1 gilles gilles 112306 févr. 17 04:31 Doxyfile
-rwxr-xr-x 1 gilles gilles 11654 févr. 17 04:31 git2cl*
-rwxr-xr-x 1 gilles gilles 74119 févr. 17 04:31 gits*
-rwxr-xr-x 1 gilles gilles 555 févr. 17 04:31 gitup*
-rw-r--r-- 1 gilles gilles 79522 mars 10 22:42 Mainpage.dox
-rwxr-xr-x 1 gilles gilles 242 févr. 17 04:31 Messages.sh*
-rw-r--r-- 1 gilles gilles 28413 mars 13 15:14 NEWS
-rw-r--r-- 1 gilles gilles 4522 févr. 17 04:31 PACKAGING
drwxr-xr-x 8 gilles gilles 4096 févr. 17 04:31 project/
-rw-r--r-- 1 gilles gilles 281 févr. 17 04:31 README.BUNDLES
-rw-r--r-- 1 gilles gilles 611 févr. 17 04:31 README.DEVEL
-rw-r--r-- 1 gilles gilles 8052 mars 11 02:20 README.md
[gilles at localhost 7.x]$ du -s
6,9G .
Here my VM have a home directory of 20Gb.
>
> I attempted to install all the dependencies did manage to run
> bootstrap.linux, and it complained that I didn't have gettext, which
> surprised me because Gettext is listed in the section "Dependencies To
> Process Translations Files (optional)". Is
> https://www.digikam.org/api/index.html#externaldeps correct that Gettext
> is optional, and if so what do I need to do get bootstrap.linux to
> complete successfully without it installed (I looked at files shown in
> the backtrace, but didn't see a clear way to avoid the check for Gettext)?
Certainly gettext is a dependency for another component used by
digiKam. The list of dependencies is really long :
For Debian, a student starts to write a shell script to install
dependencies in one time. It's not complete :
https://invent.kde.org/graphics/digikam/-/blob/master/project/scripts/installdeps-ubuntu.sh
Mine for Mageia Linux is complete and here :
https://invent.kde.org/graphics/digikam/-/blob/master/project/scripts/installdeps-mageia.sh
Feel free to patch debian script and send me the diff for archiving to
git repository.
Best
Gilles Caulier
More information about the Digikam-users
mailing list