[133667] trunk/dports/graphics
devans at macports.org
devans at macports.org
Sun Mar 8 10:33:36 PDT 2015
Revision: 133667
https://trac.macports.org/changeset/133667
Author: devans at macports.org
Date: 2015-03-08 10:33:36 -0700 (Sun, 08 Mar 2015)
Log Message:
-----------
GIMP-Lensfun: new port, a GIMP plugin to correct lens distortion based on lensfun.
Added Paths:
-----------
trunk/dports/graphics/GIMP-Lensfun/
trunk/dports/graphics/GIMP-Lensfun/Portfile
trunk/dports/graphics/GIMP-Lensfun/files/
trunk/dports/graphics/GIMP-Lensfun/files/patch-Makefile.diff
trunk/dports/graphics/GIMP-Lensfun/files/patch-src-gimplensfun.cpp.diff
Added: trunk/dports/graphics/GIMP-Lensfun/Portfile
===================================================================
--- trunk/dports/graphics/GIMP-Lensfun/Portfile (rev 0)
+++ trunk/dports/graphics/GIMP-Lensfun/Portfile 2015-03-08 17:33:36 UTC (rev 133667)
@@ -0,0 +1,36 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup github 1.0
+
+github.setup seebk GIMP-Lensfun 0.2.3
+license GPL-3
+categories graphics
+maintainers devans openmaintainer
+platforms darwin
+homepage http://seebk.github.io/${name}
+
+description GimpLensfun is a GIMP plugin to correct lens distortion
+
+long_description ${description} using the lensfun library and database.
+
+checksums rmd160 539d44ee5dac803d846d678fcd9db13aa12438b4 \
+ sha256 95102a12b0e3014634d4263828d90ea6111ec5382f507fbf34a91716bdff3688
+
+depends_lib port:gimp2 \
+ port:exiv2 \
+ port:lensfun
+
+patchfiles patch-Makefile.diff \
+ patch-src-gimplensfun.cpp.diff
+
+use_configure no
+
+build.env-append CXX=${configure.cxx}
+
+destroot {
+ set dest ${destroot}${prefix}/lib/gimp/2.0/plug-ins
+ xinstall -d ${dest}
+ xinstall ${worksrcpath}/gimp-lensfun ${dest}
+}
Property changes on: trunk/dports/graphics/GIMP-Lensfun/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/graphics/GIMP-Lensfun/files/patch-Makefile.diff
===================================================================
--- trunk/dports/graphics/GIMP-Lensfun/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/graphics/GIMP-Lensfun/files/patch-Makefile.diff 2015-03-08 17:33:36 UTC (rev 133667)
@@ -0,0 +1,29 @@
+--- Makefile.orig 2015-03-08 04:28:00.000000000 -0700
++++ Makefile 2015-03-08 04:30:55.000000000 -0700
+@@ -19,16 +19,16 @@
+
+
+ # set some system dependent options
+-SYS := $(shell gcc -dumpmachine)
+-ifneq (, $(findstring mingw, $(SYS)))
+- ifeq ($(DEBUG), 0)
+- LDFLAGS += -Wl,-subsystem,windows
+- endif
+-else
+- # comment to disable OpenMP
+- CXXFLAGS += -fopenmp
+- LDFLAGS += -fopenmp
+-endif
++#SYS := $(shell gcc -dumpmachine)
++#ifneq (, $(findstring mingw, $(SYS)))
++# ifeq ($(DEBUG), 0)
++# LDFLAGS += -Wl,-subsystem,windows
++# endif
++#else
++# # comment to disable OpenMP
++# CXXFLAGS += -fopenmp
++# LDFLAGS += -fopenmp
++#endif
+
+
+ # project data
Added: trunk/dports/graphics/GIMP-Lensfun/files/patch-src-gimplensfun.cpp.diff
===================================================================
--- trunk/dports/graphics/GIMP-Lensfun/files/patch-src-gimplensfun.cpp.diff (rev 0)
+++ trunk/dports/graphics/GIMP-Lensfun/files/patch-src-gimplensfun.cpp.diff 2015-03-08 17:33:36 UTC (rev 133667)
@@ -0,0 +1,10 @@
+--- src/gimplensfun.cpp.orig 2015-03-08 04:44:02.000000000 -0700
++++ src/gimplensfun.cpp 2015-03-08 04:44:15.000000000 -0700
+@@ -303,7 +303,6 @@
+ g_print ("\tFocal: %g-%g\n", lens->MinFocal, lens->MaxFocal);
+ g_print ("\tAperture: %g-%g\n", lens->MinAperture, lens->MaxAperture);
+ g_print ("\tCenter: %g,%g\n", lens->CenterX, lens->CenterY);
+- g_print ("\tCCI: %g/%g/%g\n", lens->RedCCI, lens->GreenCCI, lens->BlueCCI);
+ if (lens->Mounts)
+ for (int j = 0; lens->Mounts [j]; j++)
+ g_print ("\tMount: %s\n", lf_db_mount_name (ldb, lens->Mounts [j]));
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150308/eb43d149/attachment.html>
More information about the macports-changes
mailing list