svn commit: r348900 - in head/graphics: . gimp-lensfun-plugin gimp-lensfun-plugin/files

Mario Sergio Fujikawa Ferreira lioux at FreeBSD.org
Sun Mar 23 23:11:00 UTC 2014


Author: lioux
Date: Sun Mar 23 23:10:58 2014
New Revision: 348900
URL: http://svnweb.freebsd.org/changeset/ports/348900
QAT: https://qat.redports.org/buildarchive/r348900/

Log:
  New port Lensfun GIMP plugin: correct lens distortion using the lensfun library
  
  Approved by:	bdrewery (mentor)

Added:
  head/graphics/gimp-lensfun-plugin/
  head/graphics/gimp-lensfun-plugin/Makefile   (contents, props changed)
  head/graphics/gimp-lensfun-plugin/distinfo   (contents, props changed)
  head/graphics/gimp-lensfun-plugin/files/
  head/graphics/gimp-lensfun-plugin/files/patch-Makefile   (contents, props changed)
  head/graphics/gimp-lensfun-plugin/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Mar 23 23:08:49 2014	(r348899)
+++ head/graphics/Makefile	Sun Mar 23 23:10:58 2014	(r348900)
@@ -268,6 +268,7 @@
     SUBDIR += gimp-gap
     SUBDIR += gimp-gmic-plugin
     SUBDIR += gimp-help
+    SUBDIR += gimp-lensfun-plugin
     SUBDIR += gimp-lqr-plugin
     SUBDIR += gimp-manual-html
     SUBDIR += gimp-resynthesizer

Added: head/graphics/gimp-lensfun-plugin/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gimp-lensfun-plugin/Makefile	Sun Mar 23 23:10:58 2014	(r348900)
@@ -0,0 +1,54 @@
+# Created by: Mario Sergio Fujikawa Ferreira <lioux at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	lensfun
+DISTVERSION=	0.2.4-dev
+CATEGORIES=	graphics
+PKGNAMEPREFIX=	gimp-
+PKGNAMESUFFIX=	-plugin
+
+MAINTAINER=	lioux at FreeBSD.org
+COMMENT=	Gimp plugin to correct lens distortion using the lensfun library
+
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/exiv2.pc:${PORTSDIR}/graphics/exiv2 \
+		${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:${PORTSDIR}/graphics/gimp-app \
+		${LOCALBASE}/libdata/pkgconfig/lensfun.pc:${PORTSDIR}/graphics/lensfun
+RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/exiv2.pc:${PORTSDIR}/graphics/exiv2 \
+		${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:${PORTSDIR}/graphics/gimp-app \
+		${LOCALBASE}/libdata/pkgconfig/lensfun.pc:${PORTSDIR}/graphics/lensfun
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	seebk
+GH_PROJECT=	GIMP-Lensfun
+GH_COMMIT=	d0a0bd2
+GH_TAGNAME=	${GH_COMMIT}
+
+USES=		gmake pkgconfig
+
+PLUGIN_DIR?=	libexec/gimp/2.2/plug-ins/
+PLUGINS=	gimp-lensfun
+
+# installed files
+.for plugin in ${PLUGINS}
+PLIST_FILES+=	${PLUGIN_DIR}/${plugin}
+.endfor
+
+# installed dirs
+PLIST_DIRSTRY=	libexec/gimp/2.2/plug-ins \
+		libexec/gimp/2.2 \
+		libexec/gimp
+
+post-patch:
+	@${REINPLACE_CMD} \
+		-e 's|gimptool-2.0|${LOCALBASE}/bin/gimptool-2.0|' \
+		${WRKSRC}/Makefile
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
+.for plugin in ${PLUGINS}
+	${INSTALL_PROGRAM} ${WRKSRC}/${plugin} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
+.endfor
+
+.include <bsd.port.mk>

Added: head/graphics/gimp-lensfun-plugin/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gimp-lensfun-plugin/distinfo	Sun Mar 23 23:10:58 2014	(r348900)
@@ -0,0 +1,2 @@
+SHA256 (lensfun-0.2.4-dev.tar.gz) = e87d63c70ed199b82e0996a281a775a70e0d1e9032e99562a2ea69481ba7213a
+SIZE (lensfun-0.2.4-dev.tar.gz) = 28958

Added: head/graphics/gimp-lensfun-plugin/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gimp-lensfun-plugin/files/patch-Makefile	Sun Mar 23 23:10:58 2014	(r348900)
@@ -0,0 +1,20 @@
+--- Makefile.orig	2014-02-08 09:31:49.000000000 -0200
++++ Makefile	2014-03-22 22:41:34.000000000 -0300
+@@ -9,8 +9,6 @@
+ 
+ 
+ # set standard values, if not set by default
+-CXX ?= g++
+-CXXFLAGS += -O3 -Wall
+ 
+ 
+ # project-specific flags
+@@ -26,8 +24,6 @@
+ 	endif
+ else
+ 	# comment to disable OpenMP
+-	CXXFLAGS += -fopenmp
+-	LDFLAGS += -fopenmp
+ endif
+ 
+ 

Added: head/graphics/gimp-lensfun-plugin/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gimp-lensfun-plugin/pkg-descr	Sun Mar 23 23:10:58 2014	(r348900)
@@ -0,0 +1,11 @@
+[ edition version of author's www site ]
+
+GimpLensfun is a Gimp plugin to correct lens distortion using the
+lensfun library and database.
+
+The plugin can be found under "Filters > Enhance > GimpLensfun".
+
+It autodetects camera, lens type and corresponding parameters
+from the EXIF information embedded in the image file. 
+
+WWW: http://github.com/seebk/GIMP-Lensfun.git


More information about the svn-ports-head mailing list