This plug-in makes a out of focus with luminosity and depth, like a

sight or lenses. It can be used with depth map, depth fakes and
shining effect. Also it works as a simple and applicable blur.

WWW: http://sudakyo.hp.infoseek.co.jp/gimp/fblur/focusblur_e.html

PR:		135220
Submitted by:	Denis Barov <dindin@dindin.ru>
This commit is contained in:
Dmitry Marakasov 2009-06-05 02:26:52 +00:00
parent 5f0f3e37f1
commit 938c41d2d8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235186
6 changed files with 78 additions and 0 deletions

View file

@ -232,6 +232,7 @@
SUBDIR += gimp
SUBDIR += gimp-app
SUBDIR += gimp-data-extras
SUBDIR += gimp-focusblur-plugin
SUBDIR += gimp-gap
SUBDIR += gimp-greycstoration
SUBDIR += gimp-help

View file

@ -0,0 +1,46 @@
# New ports collection makefile for: gimp-focusblur
# Date created: 03 Jun 2009
# Whom: Denis Barov <dindin@dindin.ru>
#
# $FreeBSD$
#
PORTNAME= focusblur
PORTVERSION= 3.2.4
CATEGORIES= graphics
MASTER_SITES= http://sudakyo.hp.infoseek.co.jp/gimp/fblur/ \
http://www.dindin.ru/download/
PKGNAMEPREFIX= gimp-
PKGNAMESUFFIX= -plugin
MAINTAINER= dindin@dindin.ru
COMMENT= Gimp realistic focus blur plugin
LIB_DEPENDS= gimp-2.0:${PORTSDIR}/graphics/gimp-app \
fftw3.5:${PORTSDIR}/math/fftw3
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gtk20
MAKE_JOBS_SAFE= yes
PLUGIN_DIR?= libexec/gimp/2.2/plug-ins
PLIST_SUB= PLUGIN_DIR=${PLUGIN_DIR}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --disable-rpath
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|^bindir = .*|bindir = ${PREFIX}/${PLUGIN_DIR}|g' ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (focusblur-3.2.4.tar.bz2) = a99cb16d7bcdd0f462d663a4edb13c18
SHA256 (focusblur-3.2.4.tar.bz2) = d215982f61b19e60bac095af18dfd37392c7487a560976d7d7602e79f1787c13
SIZE (focusblur-3.2.4.tar.bz2) = 182145

View file

@ -0,0 +1,19 @@
--- pixmaps/Makefile.in.orig 2008-10-18 18:50:12.000000000 +0400
+++ pixmaps/Makefile.in 2009-06-03 20:31:46.000000000 +0400
@@ -350,11 +350,12 @@
{ echo -e '#include <gdk-pixbuf/gdk-pixdata.h>\n' ; \
$(GDK_PIXBUF_CSOURCE) --struct --rle --build-list \
$$(for i in $(icons) ; do \
- name=$${i%%.*} ; \
- name=$${name//-/_} ; \
- echo $$name $$i ; \
+ echo $$i | sed -e 's/\..*//g' \
+ -e 's/-/_/g' | tr '\n' ' '; \
+ echo $$i ; \
done) | \
- sed -e '/pixel_data:/a(guint8 *)' ; \
+ sed -e '/pixel_data:/a\
+(guint8 *)' ; \
} > $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View file

@ -0,0 +1,5 @@
This plug-in makes a out of focus with luminosity and depth, like a
sight or lenses. It can be used with depth map, depth fakes and
shining effect. Also it works as a simple and applicable blur.
WWW: http://sudakyo.hp.infoseek.co.jp/gimp/fblur/focusblur_e.html

View file

@ -0,0 +1,4 @@
%%PLUGIN_DIR%%/focusblur
%%NLS%%share/locale/it/LC_MESSAGES/gimp20-focusblur.mo
%%NLS%%share/locale/ja/LC_MESSAGES/gimp20-focusblur.mo
%%NLS%%share/locale/ru/LC_MESSAGES/gimp20-focusblur.mo