ports/120764: [MAINTAINER] graphics/gimp-lqr-plugin: update to 0.4.0-4

Dmitry Marakasov amdmi3 at amdmi3.ru
Sun Feb 17 19:00:03 UTC 2008


>Number:         120764
>Category:       ports
>Synopsis:       [MAINTAINER] graphics/gimp-lqr-plugin: update to 0.4.0-4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 17 19:00:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RC1 FreeBSD 7.0-RC1 #0: Sat Jan 5 03:26:52 MSK 2008 root at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
* Update to 0.4.0-4 using separated liblqr-1 port
* Drop WITHOUT_NLS support; not supported out-of-box and takes too much effort to hack
>How-To-Repeat:
>Fix:

--- gimp-lqr-plugin.patch begins here ---
diff -ruN gimp-lqr-plugin.orig/Makefile gimp-lqr-plugin/Makefile
--- gimp-lqr-plugin.orig/Makefile	2008-01-30 03:43:54.000000000 +0300
+++ gimp-lqr-plugin/Makefile	2008-02-17 21:46:47.000000000 +0300
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gimp-lqr-plugin
-DISTVERSION=	0.3.0-6
+DISTVERSION=	0.4.0-4
 CATEGORIES=	graphics
 MASTER_SITES=	http://liquidrescale.wikidot.com/local--files/en:download-page/ \
 		http://www.amdmi3.ru/distfiles/
@@ -14,33 +14,23 @@
 MAINTAINER=	amdmi3 at amdmi3.ru
 COMMENT=	Liquid rescale GIMP plug-in
 
-LIB_DEPENDS=	gimp-2.0:${PORTSDIR}/graphics/gimp-app
+LIB_DEPENDS=	gimp-2.0:${PORTSDIR}/graphics/gimp-app \
+		lqr-1.0:${PORTSDIR}/graphics/liblqr-1
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
+USE_GETTEXT=	yes
 USE_GNOME=	gtk20
 
 PLUGIN_DIR?=	libexec/gimp/2.2/plug-ins
 PLIST_SUB=	PLUGIN_DIR=${PLUGIN_DIR}
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-0.3.0
+WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION:C/^([0-9.]+)-([0-9]+)$/\1/}
 
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 
-.if !defined(WITHOUT_NLS)
-USE_GETTEXT=	yes
-PLIST_SUB+=	NLS=""
-.else
-PLIST_SUB+=	NLS="@comment "
-.endif
-
 post-patch:
-.if defined(WITHOUT_NLS)
-	@${REINPLACE_CMD} -e 's|@USE_NLS@|no|g' ${WRKSRC}/po/Makefile.in.in
-.else
-	@${REINPLACE_CMD} -e 's|@USE_NLS@|yes|g' ${WRKSRC}/po/Makefile.in.in
-.endif
 	@${REINPLACE_CMD} -e 's|^bindir = .*|bindir = ${PREFIX}/${PLUGIN_DIR}|g' ${WRKSRC}/src/Makefile.in
 
 .include <bsd.port.mk>
diff -ruN gimp-lqr-plugin.orig/distinfo gimp-lqr-plugin/distinfo
--- gimp-lqr-plugin.orig/distinfo	2008-01-30 03:43:54.000000000 +0300
+++ gimp-lqr-plugin/distinfo	2008-01-30 03:44:32.000000000 +0300
@@ -1,3 +1,3 @@
-MD5 (gimp-lqr-plugin-0.3.0-6.tar.gz) = 05dd98c504cdf9bf88539cd7d923d982
-SHA256 (gimp-lqr-plugin-0.3.0-6.tar.gz) = 35f4481c9bb02a4e0d60e4205f4ee55de57e8c0ae5a1869579cbd255c0034c72
-SIZE (gimp-lqr-plugin-0.3.0-6.tar.gz) = 824194
+MD5 (gimp-lqr-plugin-0.4.0-4.tar.gz) = 1d34e517cdbf8b2f358e0febea0467f5
+SHA256 (gimp-lqr-plugin-0.4.0-4.tar.gz) = ed6b736c557354c2f9f7a948a2a23bc936d238d9303c462859118e7a9813b943
+SIZE (gimp-lqr-plugin-0.4.0-4.tar.gz) = 824386
diff -ruN gimp-lqr-plugin.orig/pkg-descr gimp-lqr-plugin/pkg-descr
--- gimp-lqr-plugin.orig/pkg-descr	2008-01-30 03:43:54.000000000 +0300
+++ gimp-lqr-plugin/pkg-descr	2008-01-30 06:26:26.000000000 +0300
@@ -1,5 +1,19 @@
-Content-aware rescaling. Keeps the features of the image while
-rescaling along a single direction. Tested on Gimp 2.2. It installs
-under the Layer menu now.
+The Liquid Rescale plugin is an implementation of the content-aware
+resizing by seam carving algorithm by Shai Avidan and Ariel Shamir.
 
