summaryrefslogtreecommitdiff
path: root/graphics/gimp-refocus-it
diff options
context:
space:
mode:
authordrochner <drochner>2005-01-16 11:51:52 +0000
committerdrochner <drochner>2005-01-16 11:51:52 +0000
commitfcc4f360e115909dd0500843b4a81725e1c1b717 (patch)
tree1838d2d8a6349f95ff1dedf8913624a483b42282 /graphics/gimp-refocus-it
parent623f33136f378c6e3cca03828a572822b790d439 (diff)
downloadpkgsrc-fcc4f360e115909dd0500843b4a81725e1c1b717.tar.gz
import the "refocus-it" gimp2 plugin which is much better than
the "sharpen" which comes with the base packet
Diffstat (limited to 'graphics/gimp-refocus-it')
-rw-r--r--graphics/gimp-refocus-it/DESCR4
-rw-r--r--graphics/gimp-refocus-it/Makefile20
-rw-r--r--graphics/gimp-refocus-it/PLIST3
-rw-r--r--graphics/gimp-refocus-it/distinfo6
-rw-r--r--graphics/gimp-refocus-it/patches/patch-aa12
-rw-r--r--graphics/gimp-refocus-it/patches/patch-ab13
6 files changed, 58 insertions, 0 deletions
diff --git a/graphics/gimp-refocus-it/DESCR b/graphics/gimp-refocus-it/DESCR
new file mode 100644
index 00000000000..f8f4422b17c
--- /dev/null
+++ b/graphics/gimp-refocus-it/DESCR
@@ -0,0 +1,4 @@
+The Iterative refocus Gimp-2.0 plug-in can be used to sharpen images acquired
+by a defocused camera, blurred with gaussian or motion blur or any combination
+of these degradations. In cases of severe blur it produces much better
+results than plug-ins such as sharpen or unsharp mask.
diff --git a/graphics/gimp-refocus-it/Makefile b/graphics/gimp-refocus-it/Makefile
new file mode 100644
index 00000000000..94c4cf8eb60
--- /dev/null
+++ b/graphics/gimp-refocus-it/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/16 11:51:52 drochner Exp $
+#
+
+DISTNAME= refocus-it-2.0.0
+PKGNAME= gimp-refocus-it-2.0.0
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=refocus-it/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://refocus-it.sourceforge.net/
+COMMENT= Refocus images
+
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+#just build the plugin
+CONFIGURE_ARGS+= --without-cmdline
+
+.include "../../graphics/gimp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/gimp-refocus-it/PLIST b/graphics/gimp-refocus-it/PLIST
new file mode 100644
index 00000000000..13ad63bf76a
--- /dev/null
+++ b/graphics/gimp-refocus-it/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/16 11:51:52 drochner Exp $
+lib/gimp/2.0/plug-ins/gimp_plugin-refocus-it
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/refocus-it.mo
diff --git a/graphics/gimp-refocus-it/distinfo b/graphics/gimp-refocus-it/distinfo
new file mode 100644
index 00000000000..665afa41734
--- /dev/null
+++ b/graphics/gimp-refocus-it/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/16 11:51:52 drochner Exp $
+
+SHA1 (refocus-it-2.0.0.tar.gz) = 746adb97da84cde10d9f8cd1925652164306dd95
+Size (refocus-it-2.0.0.tar.gz) = 249425 bytes
+SHA1 (patch-aa) = 473cf1361d72b9ebb5aab6e0137840242c38e1de
+SHA1 (patch-ab) = 71d67d7f4fa0a9dcfe8404b390fcb06564787926
diff --git a/graphics/gimp-refocus-it/patches/patch-aa b/graphics/gimp-refocus-it/patches/patch-aa
new file mode 100644
index 00000000000..fff0bf17566
--- /dev/null
+++ b/graphics/gimp-refocus-it/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/01/16 11:51:52 drochner Exp $
+
+--- gimp-plugin/main-gimp.c.orig 2005-01-14 23:05:32.000000000 +0100
++++ gimp-plugin/main-gimp.c
+@@ -27,6 +27,7 @@
+ #include <ctype.h>
+ #include <stdlib.h>
+ #include <time.h>
++#include <locale.h>
+ #include "compiler.h"
+ #include "hopfield.h"
+ #include "image.h"
diff --git a/graphics/gimp-refocus-it/patches/patch-ab b/graphics/gimp-refocus-it/patches/patch-ab
new file mode 100644
index 00000000000..498944b760b
--- /dev/null
+++ b/graphics/gimp-refocus-it/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/01/16 11:51:52 drochner Exp $
+
+--- Makefile.in.orig 2005-01-15 22:41:07.000000000 +0100
++++ Makefile.in
+@@ -159,7 +159,7 @@ target_alias = @target_alias@
+ @REFOCUS_CMDLINE_FALSE@TARGET_CMD =
+ @REFOCUS_GIMP_FALSE@TARGET_GIMP =
+
+-@REFOCUS_GIMP_TRUE@TARGET_GIMP = gimp-plugin help
++@REFOCUS_GIMP_TRUE@TARGET_GIMP = gimp-plugin
+
+ SUBDIRS = po src doc $(TARGET_GIMP) $(TARGET_CMD)
+