aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimp-lqr-plugin
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-02-19 03:55:42 +0800
committermiwi <miwi@FreeBSD.org>2008-02-19 03:55:42 +0800
commit7e4bee20b76398007a0ae75d9be4ca5e2dbda734 (patch)
tree1c33d9eb0d47169f35c0f5707f21f81cf1aa2845 /graphics/gimp-lqr-plugin
parentfcce6c7939966c377a46f6eb6fcc8c82acf18b5e (diff)
downloadfreebsd-ports-gnome-7e4bee20b76398007a0ae75d9be4ca5e2dbda734.tar.gz
freebsd-ports-gnome-7e4bee20b76398007a0ae75d9be4ca5e2dbda734.tar.zst
freebsd-ports-gnome-7e4bee20b76398007a0ae75d9be4ca5e2dbda734.zip
- Update to 0.4.0-4
PR: 120764 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
Diffstat (limited to 'graphics/gimp-lqr-plugin')
-rw-r--r--graphics/gimp-lqr-plugin/Makefile20
-rw-r--r--graphics/gimp-lqr-plugin/distinfo6
-rw-r--r--graphics/gimp-lqr-plugin/pkg-descr22
-rw-r--r--graphics/gimp-lqr-plugin/pkg-plist45
4 files changed, 52 insertions, 41 deletions
diff --git a/graphics/gimp-lqr-plugin/Makefile b/graphics/gimp-lqr-plugin/Makefile
index de2aef5cb402..f32374ed447f 100644
--- a/graphics/gimp-lqr-plugin/Makefile
+++ b/graphics/gimp-lqr-plugin/Makefile
@@ -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 @@ MASTER_SITES= http://liquidrescale.wikidot.com/local--files/en:download-page/ \
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 --git a/graphics/gimp-lqr-plugin/distinfo b/graphics/gimp-lqr-plugin/distinfo
index 3c8a5e2c3572..d92bc040b85c 100644
--- a/graphics/gimp-lqr-plugin/distinfo
+++ b/graphics/gimp-lqr-plugin/distinfo
@@ -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 --git a/graphics/gimp-lqr-plugin/pkg-descr b/graphics/gimp-lqr-plugin/pkg-descr
index a4d64cbdbd3d..16c195b0585d 100644
--- a/graphics/gimp-lqr-plugin/pkg-descr
+++ b/graphics/gimp-lqr-plugin/pkg-descr
@@ -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 --git a/graphics/gimp-lqr-plugin/pkg-plist b/graphics/gimp-lqr-plugin/pkg-plist
index 4b54bd87bf8f..08b5c02b392e 100644
--- a/graphics/gimp-lqr-plugin/pkg-plist
+++ b/graphics/gimp-lqr-plugin/pkg-plist
@@ -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