Ticket #45107: digikam.diff

File digikam.diff, 4.2 KB (added by RJVB (René Bertin), 10 years ago)

This updates the port to digikam 4.4.0 . Tested only after uninstalling the previous version (4.3.0) so I cannot comment on whether or not the header file mismatch still occurs

  • Portfile

    old new  
    66PortGroup           compiler_blacklist_versions 1.0
    77
    88name                digikam
    9 version             4.0.0
     9version             4.4.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
     23checksums           rmd160 540f243361aba3c95b675c05f84d8d60efab1948 \
     24                    sha256 5c68a2d200f5b502706128ea64839319aad333fb79548f49ecc92594e280d4e9
    2425
    2526use_bzip2           yes
    2627
     
    6667depends_run-append  port:kde4-baseapps \
    6768                    port:kde4-runtime \
    6869                    port:oxygen-icons \
    69                     port:qt4-mac-sqlite3-plugin 
    70 # Following dependencies are needed for Panorama and ExpoBlending tools, but
     70                    port:qt4-mac-sqlite3-plugin
     71# Following dependency is needed for the Panorama (and ExpoBlending?) tool, but
    7172# cannot be installed on Intel Macs currently as far as I know. Also they need
    7273# wxWidgets which currently cannot be installed with XCode of OS X 10.7 or
    7374# newer.
     75# RJVB 20140918: hugin needs wxWidgets 3 nowadays, which introduces a dependency to another GUI framework. Users who
     76# want the Panorama tool can install hugin-app manually and then build digikam from source
     77# (or we could add yet another variant)
    7478#                   port:hugin-app \
    75 #                   port:enblend
    7679
    7780# kde4-baseapps is not universal
    7881universal_variant   no
     
    8487
    8588# Configurations rules to compile fine #####################################
    8689
    87 configure.args-append -DCMAKE_C_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' \
    88                       -DCMAKE_CXX_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' \
     90# 20140918: do we really need to specify the CMAKE_MODULE_PATH nowadays?
     91# -DCMAKE_MODULE_PATH=\"${prefix}/share/cmake-2.8/Modules\;${prefix}/share/cmake/modules\" \
     92# We do need to add ENABLE_KDEPIMLIBSSUPPORT though, otherwise the dependency on kdepimlibs4 is
     93# there for nothing!
     94# There also appears to be no (more) need to force-defined __KDE_HAVE_GCC_VISIBILITY
     95# -DCMAKE_CXX_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' \
     96configure.args-append -DENABLE_KDEPIMLIBSSUPPORT:BOOL=ON \
    8997                      -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
    90                       -DCMAKE_MODULE_PATH=\"${prefix}/share/cmake-2.8/Modules\;${prefix}/share/cmake/modules\" \
    9198                      -DCMAKE_PREFIX_PATH=\"${prefix}/lib/cmake\" \
    9299                      -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
    93100                      -DOpenCV_DIR=${prefix}/lib/cmake \
     
    101108if {[variant_isset debug]} {
    102109    configure.args-append -DCMAKE_BUILD_TYPE=debugfull
    103110} else {
    104     configure.args-append -DCMAKE_BUILD_TYPE=releasewithdebug
     111    # RJVB: use RelWithDebInfo instead of releasewithdebug, and prevent stripping
     112    #configure.args-append -DCMAKE_BUILD_TYPE=releasewithdebug
     113    configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo
    105114}
    106115
    107116# Option to compile handbook
     
    117126variant translations description {Build digiKam GUI translations} {}
    118127
    119128if {[variant_isset translations]} {
    120     configure.args-append -DDIGIKAMSC_COMPILE_PO=on
     129    configure.args-append -DDIGIKAMSC_COMPILE_PO=ON
    121130} else {
    122     configure.args-append -DDIGIKAMSC_COMPILE_PO=off
     131    configure.args-append -DDIGIKAMSC_CHECKOUT_PO:BOOL=OFF -DDIGIKAMSC_COMPILE_PO=off
    123132}
    124133
    125134# Option to compile target using internal implementation of KdeGraphics shared libs maintained by digiKam team