Ticket #45107: digikam.diff
File digikam.diff, 4.2 KB (added by RJVB (René Bertin), 10 years ago) |
---|
-
Portfile
old new 6 6 PortGroup compiler_blacklist_versions 1.0 7 7 8 8 name digikam 9 version 4.0.0 9 version 4.4.0 10 revision 1 10 11 categories kde kde4 11 12 license GPL-2+ 12 13 maintainers hyper-world.de:jan openmaintainer \ 13 14 gmail.com:caulier.gilles 14 15 platforms darwin 15 16 16 description Photo Management Program 17 long_description Digital photo management program to import, organize, enhance, search and export your digital images.17 description Photo Management Programme 18 long_description Digital photo management programme to import, organise, enhance, search and export your digital images. 18 19 19 20 homepage http://www.digikam.org/ 20 21 master_sites kde:stable/digikam/ 21 22 22 checksums rmd160 1ffc3e164772d031ff4b017598265bcd1934b919\23 sha256 984f7a47a3fdd5b5b30991b436848ed420fbcfffa01ffaa3abdf7202848b17ae23 checksums rmd160 540f243361aba3c95b675c05f84d8d60efab1948 \ 24 sha256 5c68a2d200f5b502706128ea64839319aad333fb79548f49ecc92594e280d4e9 24 25 25 26 use_bzip2 yes 26 27 … … 66 67 depends_run-append port:kde4-baseapps \ 67 68 port:kde4-runtime \ 68 69 port:oxygen-icons \ 69 port:qt4-mac-sqlite3-plugin 70 # Following dependenc ies are needed for Panorama and ExpoBlending tools, but70 port:qt4-mac-sqlite3-plugin 71 # Following dependency is needed for the Panorama (and ExpoBlending?) tool, but 71 72 # cannot be installed on Intel Macs currently as far as I know. Also they need 72 73 # wxWidgets which currently cannot be installed with XCode of OS X 10.7 or 73 74 # 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) 74 78 # port:hugin-app \ 75 # port:enblend76 79 77 80 # kde4-baseapps is not universal 78 81 universal_variant no … … 84 87 85 88 # Configurations rules to compile fine ##################################### 86 89 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' \ 96 configure.args-append -DENABLE_KDEPIMLIBSSUPPORT:BOOL=ON \ 89 97 -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \ 90 -DCMAKE_MODULE_PATH=\"${prefix}/share/cmake-2.8/Modules\;${prefix}/share/cmake/modules\" \91 98 -DCMAKE_PREFIX_PATH=\"${prefix}/lib/cmake\" \ 92 99 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ 93 100 -DOpenCV_DIR=${prefix}/lib/cmake \ … … 101 108 if {[variant_isset debug]} { 102 109 configure.args-append -DCMAKE_BUILD_TYPE=debugfull 103 110 } 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 105 114 } 106 115 107 116 # Option to compile handbook … … 117 126 variant translations description {Build digiKam GUI translations} {} 118 127 119 128 if {[variant_isset translations]} { 120 configure.args-append -DDIGIKAMSC_COMPILE_PO= on129 configure.args-append -DDIGIKAMSC_COMPILE_PO=ON 121 130 } else { 122 configure.args-append -DDIGIKAMSC_C OMPILE_PO=off131 configure.args-append -DDIGIKAMSC_CHECKOUT_PO:BOOL=OFF -DDIGIKAMSC_COMPILE_PO=off 123 132 } 124 133 125 134 # Option to compile target using internal implementation of KdeGraphics shared libs maintained by digiKam team