From owner-svn-ports-all@FreeBSD.ORG Sun Mar 23 23:16:33 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 0D2941C2; Sun, 23 Mar 2014 23:16:33 +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 E11F715C; Sun, 23 Mar 2014 23:16:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2NNGWDZ051098; Sun, 23 Mar 2014 23:16:32 GMT (envelope-from lioux@svn.freebsd.org) Received: (from lioux@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2NNGVQ6051093; Sun, 23 Mar 2014 23:16:31 GMT (envelope-from lioux@svn.freebsd.org) Message-Id: <201403232316.s2NNGVQ6051093@svn.freebsd.org> From: Mario Sergio Fujikawa Ferreira Date: Sun, 23 Mar 2014 23:16:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348901 - in head/graphics: . gimp-wavelet-decompose-plugin gimp-wavelet-decompose-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:16:33 -0000 Author: lioux Date: Sun Mar 23 23:16:31 2014 New Revision: 348901 URL: http://svnweb.freebsd.org/changeset/ports/348901 QAT: https://qat.redports.org/buildarchive/r348901/ Log: New port wavelet-decompose: Gimp plugin to losslessly decompose images into wavelet scales layers Approved by: bdrewery (mentor) Added: head/graphics/gimp-wavelet-decompose-plugin/ head/graphics/gimp-wavelet-decompose-plugin/Makefile (contents, props changed) head/graphics/gimp-wavelet-decompose-plugin/distinfo (contents, props changed) head/graphics/gimp-wavelet-decompose-plugin/files/ head/graphics/gimp-wavelet-decompose-plugin/files/patch-src__Makefile (contents, props changed) head/graphics/gimp-wavelet-decompose-plugin/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Sun Mar 23 23:10:58 2014 (r348900) +++ head/graphics/Makefile Sun Mar 23 23:16:31 2014 (r348901) @@ -273,6 +273,7 @@ SUBDIR += gimp-manual-html SUBDIR += gimp-resynthesizer SUBDIR += gimp-save-for-web + SUBDIR += gimp-wavelet-decompose-plugin SUBDIR += gimpfx-foundry SUBDIR += giram SUBDIR += gkrellkam2 Added: head/graphics/gimp-wavelet-decompose-plugin/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gimp-wavelet-decompose-plugin/Makefile Sun Mar 23 23:16:31 2014 (r348901) @@ -0,0 +1,78 @@ +# Created by: Mario Sergio Fujikawa Ferreira +# $FreeBSD$ + +PORTNAME= wavelet-decompose +DISTVERSION= 0.1.2 +CATEGORIES= graphics +MASTER_SITES= http://registry.gimp.org/files/ +PKGNAMEPREFIX= gimp- +PKGNAMESUFFIX= -plugin + +MAINTAINER= lioux@FreeBSD.org +COMMENT= Gimp plugin to losslessly decompose images into wavelet scales layers + +LICENSE= GPLv2 + +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:${PORTSDIR}/graphics/gimp-app +RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:${PORTSDIR}/graphics/gimp-app + +OPTIONS_DEFINE= NLS + +USES= gettext gmake + +PLIST_SUB= PLUGIN_DIR=${PLUGIN_DIR} +PLUGIN_DIR?= libexec/gimp/2.2/plug-ins/ + +# l10n languages +LANGUAGES= de ru it pl + +# installed files +PLIST_FILES= %%PLUGIN_DIR%%/wavelet-decompose + +# installed dirs +PLIST_DIRSTRY= libexec/gimp/2.2/plug-ins \ + libexec/gimp/2.2 \ + libexec/gimp + +.include + +post-patch: + @${REINPLACE_CMD} \ + -e 's|gimptool-2.0|${LOCALBASE}/bin/gimptool-2.0|' \ + ${WRKSRC}/src/Makefile +# +## l10n +# disable l10n if appropriate +.if ! ${PORT_OPTIONS:MNLS} + @${REINPLACE_CMD} -E \ + -e 's|(^all:.*)po |\1|' \ + ${WRKSRC}/Makefile +.endif + +## l10n +# +.if ${PORT_OPTIONS:MNLS} +.for language in ${LANGUAGES} +PLIST_FILES+= share/locale/${language}/LC_MESSAGES/gimp20-${PORTNAME}-plug-in.mo + +PLIST_DIRSTRY+= share/locale/${language}/LC_MESSAGES \ + share/locale/${language} \ + share/locale +.endfor +.endif + +do-install: +# plugin + @${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} + ${INSTALL_PROGRAM} ${WRKSRC}/src/wavelet-decompose ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} +# +## l10n +# +.if ${PORT_OPTIONS:MNLS} +.for language in ${LANGUAGES} + @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES/ + ${INSTALL_DATA} ${WRKSRC}/po/${language}.mo ${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES/gimp20-${PORTNAME}-plug-in.mo +.endfor +.endif + +.include Added: head/graphics/gimp-wavelet-decompose-plugin/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gimp-wavelet-decompose-plugin/distinfo Sun Mar 23 23:16:31 2014 (r348901) @@ -0,0 +1,2 @@ +SHA256 (wavelet-decompose-0.1.2.tar.gz) = 7a3217958646468a9b3668d64ca635d6bcfba9ababcff4cce91e38861e50b681 +SIZE (wavelet-decompose-0.1.2.tar.gz) = 18075 Added: head/graphics/gimp-wavelet-decompose-plugin/files/patch-src__Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gimp-wavelet-decompose-plugin/files/patch-src__Makefile Sun Mar 23 23:16:31 2014 (r348901) @@ -0,0 +1,8 @@ +--- src/Makefile.orig 2014-03-22 22:50:21.000000000 -0300 ++++ src/Makefile 2014-03-22 22:50:36.000000000 -0300 +@@ -1,4 +1,4 @@ +-CFLAGS = -O3 -Wall $(shell gimptool-2.0 --cflags) ++CFLAGS = $(shell gimptool-2.0 --cflags) + LIBS = $(shell gimptool-2.0 --libs) + PLUGIN = wavelet-decompose + SOURCES = plugin.c wavelet.c interface.c decompose.c Added: head/graphics/gimp-wavelet-decompose-plugin/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gimp-wavelet-decompose-plugin/pkg-descr Sun Mar 23 23:16:31 2014 (r348901) @@ -0,0 +1,12 @@ +[ edited version of author's www site ] + +This plugin losslessly decomposes a layer of an image into layers +of wavelet scales. This means that you can edit the image on different +detail scales (frequencies). The trivial recomposition of the image +can be done by GIMP's layer modes so you can see the results of +your modifications instantly. Among the applications are retouching, +noise reduction, and enhancing global contrast. + +The plugin can be found under "Filters > Generic > Wavelet decompose" + +WWW: http://registry.gimp.org/node/11742