Patch to make kipi-plugins fail gracefully with KDE 4.1.x

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Patch to make kipi-plugins fail gracefully with KDE 4.1.x

Mark Purcell
Gilles,

kipi-plugins currently does not fail gracefully when attempting to build with
KDE 4.1.x.

The attached patch ensures that a kipi-plugins build fails gracefully if
kdcraw 0.4.0 is not present.

kipi-plugins does not build with KDCRAW_FOR_DNGCONVERTER=FALSE & EXPAT=TRUEe.

Mark

--- kipi-plugins-0.2.0~beta3.orig/CMakeLists.txt
+++ kipi-plugins-0.2.0~beta3/CMakeLists.txt
@@ -63,6 +63,7 @@
         SET(KDCRAW_FOR_DNGCONVERTER TRUE)
     ELSE(Kdcraw_FOUND)
         SET(KDCRAW_FOR_DNGCONVERTER FALSE)
+        SET(KDCRAW_FOUND FALSE)
     ENDIF(Kdcraw_FOUND)
 ELSE(NOT WIN32)
     SET(KDCRAW_FOR_DNGCONVERTER TRUE)

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel