[Lunar-commits] <moonbase-kde> digikam: Some adjustments with BUILD, CONFIGURE and DEPENDS. See comments
stumbles
stumbles at lunar-linux.org
Thu Mar 28 17:26:32 CET 2013
commit 220762fae46c73f2c6e4f2ba428a2fe510deba74
Author: stumbles <stumbles at lunar-linux.org>
Date: Thu, 28 Mar 2013 09:26:32 -0700
URL: https://github.com/lunar-linux/moonbase-kde/commit/220762fae46c73f2c6e4f2ba428a2fe510deba74
digikam: Some adjustments with BUILD, CONFIGURE and DEPENDS. See comments
in said files.
---
graphics/digikam/BUILD | +10/-1
graphics/digikam/CONFIGURE | +0/-2
graphics/digikam/DEPENDS | +10/-10
3 files changed, 20 insertions(+), 13 deletions(-)
--- a/graphics/digikam/BUILD
+++ b/graphics/digikam/BUILD
@@ -3,7 +3,16 @@
source /etc/profile.d/qt4.rc &&
source /etc/profile.d/kde4.rc &&
- OPTS+=" -Wno-dev -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS:BOOL=1" &&
+# The -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=OFF disables libkipi,
+# libkexiv2 and libkdcraw normally installed by digikam causing
+# conflicts with the ones from kde.
+ OPTS+=" -Wno-dev -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=OFF -DWITH_ImageMagick=OFF" &&
+
+# To avoid a conflict
+ if module_installed libksane ; then
+ OPTS+=" -DWITH_KSane=OFF"
+ else OPTS+=" -DWITH_KSane=ON"
+ fi &&
default_cmake_build
--- a/graphics/digikam/CONFIGURE
+++ b/graphics/digikam/CONFIGURE
@@ -1,5 +1,3 @@
mquery ENABLE_THUMBS "Build digiKam with thumbnails database support?" y "-DENABLE_THUMBS_DB=ON" "-DENABLE_THUMBS_DB=OFF"
mquery BUILD_SCRIPT "Build digiKam with experimental scripting support?" y "-DENABLE_SCRIPTIFACE=ON" "-DENABLE_SCRIPTIFACE=OFF"
-mquery NEPO_SUPPORT "Build digikam with nepomuk support?" y "-DENABLE_NEPOMUKSUPPORT=ON -DWITH_Nepomuk=ON" "-DENABLE_NEPOMUKSUPPORT=OFF -DWITH_Nepomuk=OFF"
-mquery BUILD_SHOWFOTO "Build Digikam's Showfoto application?" y "-DBUILD_digikam_showfoto=ON" "-DBUILD_digikam_showfoto=OFF"
mquery BUILD_GEOMAP "Build Digikam's geomap?" y "-DWITH_KGeoMap=ON" "-DWITH_KGeoMap=OFF"
--- a/graphics/digikam/DEPENDS
+++ b/graphics/digikam/DEPENDS
@@ -1,7 +1,12 @@
+# Opting here to use these 4 as hard depends else a conflict is created with
+# those provided by digikam.
+depends libkipi
+depends libkdcraw
+depends libkexiv2
depends libksane
+optional_depends lcms "" "" "for color management support"
optional_depends expat "-DWITH_EXPAT=ON" "-DWITH_EXPAT=OFF" "for XML parsing support"
-optional_depends libkexiv2 "-DWITH_Kexiv2=ON" "-DWITH_Kexiv2=OFF" "for EXIF/IPTC and XMP support"
optional_depends libgphoto2 "-DWITH_Gphoto2=ON" "-DWITH_Gphoto2=OFF" "for gphoto support"
optional_depends kdepimlibs "-DWITH_KdepimLibs=ON" "-DWITH_KdepimLibs=OFF" "to use various libraries from kdepimlibs"
optional_depends lensfun "-DWITH_LensFun=ON" "-DWITH_LensFun=OFF" "for camera lens correction support"
@@ -10,19 +15,12 @@ optional_depends doxygen "-DWITH_Doxygen=ON" "-DWITH_Doxygen=OFF"
optional_depends gdk-pixbuf "-DWITH_Gdk=ON" "-DWITH_Gdk=OFF" "for gdk-pixbuf support"
optional_depends libxml2 "-DWITH_LibXml2=ON" "-DWITH_LibXml2=OFF" "for xml support"
optional_depends libxslt "-DWITH_LibXslt=ON" "-DWITH_LibXslt=OFF" "for xslt support"
-
+optional_depends qt-gstreamer "-DWITH_QtGStreamer=ON" "-DWITH_QtGStreamer=OFF" "for gstreamer support"
optional_depends opencv "-DWITH_OpenCV=ON" "-DWITH_OpenCV=OFF" "for computer vision support"
optional_depends qca2 "-DWITH_QCA2=ON" "-DWITH_QCA2=OFF" "for qca support"
optional_depends qjson "-DWITH_QJSON=ON" "-DWITH_QJSON=OFF" "for qjson support"
optional_depends libusb "-DWITH_USB=ON" "-DWITH_USB=OFF" "for usb device support"
-optional_depends lcms2 "" "" "for color management support"
-
-# No suitable version available.
-#optional_depends kipi-plugins "-DBUILD_kipi-plugins=ON" "-DBUILD_kipi-plugins=OFF" "for kipi-plugins support"
-
-optional_depends shared-desktop-ontologies "-DWITH_SharedDesktopOntologies=ON" \
- "-DWITH_SharedDesktopOntologies=OFF" \
- "for ontology support"
+optional_depends libgpod "-DWITH_Ipod=ON" "-DWITH_Ipod=OFF" "for for Ipod support"
optional_depends glib-2 "-DWITH_GLIB2=ON -DWITH_GObject=ON" \
"-DWITH_GLIB2=OFF -DWITH_GObject=OFF" \
@@ -31,3 +29,5 @@ optional_depends glib-2 "-DWITH_GLIB2=ON -DWITH_GObject=ON" \
optional_depends libpgf "-DPGF_INCLUDE_DIRS=/usr/include/libpgf" \
"" "for Progressive Graphics File, n=use internal"
+# Disabling this for now. Not found a suitable fix.
+#optional_depends ImageMagick "-DWITH_ImageMagick=ON" "-DWITH_ImageMagick=OFF" "for ImageMagick support"
More information about the Lunar-commits
mailing list