-WWW: http://web.tiscali.it/carlobaldassi/
+It aims at resizing pictures non uniformly while preserving the
+features of the picture, i.e. avoiding distortion of the important
+parts of the picture. It can also be used to remove portions of the
+picture in a consistent way.
+
+It works both ways, but enlarging gives better results if done in
+successive steps. It can use extra layers as masks to select which
+features of the image should be preserved and which should be
+discarded.
+
+The plugin works on the active layer or floating selection. If a
+selection is present, it is saved to a channel. If the layer has a
+transparency mask, an option is given to select the behaviour
+(apply/discard).
+
+WWW: http://liquidrescale.wikidot.com/
diff -ruN gimp-lqr-plugin.orig/pkg-plist gimp-lqr-plugin/pkg-plist
--- gimp-lqr-plugin.orig/pkg-plist	2008-01-30 03:43:54.000000000 +0300
+++ gimp-lqr-plugin/pkg-plist	2008-01-30 06:27:08.000000000 +0300
@@ -12,25 +12,32 @@
 %%DATADIR%%/help/images/wilber.png
 %%DATADIR%%/help/it/gimp-help.xml
 %%DATADIR%%/help/it/index.html
-%%NLS%%share/locale/de/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%share/locale/es_AR/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%share/locale/es_ES/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%share/locale/eu_ES/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%share/locale/hu/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%share/locale/it/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%share/locale/nb_NO/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%share/locale/pt_BR/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%share/locale/ro_RO/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%share/locale/sr/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%share/locale/zh_CN/LC_MESSAGES/gimp22-lqr-plugin.mo
-%%NLS%%@dirrmtry share/locale/ro_RO/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/ro_RO
-%%NLS%%@dirrmtry share/locale/nb_NO/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/nb_NO
-%%NLS%%@dirrmtry share/locale/es_AR/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/es_AR
+share/locale/de/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/es_AR/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/es_ES/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/eu_ES/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/fr/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/hu/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/it/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/nb_NO/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/pt_BR/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/ro_RO/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/ru/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/sr/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/zh_CN/LC_MESSAGES/gimp20-lqr-plugin.mo
+share/locale/zh_TW/LC_MESSAGES/gimp20-lqr-plugin.mo
+ at dirrmtry share/locale/sr/LC_MESSAGES
+ at dirrmtry share/locale/sr
+ at dirrmtry share/locale/ro_RO/LC_MESSAGES
+ at dirrmtry share/locale/ro_RO
+ at dirrmtry share/locale/pt_BR/LC_MESSAGES
+ at dirrmtry share/locale/pt_BR
+ at dirrmtry share/locale/nb_NO/LC_MESSAGES
+ at dirrmtry share/locale/nb_NO
+ at dirrmtry share/locale/eu_ES/LC_MESSAGES
+ at dirrmtry share/locale/eu_ES
+ at dirrmtry share/locale/es_AR/LC_MESSAGES
+ at dirrmtry share/locale/es_AR
 @dirrm %%DATADIR%%/help/it
 @dirrm %%DATADIR%%/help/images
 @dirrm %%DATADIR%%/help/es_ES
--- gimp-lqr-plugin.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list