From amdmi3@amdmi3.ru  Sun Feb 17 18:58:18 2008
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B3D8D16A419
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 17 Feb 2008 18:58:18 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from cp65.agava.net (cp65.agava.net [89.108.66.215])
	by mx1.freebsd.org (Postfix) with ESMTP id 4710813C45E
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 17 Feb 2008 18:58:18 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from [213.148.20.85] (helo=hive.panopticon)
	by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.63 (FreeBSD))
	(envelope-from <amdmi3@amdmi3.ru>)
	id 1JQolQ-000GjJ-TV
	for FreeBSD-gnats-submit@freebsd.org; Sun, 17 Feb 2008 22:01:24 +0300
Received: from hades.panopticon (hades.panopticon [192.168.0.32])
	by hive.panopticon (Postfix) with ESMTP id 511D68E3C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 17 Feb 2008 21:58:23 +0300 (MSK)
Received: by hades.panopticon (Postfix, from userid 1000)
	id A8E3617023; Sun, 17 Feb 2008 21:58:12 +0300 (MSK)
Message-Id: <20080217185812.A8E3617023@hades.panopticon>
Date: Sun, 17 Feb 2008 21:58:12 +0300 (MSK)
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
Reply-To: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] graphics/gimp-lqr-plugin: update to 0.4.0-4
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         120764
>Category:       ports
>Synopsis:       [MAINTAINER] graphics/gimp-lqr-plugin: update to 0.4.0-4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 17 19:00:02 UTC 2008
>Closed-Date:    Mon Feb 18 19:55:53 UTC 2008
>Last-Modified:  Mon Feb 18 20:00:08 UTC 2008
>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@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@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
+@dirrmtry share/locale/sr/LC_MESSAGES
+@dirrmtry share/locale/sr
+@dirrmtry share/locale/ro_RO/LC_MESSAGES
+@dirrmtry share/locale/ro_RO
+@dirrmtry share/locale/pt_BR/LC_MESSAGES
+@dirrmtry share/locale/pt_BR
+@dirrmtry share/locale/nb_NO/LC_MESSAGES
+@dirrmtry share/locale/nb_NO
+@dirrmtry share/locale/eu_ES/LC_MESSAGES
+@dirrmtry share/locale/eu_ES
+@dirrmtry share/locale/es_AR/LC_MESSAGES
+@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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Feb 17 19:00:10 UTC 2008 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120764 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Feb 18 19:55:53 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120764 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/120764: commit references a PR
Date: Mon, 18 Feb 2008 19:55:50 +0000 (UTC)

 miwi        2008-02-18 19:55:43 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/gimp-lqr-plugin Makefile distinfo pkg-descr pkg-plist 
   Log:
   - Update to 0.4.0-4
   
   PR:             120764
   Submitted by:   Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
   
   Revision  Changes    Path
   1.3       +5 -15     ports/graphics/gimp-lqr-plugin/Makefile
   1.3       +3 -3      ports/graphics/gimp-lqr-plugin/distinfo
   1.2       +18 -4     ports/graphics/gimp-lqr-plugin/pkg-descr
   1.3       +26 -19    ports/graphics/gimp-lqr-plugin/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
