[133618] trunk/dports/kde/digikam

devans at macports.org devans at macports.org
Fri Mar 6 15:30:21 PST 2015


Revision: 133618
          https://trac.macports.org/changeset/133618
Author:   devans at macports.org
Date:     2015-03-06 15:30:20 -0800 (Fri, 06 Mar 2015)
Log Message:
-----------
digikam: patch to fix build with lensfun 0.3.0, remove trailing white space.

Modified Paths:
--------------
    trunk/dports/kde/digikam/Portfile

Added Paths:
-----------
    trunk/dports/kde/digikam/files/patch-lensfun-0.3.0.diff

Modified: trunk/dports/kde/digikam/Portfile
===================================================================
--- trunk/dports/kde/digikam/Portfile	2015-03-06 23:23:47 UTC (rev 133617)
+++ trunk/dports/kde/digikam/Portfile	2015-03-06 23:30:20 UTC (rev 133618)
@@ -7,6 +7,7 @@
 
 name                digikam
 version             4.0.0
+revision            1
 categories          kde kde4
 license             GPL-2+
 maintainers         hyper-world.de:jan openmaintainer \
@@ -35,7 +36,7 @@
                     port:jpeg \
                     port:libpng \
                     port:opencv \
-                    port:marble 
+                    port:marble
 
 # Dependencies of kipi-plugins
 
@@ -66,7 +67,7 @@
 depends_run-append  port:kde4-baseapps \
                     port:kde4-runtime \
                     port:oxygen-icons \
-                    port:qt4-mac-sqlite3-plugin 
+                    port:qt4-mac-sqlite3-plugin
 # Following dependencies are needed for Panorama and ExpoBlending tools, but
 # cannot be installed on Intel Macs currently as far as I know. Also they need
 # wxWidgets which currently cannot be installed with XCode of OS X 10.7 or
@@ -82,6 +83,10 @@
 compiler.blacklist  gcc-4.0
 compiler.blacklist-append   {clang < 318}
 
+# build fix due to lensfun 0.3.0 API changes (CCI support removed)
+# see http://sourceforge.net/p/lensfun/code/ci/f0c293162fb1480142073743c96ac7e6f4ba3628/
+patchfiles-append   patch-lensfun-0.3.0.diff
+
 # Configurations rules to compile fine #####################################
 
 configure.args-append -DCMAKE_C_FLAGS='-D__KDE_HAVE_GCC_VISIBILITY' \

Added: trunk/dports/kde/digikam/files/patch-lensfun-0.3.0.diff
===================================================================
--- trunk/dports/kde/digikam/files/patch-lensfun-0.3.0.diff	                        (rev 0)
+++ trunk/dports/kde/digikam/files/patch-lensfun-0.3.0.diff	2015-03-06 23:30:20 UTC (rev 133618)
@@ -0,0 +1,14 @@
+--- core/libs/dimg/filters/lens/lensfunfilter.cpp.orig	2015-03-06 12:52:39.000000000 -0800
++++ core/libs/dimg/filters/lens/lensfunfilter.cpp	2015-03-06 13:19:33.000000000 -0800
+@@ -123,11 +123,6 @@
+         modifyFlags |= LF_MODIFY_VIGNETTING;
+     }
+ 
+-    if (d->iface->settings().filterCCI)
+-    {
+-        modifyFlags |= LF_MODIFY_CCI;
+-    }
+-
+     // Init lensfun lib, we are working on the full image.
+ 
+     lfPixelFormat colorDepth = m_orgImage.bytesDepth() == 4 ? LF_PF_U8 : LF_PF_U16;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150306/e0153dac/attachment.html>


More information about the macports-changes mailing list