From owner-svn-ports-all@FreeBSD.ORG Mon Apr 7 23:57:02 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 752BBE53; Mon, 7 Apr 2014 23:57:02 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5650E14B7; Mon, 7 Apr 2014 23:57:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s37Nv2dW045942; Mon, 7 Apr 2014 23:57:02 GMT (envelope-from lioux@svn.freebsd.org) Received: (from lioux@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s37Nv1uO045933; Mon, 7 Apr 2014 23:57:01 GMT (envelope-from lioux@svn.freebsd.org) Message-Id: <201404072357.s37Nv1uO045933@svn.freebsd.org> From: Mario Sergio Fujikawa Ferreira Date: Mon, 7 Apr 2014 23:57:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350556 - in head/graphics: . gimp-wavelet-sharpen-plugin 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: Mon, 07 Apr 2014 23:57:02 -0000 Author: lioux Date: Mon Apr 7 23:57:00 2014 New Revision: 350556 URL: http://svnweb.freebsd.org/changeset/ports/350556 QAT: https://qat.redports.org/buildarchive/r350556/ Log: New port wavelet-sharpen 0.1.2: GIMP plugin to sharpen by increasing contrast in high frequency space Approved by: eadler (mentor) Added: head/graphics/gimp-wavelet-sharpen-plugin/ head/graphics/gimp-wavelet-sharpen-plugin/Makefile (contents, props changed) head/graphics/gimp-wavelet-sharpen-plugin/distinfo (contents, props changed) head/graphics/gimp-wavelet-sharpen-plugin/pkg-descr (contents, props changed) head/graphics/gimp-wavelet-sharpen-plugin/pkg-plist (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Mon Apr 7 23:56:01 2014 (r350555) +++ head/graphics/Makefile Mon Apr 7 23:57:00 2014 (r350556) @@ -278,6 +278,7 @@ SUBDIR += gimp-save-for-web SUBDIR += gimp-wavelet-decompose-plugin SUBDIR += gimp-wavelet-denoise-plugin + SUBDIR += gimp-wavelet-sharpen-plugin SUBDIR += gimpfx-foundry SUBDIR += giram SUBDIR += gkrellkam2 Added: head/graphics/gimp-wavelet-sharpen-plugin/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gimp-wavelet-sharpen-plugin/Makefile Mon Apr 7 23:57:00 2014 (r350556) @@ -0,0 +1,67 @@ +# Created by: Mario Sergio Fujikawa Ferreira +# $FreeBSD$ + +PORTNAME= wavelet-sharpen +PORTVERSION= 0.1.2 +CATEGORIES= graphics +MASTER_SITES= http://registry.gimp.org/files/ +PKGNAMEPREFIX= gimp- +PKGNAMESUFFIX= -plugin + +MAINTAINER= lioux@FreeBSD.org +COMMENT= GIMP plugin to sharpen by increasing contrast in high frequency space + +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 OPTIMIZED_CFLAGS +OPTIONS_DEFAULT= OPTIMIZED_CFLAGS +OPTIONS_SUB= yes + +USES= gettext gmake + +PLIST_SUB= GIMP_PLUGIN_DIR=${GIMP_PLUGIN_DIR} +GIMP_PLUGIN_DIR= libexec/gimp/2.2/plug-ins + +# l10n languages +LANGUAGES= de et it pl ru + +.include + +# optimized CFLAGS +.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} +CFLAGS+= -O3 +.endif + +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 + +do-install: +# plugin + @${MKDIR} ${STAGEDIR}${PREFIX}/${GIMP_PLUGIN_DIR} + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/${GIMP_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-sharpen-plugin/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gimp-wavelet-sharpen-plugin/distinfo Mon Apr 7 23:57:00 2014 (r350556) @@ -0,0 +1,2 @@ +SHA256 (wavelet-sharpen-0.1.2.tar.gz) = 1cf7ee72bc4cdb721ecc3edf995904f508f2b2295006a5762c2f8878cc0c146f +SIZE (wavelet-sharpen-0.1.2.tar.gz) = 18145 Added: head/graphics/gimp-wavelet-sharpen-plugin/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gimp-wavelet-sharpen-plugin/pkg-descr Mon Apr 7 23:57:00 2014 (r350556) @@ -0,0 +1,16 @@ +The wavelet decomposition of an image results in multiple images +with different frequency content. When amplifying the high frequency +parts the recomposed image appears to be sharper than the original +one. That way the frequency which should be amplified most can also +be selected and a given unsharpness in the original image can be +taken into account. + +The wavelet sharpen plugin enhances apparent sharpness of an image +by increasing contrast in high frequency space. The amount of +unsharpness of the original image can be taken into account by +adjusting the sharpening radius. As an option you can choose to +sharpen the luminance (YCbCr) channel of the image only. + +The plugin can be found under "Filters > Enhance > Wavelet sharpen" + +WWW: http://registry.gimp.org/node/9836 Added: head/graphics/gimp-wavelet-sharpen-plugin/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gimp-wavelet-sharpen-plugin/pkg-plist Mon Apr 7 23:57:00 2014 (r350556) @@ -0,0 +1,20 @@ +%%GIMP_PLUGIN_DIR%%/wavelet-sharpen +%%NLS%%share/locale/de/LC_MESSAGES/gimp20-wavelet-sharpen-plug-in.mo +%%NLS%%share/locale/et/LC_MESSAGES/gimp20-wavelet-sharpen-plug-in.mo +%%NLS%%share/locale/it/LC_MESSAGES/gimp20-wavelet-sharpen-plug-in.mo +%%NLS%%share/locale/pl/LC_MESSAGES/gimp20-wavelet-sharpen-plug-in.mo +%%NLS%%share/locale/ru/LC_MESSAGES/gimp20-wavelet-sharpen-plug-in.mo +@dirrmtry %%GIMP_PLUGIN_DIR%% +@dirrmtry libexec/gimp/2.2 +@dirrmtry libexec/gimp +%%NLS%%@dirrmtry share/locale/de/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/de +%%NLS%%@dirrmtry share/locale/et/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/et +%%NLS%%@dirrmtry share/locale/it/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/it +%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/pl +%%NLS%%@dirrmtry share/locale/ru/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/ru +%%NLS%%@dirrmtry share/locale