[Digikam-users] Macos X compilation: head git w 10.9.1

Gilles Caulier caulier.gilles at gmail.com
Sun Feb 16 21:55:43 GMT 2014


Before to change cmake configuration arguments, please clean up cmake
cache file to be sure that all will be handle properly...

Gilles Caulier

2014-02-16 21:55 GMT+01:00 Julien T <julien.t43 at gmail.com>:
>
>
>
> 2014-02-15 2:27 GMT-05:00 Gilles Caulier <caulier.gilles at gmail.com>:
>
>> Look in README. This is a cmake option to disable Nepomuk...
>>
>>
>> https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/README#L124
>
>
>
> Not working for me ...
> tried
> -DENABLE_NEPOMUKSUPPORT=NO
> -DENABLE_NEPOMUKSUPPORT=no
> -DENABLE_NEPOMUKSUPPORT=off
> or removing the line in bootstrap.macports
>
> still failing on Nepomuk2/Services :(
> what is supposed to be "#include <Nepomuk2/Service>" ?
>
> I have
> $ locate nepomukservice.h
> /opt/local/include/nepomuk/nepomukservice.h
> /opt/local/include/nepomuk2/nepomukservice.h
>
> compiling with the following script
>>>>
> #!/bin/sh
> ##    build digikam from source on linux/debian/ubuntu to /usr/local
> ## http://www.digikam.org/node/621
>
> export
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/local/bin
> umask 022
>
> work_dir=/opt/tmp/${0##*/}
> work_dir=${work_dir%.sh}
> sys=`uname -s`
>
> if [ "X$sys" = "XLinux" ]; then
> ## remove "official" one
> sudo apt-get purge digikam digikam-data kipi-plugins kipi-plugins-common
> sudo apt-get autoremove
>
> ## deps
> sudo apt-get install git perl
> # libkexiv2-dev libkipi-dev libkdcraw-dev
> sudo apt-get -y build-dep digikam kipi-plugins
>
> elif [ "X$sys" = "XDarwin" ]; then
>     ##
> https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/entry/README.MACOSX
> #    sudo port install libkipi git-core cmake libraw
> #    sudo port -v install marble +debug
> #    sudo port -v install libkdcraw +debug
>     :
> fi
>
> [ ! -d $work_dir ] && mkdir $work_dir
> cd $work_dir
>
> if [ ! -d digikam-software-compilation ]; then
>     git clone git://anongit.kde.org/digikam-software-compilation
> digikam-software-compilation
> else
>     cd digikam-software-compilation && perl gits pull && cd ..
>     :
> fi
> cd digikam-software-compilation
> perl download-repos
>
> if [ "X$sys" = "XDarwin" ]; then
>     cp bootstrap.macports bootstrap.macports.orig
>     perl -pi -e 's at -DENABLE_NEPOMUKSUPPORT=ON at -DENABLE_NEPOMUKSUPPORT=no@;'
> bootstrap.macports ## NOK
>     ./bootstrap.macports
>     cd build && make
> else
>
> [ ! -d build ] && mkdir build
> cd build && \
>     cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/local
> $CFLAGS .. && make
>
> fi
>
> #make install
> #make uninstall
>
> <<<
>
> sadly, the initial cmake always says nepomuk libraries are there and don't
> say, disabling support.
>
> Any ideas?
>
> Thanks.
> Cheers,
>
> Julien
>
> _______________________________________________
> 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