From owner-svn-ports-all@FreeBSD.ORG Sun Mar 23 23:10:59 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E8F9FFC1; Sun, 23 Mar 2014 23:10:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C9D4C97; Sun, 23 Mar 2014 23:10:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2NNAxkp049626; Sun, 23 Mar 2014 23:10:59 GMT (envelope-from lioux@svn.freebsd.org) Received: (from lioux@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2NNAw79049621; Sun, 23 Mar 2014 23:10:58 GMT (envelope-from lioux@svn.freebsd.org) Message-Id: <201403232310.s2NNAw79049621@svn.freebsd.org> From: Mario Sergio Fujikawa Ferreira Date: Sun, 23 Mar 2014 23:10:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348900 - in head/graphics: . gimp-lensfun-plugin gimp-lensfun-plugin/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2014 23:11:00 -0000 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 +# $FreeBSD$ + +PORTNAME= lensfun +DISTVERSION= 0.2.4-dev +CATEGORIES= graphics +PKGNAMEPREFIX= gimp- +PKGNAMESUFFIX= -plugin + +MAINTAINER= lioux@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 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