Ticket #46317: digikam.diff

File digikam.diff, 5.1 KB (added by RJVB (René Bertin), 9 years ago)
  • /opt/local/site-ports/kde/digikam/

    old new  
    66PortGroup           compiler_blacklist_versions 1.0
    77
    88name                digikam
    9 version             4.0.0
     9version             4.6.0
     10revision            1
    1011categories          kde kde4
    1112license             GPL-2+
    1213maintainers         hyper-world.de:jan openmaintainer \
    1314                    gmail.com:caulier.gilles
    1415platforms           darwin
    1516
    16 description         Photo Management Program
    17 long_description    Digital photo management program to import, organize, enhance, search and export your digital images.
     17description         Photo Management Programme
     18long_description    Digital photo management programme to import, organise, enhance, search and export your digital images.
    1819
    1920homepage            http://www.digikam.org/
    2021master_sites        kde:stable/digikam/
    2122
    22 checksums           rmd160 1ffc3e164772d031ff4b017598265bcd1934b919 \
    23                     sha256 984f7a47a3fdd5b5b30991b436848ed420fbcfffa01ffaa3abdf7202848b17ae
     23#checksums           rmd160 540f243361aba3c95b675c05f84d8d60efab1948 \
     24#                    sha256 5c68a2d200f5b502706128ea64839319aad333fb79548f49ecc92594e280d4e9
     25checksums           rmd160 f1c6a0108b7bdd3b3301bf96de48b66a89a7dc1d \
     26                    sha256 b047a3172203e036c35f73dbb93cc7e71408c05bedaa8f7f1e0cc539a355a345
    2427
    2528use_bzip2           yes
    2629
     
    3538                    port:jpeg \
    3639                    port:libpng \
    3740                    port:opencv \
    38                     port:marble
     41                    port:marble
     42depends_lib-append  port:libpgf
    3943
    4044# Dependencies of kipi-plugins
    4145
     
    6670depends_run-append  port:kde4-baseapps \
    6771                    port:kde4-runtime \
    6872                    port:oxygen-icons \
    69                     port:qt4-mac-sqlite3-plugin 
    70 # Following dependencies are needed for Panorama and ExpoBlending tools, but
     73                    port:qt4-mac-sqlite3-plugin
     74# Following dependency is needed for the Panorama (and ExpoBlending?) tool, but
    7175# cannot be installed on Intel Macs currently as far as I know. Also they need
    7276# wxWidgets which currently cannot be installed with XCode of OS X 10.7 or
    7377# newer.
     78# RJVB 20140918: hugin needs wxWidgets 3 nowadays, which introduces a dependency to another GUI framework. Users who
     79# want the Panorama tool can install hugin-app manually and then build digikam from source
     80# (or we could add yet another variant)
    7481#                   port:hugin-app \
    75 #                   port:enblend
    7682
    7783# kde4-baseapps is not universal
    7884universal_variant   no
     
    8490
    8591# Configurations rules to compile fine #####################################
    8692
    87 configure.args-append -DCMAKE_C_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' \
    88                       -DCMAKE_CXX_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' \
    89                       -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
    90                       -DCMAKE_MODULE_PATH=\"${prefix}/share/cmake-2.8/Modules\;${prefix}/share/cmake/modules\" \
    91                       -DCMAKE_PREFIX_PATH=\"${prefix}/lib/cmake\" \
    92                       -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
     93# 20140918: do we really need to specify the CMAKE_MODULE_PATH nowadays?
     94# -DCMAKE_MODULE_PATH=\"${prefix}/share/cmake-2.8/Modules\;${prefix}/share/cmake/modules\" \
     95# We do need to add ENABLE_KDEPIMLIBSSUPPORT though, otherwise the dependency on kdepimlibs4 is
     96# there for nothing!
     97# There also appears to be no (more) need to force-defined __KDE_HAVE_GCC_VISIBILITY
     98# -DCMAKE_CXX_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY'
     99#-DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\"
     100#-DCMAKE_PREFIX_PATH=\"${prefix}/lib/cmake\"
     101#-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
     102
     103configure.args-append -DENABLE_KDEPIMLIBSSUPPORT:BOOL=ON \
    93104                      -DOpenCV_DIR=${prefix}/lib/cmake \
     105                      -DDIGIKAMSC_COMPILE_LIBKGEOMAP:BOOL=ON -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE:BOOL=ON \
     106                      -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI:BOOL=ON -DDIGIKAMSC_COMPILE_LIBKFACE:BOOL=ON \
    94107                      -Wno-dev \
    95108                      ../${distname}
    96109
     
    101114if {[variant_isset debug]} {
    102115    configure.args-append -DCMAKE_BUILD_TYPE=debugfull
    103116} else {
    104     configure.args-append -DCMAKE_BUILD_TYPE=releasewithdebug
     117    # RJVB: use RelWithDebInfo instead of releasewithdebug, and prevent stripping
     118    #configure.args-append -DCMAKE_BUILD_TYPE=releasewithdebug
     119    configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo
    105120}
    106121
    107122# Option to compile handbook
     
    117132variant translations description {Build digiKam GUI translations} {}
    118133
    119134if {[variant_isset translations]} {
    120     configure.args-append -DDIGIKAMSC_COMPILE_PO=on
     135    configure.args-append -DDIGIKAMSC_COMPILE_PO=ON
    121136} else {
    122     configure.args-append -DDIGIKAMSC_COMPILE_PO=off
     137    configure.args-append -DDIGIKAMSC_CHECKOUT_PO:BOOL=OFF -DDIGIKAMSC_COMPILE_PO=off
    123138}
    124139
    125140# Option to compile target using internal implementation of KdeGraphics shared libs maintained by digiKam team