digikam/digikam-4.4.0.no-kdcraw.version-check.patch

51 lines
1.7 KiB
Diff

Index: digikam-4.5.0/core/CMakeLists.txt
===================================================================
--- digikam-4.5.0.orig/core/CMakeLists.txt
+++ digikam-4.5.0/core/CMakeLists.txt
@@ -125,20 +125,6 @@ DETECT_OPENCV(${OPENCV_MIN_VERSION} cor
set(KDCRAW_MIN_VERSION "2.2.0")
-if(KDCRAW_VERSION)
-
- message(STATUS "libkdcraw: Found version ${KDCRAW_VERSION} (required: ${KDCRAW_MIN_VERSION})")
- if(${KDCRAW_VERSION} VERSION_LESS ${KDCRAW_MIN_VERSION})
- set(KDCRAW_FOUND FALSE)
- endif()
-
-else()
-
- message(WARNING "libkdcraw: Version information not found, your version is probably too old.")
- set(KDCRAW_FOUND FALSE)
-
-endif()
-
# -- check the libkgeomap version -----------------------------------------------------------------
set(KGEOMAP_MIN_VERSION "3.0.0")
Index: digikam-4.5.0/extra/kipi-plugins/CMakeLists.txt
===================================================================
--- digikam-4.5.0.orig/extra/kipi-plugins/CMakeLists.txt
+++ digikam-4.5.0/extra/kipi-plugins/CMakeLists.txt
@@ -75,20 +75,6 @@ if(KIPI_FOUND)
set(KDCRAW_MIN_VERSION "2.2.0")
- if(KDCRAW_VERSION)
-
- message(STATUS "libkdcraw: Found version ${KDCRAW_VERSION} (required: ${KDCRAW_MIN_VERSION})")
- if (${KDCRAW_VERSION} VERSION_LESS ${KDCRAW_MIN_VERSION})
- set(KDCRAW_FOUND FALSE)
- endif()
-
- else()
-
- message(WARNING "libkdcraw: Version information not found, your version is probably too old.")
- set(KDCRAW_FOUND FALSE)
-
- endif()
-
# -- Optional dependencies detection required by some plugins -------------------------------------
MACRO_OPTIONAL_FIND_PACKAGE(EXPAT) # For DNGConverter: XMP SDK need Expat library to compile.