summaryrefslogtreecommitdiff
path: root/graphics/gimp-registry-plugins/gimp-registry-plugins.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimp-registry-plugins/gimp-registry-plugins.SlackBuild')
-rw-r--r--graphics/gimp-registry-plugins/gimp-registry-plugins.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/graphics/gimp-registry-plugins/gimp-registry-plugins.SlackBuild b/graphics/gimp-registry-plugins/gimp-registry-plugins.SlackBuild
index a10c96637b..201a589fb7 100644
--- a/graphics/gimp-registry-plugins/gimp-registry-plugins.SlackBuild
+++ b/graphics/gimp-registry-plugins/gimp-registry-plugins.SlackBuild
@@ -5,7 +5,7 @@
# Takes a series of plugins (mostly from the Debian gimp-registry-plugin list)
# plus a couple of extras and extracts them into the relevant gimp directories.
-# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
+# Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,9 +26,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gimp-registry-plugins
-VERSION=0.0.1
+VERSION=0.0.2
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -73,18 +73,20 @@ sed -i '178s|Vignette|Vignette...|' $PKG/usr/share/gimp/2.0/scripts/vignette_0.s
# Change the menu name for the .scm files that fall in the Filters GIMP menu
# to put them in a more ordered menu system.
-sed -i 's|"<Image>/~jp/diana-holga2c|"<Image>/Filters/Registry Plug-Ins/JP/Diana-Holga2c|g' \
+sed -i 's|"<Image>/Filters/jp/diana-holga2c|"<Image>/Filters/Registry/JP/Diana-Holga2c|g' \
$PKG/usr/share/gimp/2.0/scripts/diana-holga2c.scm
-sed -i 's|"<Image>/Filters/Eg"|"<Image>/Filters/Registry Plug-Ins/Eg"|g' \
+sed -i 's|"<Image>/Filters/Eg"|"<Image>/Filters/Registry/Eg"|g' \
$PKG/usr/share/gimp/2.0/scripts/Eg-AddFilmGrain.scm
-sed -i 's|"<Image>/Filters/Eg"|"<Image>/Filters/Registry Plug-Ins/Eg"|g' \
+sed -i 's|"<Image>/Filters/Eg"|"<Image>/Filters/Registry/Eg"|g' \
$PKG/usr/share/gimp/2.0/scripts/Eg-SmartSharpen.scm
-sed -i 's|"<Image>/Filters/Photo|"<Image>/Filters/Registry Plug-Ins/Photography|g' \
+sed -i 's|"<Image>/Filters/Photo|"<Image>/Filters/Registry/Photography|g' \
$PKG/usr/share/gimp/2.0/scripts/exposure-blend-tinyscheme.scm
sed -i 's|"<Image>/Script-Fu/Enhance|"<Image>/Filters/Enhance|g' \
$PKG/usr/share/gimp/2.0/scripts/hdr-eff.scm
sed -i 's|"<Image>/Script-Fu/Enhance|"<Image>/Filters/Enhance|g' \
$PKG/usr/share/gimp/2.0/scripts/hdr-eff-plus.scm
+sed -i 's|"<Image>/Filters/Divide Scanned Images..."|"<Image>/Filters/Registry/Divide Scanned Images..."|' \
+ $PKG/usr/share/gimp/2.0/scripts/DivideScannedImages.scm
# Apply the same "fix" to the .py files
sed -i 's|"<Toolbox>/Xtns/Batch/|"<Toolbox>/Xtns/Photography/|g' \
$PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/contactsheet_0.py