Ticket #38442: digikam.diff

File digikam.diff, 3.3 KB (added by eborisch (Eric A. Borisch), 12 years ago)
  • Files/extra_kipi-plugins_CMakeLists.txt.patch

     
     1--- extra/kipi-plugins/CMakeLists.txt.orig      2013-03-18 12:02:07.000000000 -0500
     2+++ extra/kipi-plugins/CMakeLists.txt   2013-03-18 12:03:00.000000000 -0500
     3@@ -335,7 +335,7 @@
     4 PRINT_PLUGIN_COMPILE_STATUS("Calendar"           KDEPIMLIBS_FOUND)
     5 PRINT_PLUGIN_COMPILE_STATUS("GPSSync"            KGEOMAP_FOUND)
     6 PRINT_PLUGIN_COMPILE_STATUS("Mediawiki"          MEDIAWIKI_FOUND)
     7-PRINT_PLUGIN_COMPILE_STATUS("Panorama"           FLEX_FOUND AND BISON_FOUND)
     8+PRINT_PLUGIN_COMPILE_STATUS("Panorama"           FLEX_FOUND AND BISON_FOUND AND FLEX_TARGET AND BISON_TARGET)
     9 PRINT_PLUGIN_COMPILE_STATUS("VideoSlideshow"     ImageMagick_FOUND AND QTGSTREAMER_FOUND)
     10 PRINT_PLUGIN_COMPILE_STATUS("Wallpaper"          BUILD_WALLPAPER)
     11 
     12@@ -498,9 +498,9 @@
     13         ADD_SUBDIRECTORY(mediawiki)
     14     ENDIF(MEDIAWIKI_FOUND)
     15 
     16-    IF(FLEX_FOUND AND BISON_FOUND)
     17+    IF(FLEX_FOUND AND BISON_FOUND AND FLEX_TARGET AND BISON_TARGET)
     18         ADD_SUBDIRECTORY(panorama)
     19-    ENDIF(FLEX_FOUND AND BISON_FOUND)
     20+    ENDIF(FLEX_FOUND AND BISON_FOUND AND FLEX_TARGET AND BISON_TARGET)
     21 
     22     IF(ImageMagick_FOUND AND QTGSTREAMER_FOUND)
     23         ADD_SUBDIRECTORY(videoslideshow)
  • Portfile

     
    33
    44PortSystem          1.0
    55PortGroup           kde4 1.1
     6PortGroup           compiler_blacklist_versions 1.0
    67
    78name                digikam
    8 version             2.9.0
    9 revision            3
     9version             3.1.0
     10revision            0
    1011categories          kde kde4
    1112license             GPL-2+
    1213maintainers         hyper-world.de:jan openmaintainer
     
    1617long_description    Digital photo management program to import, organize, enhance, search and export your digital images.
    1718
    1819homepage            http://www.digikam.org/
    19 master_sites        sourceforge:project/digikam/digikam/${version}
     20master_sites        http://download.kde.org/stable/digikam
    2021
    21 checksums           rmd160  59bd82cd68f2e061f7eddff017056a331e5d0066 \
    22                     sha256  73dd0f3820fc44bba7b72c98cab73d0391e98687674da8be11ff07590c703ba0
     22checksums \
     23    rmd160  511550a7ee37aac958a0d2e5afaa0a07aa1eab0e \
     24    sha256  f70fc84f3a680a855642fcc4664710116406bbe4068b0ad4d2cfb4127684c2aa
    2325
    2426use_bzip2           yes
    2527
     28patchfiles          extra_kipi-plugins_CMakeLists.txt.patch
     29
    2630# Dependencies of Digikam and kipi-plugins.
    2731depends_lib-append  port:kdelibs4 \
    2832                    port:libkdcraw \
     
    6569depends_run-append  port:oxygen-icons port:qt4-mac-sqlite3-plugin
    6670
    6771# gcc-4.0 is also blacklisted for opencv
    68 # clang stumbles over CV_XADD macro, see #37184
    69 compiler.blacklist  gcc-4.0 clang
     72compiler.blacklist  gcc-4.0
     73compiler.blacklist-append   {clang < 318}
    7074
    71 configure.args-append -DCMAKE_C_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' -DCMAKE_CXX_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' -DOpenCV_DIR=${prefix}/lib/cmake ../${distname}
     75configure.args-append \
     76    -DOpenCV_DIR=${prefix}/lib/cmake \
     77    -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=off \
     78    -DCMAKE_BUILD_TYPE=release \
     79    ../${distname}
    7280