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

Julien T julien.t43 at gmail.com
Sun Feb 16 20:55:32 GMT 2014


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-compilationdigikam-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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20140216/b5c79c54/attachment.html>


More information about the Digikam-users mailing list