summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-01-23 21:53:39 +0000
committerwiz <wiz@pkgsrc.org>2013-01-23 21:53:39 +0000
commite876e7a0afb9dd21390db10cf9d3bf27eb431e86 (patch)
treede93826a8fbd8b9e8d7b04fae6308c9c4a5c503f /graphics
parent7801ed82bc282200c9d771e56b2ddd1dd4505574 (diff)
downloadpkgsrc-e876e7a0afb9dd21390db10cf9d3bf27eb431e86.tar.gz
Import gimp-high-pass-filter-1.2 as graphics/gimp-high-pass-filter.
Packaged for wip by othyro. A general purpose high-pass filter plugin. It shows up as Filters->Generic->High Pass Filter. You can select a blur radius that sets the size of detail to be passed by the filter, a contrast adjustment, as well as an option to keep the source layer or replace it. It actually implements 5 different high pass modes: 1. Colour - I think this is the same as photoshop's high pass filter effect. 2. Preserve DC - like colour, but adds the average image colour back in. 3. Greyscale - this desaturates the layer before high pass filtering. 4. Greyscale, Apply Chroma - as above, but blends it in with the source layer colours 5. Redrobes - (named after the technique described by Redrobes)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gimp-high-pass-filter/DESCR13
-rw-r--r--graphics/gimp-high-pass-filter/Makefile32
-rw-r--r--graphics/gimp-high-pass-filter/PLIST2
-rw-r--r--graphics/gimp-high-pass-filter/distinfo5
4 files changed, 52 insertions, 0 deletions
diff --git a/graphics/gimp-high-pass-filter/DESCR b/graphics/gimp-high-pass-filter/DESCR
new file mode 100644
index 00000000000..1b75956b7e0
--- /dev/null
+++ b/graphics/gimp-high-pass-filter/DESCR
@@ -0,0 +1,13 @@
+A general purpose high-pass filter plugin. It shows up as
+Filters->Generic->High Pass Filter. You can select a blur radius that sets the
+size of detail to be passed by the filter, a contrast adjustment, as well as an
+option to keep the source layer or replace it.
+
+It actually implements 5 different high pass modes:
+
+ 1. Colour - I think this is the same as photoshop's high pass filter effect.
+ 2. Preserve DC - like colour, but adds the average image colour back in.
+ 3. Greyscale - this desaturates the layer before high pass filtering.
+ 4. Greyscale, Apply Chroma - as above, but blends it in with the source
+ layer colours
+ 5. Redrobes - (named after the technique described by Redrobes)
diff --git a/graphics/gimp-high-pass-filter/Makefile b/graphics/gimp-high-pass-filter/Makefile
new file mode 100644
index 00000000000..31459b6545a
--- /dev/null
+++ b/graphics/gimp-high-pass-filter/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2013/01/23 21:53:39 wiz Exp $
+#
+
+DISTNAME= high-pass
+PKGNAME= gimp-${DISTNAME}-filter-1.2
+CATEGORIES= graphics
+MASTER_SITES= http://registry.gimp.org/files/
+EXTRACT_SUFX= .scm
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://registry.gimp.org/node/7385
+COMMENT= General purpose high-pass filter plugin for GIMP
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/high-pass.scm
+USE_LANGUAGES= # none
+
+DEPENDS+= gimp>=2.0:../../graphics/gimp
+
+WRKSRC= ${WRKDIR}
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+
+INSTALLATION_DIRS= share/gimp/2.0/scripts
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} \
+ ${DESTDIR}${PREFIX}/share/gimp/2.0/scripts
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/gimp-high-pass-filter/PLIST b/graphics/gimp-high-pass-filter/PLIST
new file mode 100644
index 00000000000..d70921d5a85
--- /dev/null
+++ b/graphics/gimp-high-pass-filter/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2013/01/23 21:53:39 wiz Exp $
+share/gimp/2.0/scripts/high-pass.scm
diff --git a/graphics/gimp-high-pass-filter/distinfo b/graphics/gimp-high-pass-filter/distinfo
new file mode 100644
index 00000000000..a2f8b9b61a1
--- /dev/null
+++ b/graphics/gimp-high-pass-filter/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/01/23 21:53:39 wiz Exp $
+
+SHA1 (gimp-high-pass-filter-1.2/high-pass.scm) = a853ea960714a4ee81ba5c51b5ff9eeb612ba75a
+RMD160 (gimp-high-pass-filter-1.2/high-pass.scm) = 8b179ec36d7992b277b49f6bd31637d5eb7bd0c6
+Size (gimp-high-pass-filter-1.2/high-pass.scm) = 6297 bytes