summaryrefslogtreecommitdiffstats
path: root/graphics/gimp/files
diff options
context:
space:
mode:
authorerich <erich@FreeBSD.org>1997-02-28 19:19:40 +0000
committererich <erich@FreeBSD.org>1997-02-28 19:19:40 +0000
commit563960443759929e538ea4ef0add85bd03f97e22 (patch)
treea96a927dbe2e5d1c60fabe5b442cc61951269935 /graphics/gimp/files
parent36c7cbd735cfcacbe8f6ceadebb3ad428e034e83 (diff)
downloadFreeBSD-ports-563960443759929e538ea4ef0add85bd03f97e22.zip
FreeBSD-ports-563960443759929e538ea4ef0add85bd03f97e22.tar.gz
upgrade to 0.99.1
Diffstat (limited to 'graphics/gimp/files')
-rw-r--r--graphics/gimp/files/patch-aa360
-rw-r--r--graphics/gimp/files/patch-ab145
-rw-r--r--graphics/gimp/files/patch-ac61
-rw-r--r--graphics/gimp/files/patch-ah208
4 files changed, 195 insertions, 579 deletions
diff --git a/graphics/gimp/files/patch-aa b/graphics/gimp/files/patch-aa
index 729403d..0ce6cf4 100644
--- a/graphics/gimp/files/patch-aa
+++ b/graphics/gimp/files/patch-aa
@@ -1,261 +1,99 @@
---- gimprc.in~ Mon Nov 18 09:56:00 1996
-+++ gimprc.in Mon Nov 18 09:55:52 1996
-@@ -0,0 +1,258 @@
-+# Lines that start with a '#' are comments.
-+# Blank lines are ignored.
-+
-+# Set the temporary storage directory...files will appear here
-+# during the course of running the gimp. Most files will disappear
-+# when the gimp exits, but some files are likely to remain,
-+# such as working palette files, so it is best if this directory
-+# not be one that is shared by other users or is cleared on machine
-+# reboot such as /tmp.
-+temp-path "~/.gimp/tmp"
-+
-+# Set the brush search path...this path will be searched for valid
-+# brushes at startup.
-+brush-path "~/.gimp/brushes:@prefix@/share/gimp/brushes"
-+
-+# Specify a default brush. If none is specified it defaults to the
-+# "1circle.gbr" brush which is just a single pixel sized brush.
-+# The brush is searched for in the brush path.
-+default-brush "19fcircle.gbr"
-+
-+# Set the pattern search path...this path will be searched for valid
-+# patterns at startup.
-+pattern-path "~/.gimp/patterns:@prefix@/share/gimp/patterns"
-+
-+# Specify a default pattern.
-+# The pattern is searched for in the specified pattern paths.
-+default-pattern "wood2.pat"
-+
-+# Set the palette search path...this path will be searched for valid
-+# palettes at startup.
-+palette-path "~/.gimp/palettes:@prefix@/share/gimp/palettes"
-+
-+# Specify a default palette.
-+# The pattern is searched for in the specified pattern paths.
-+default-palette "Default"
-+
-+# Set the gradient search path...this path will be searched for valid
-+# gradients at startup.
-+gradient-path "~/.gimp/gradients:@prefix@/share/gimp/gradients"
-+
-+# Specify a default gradient.
-+# The gradient is searched for in the specified gradient paths.
-+default-gradient "German_flag_smooth"
-+
-+# Set the plug-in search path...this path will be searched for
-+# plug-ins when the plug-in is run.
-+plug-in-path "~/.gimp/plug-ins:@prefix@/libexec/gimp/plug-ins"
-+
-+# Speed of marching ants in the selection outline
-+# this value is in milliseconds
-+# (less time indicates faster marching)
-+marching-ants-speed 300
-+
-+# Set the number of operations kept on the undo stack
-+undo-levels 5
-+
-+# Set the color-cube resource for dithering on 8-bit displays
-+# The 3 values stand for Shades of red, green, and blue
-+# Multiplying the # of shades of each primary color yields
-+# the total number of colors that will be allocated from the
-+# gimp colormap. This number should not exceed 256. Most of the
-+# colors remaining after the allocation of the colorcube
-+# will be left to the system palette in an effort to reduce
-+# colormap "flashing".
-+color-cube 6, 6, 4
-+
-+# Install a GIMP colormap by default -- only for 8-bit displays
-+# install-colormap
-+
-+# Specify that marching ants for selected regions will be drawn
-+# with colormap cycling as oposed to redrawing with different stipple masks
-+# this color cycling option works only with 8-bit displays
-+# colormap-cycling
-+
-+# Tools such as fuzzy-select and bucket fill find regions based on a
-+# seed-fill algorithm. The seed fill starts at the intially selected
-+# pixel and progresses in all directions until the difference of pixel
-+# intensity from the original is greater than a specified threshold
-+# ==> This value represents the default threshold
-+default-threshold 15
-+
-+# There is always a tradeoff between memory usage and speed. In most
-+# cases, the GIMP opts for speed over memory. However, if memory is
-+# a big issue, set stingy-memory-use
-+# stingy-memory-use
-+
-+# When zooming into and out of images, this option enables the
-+# automatic resizing of windows
-+# allow-resize-windows
-+
-+# Context-dependent cursors are cool. They are enabled by default.
-+# However, they require overhead that you may want to do without.
-+# Uncomment this line to disable them.
-+# no-cursor-updating
-+
-+# Layer preview sizes:
-+# None: no previews in layers dialog/layer selector
-+# Small: 32x32
-+# Medium: 64x64
-+# Large: 128x128
-+# #: #x#
-+preview-size Medium
-+
-+# Controlling ruler visibility
-+# The default behavior is for rulers to be ON
-+# This can also be toggled with the View->Show Rulers command or shift+control+r
-+# dont-show-rulers
-+
-+# Disable auto saving
-+# Just uncomment the line below...
-+# dont-auto-save
-+
-+# Set the gamma correction values for the display
-+# 1.0 corresponds to no gamma correction. For most displays,
-+# gamma correction should be set to between 2.0 and 2.6
-+# Run the utility "gamma_correct" to determine appropriate values
-+# for your display.
-+#
-+# One important item to keep in mind: Many images that you might
-+# get from outside sources will in all likelihood already be
-+# gamma-corrected. In these cases, the image will look washed-out
-+# if the gimp has gamma-correction turned on. If you are going
-+# to work with images of this sort, turn gamma correction off
-+# by removing this line, or setting the values to 1.0.
-+# gamma-correction 1.0
-+# gamma-correction 2.0
-+# ___
-+gamma-correction 1.6
-+
-+# Set the manner in which transparency is displayed in images
-+# Transparency type can be one of:
-+# 0: Light Checks
-+# 1: Mid-Tone Checks
-+# 2: Dark Checks
-+# 3: White Only
-+# 4: Gray Only
-+# 5: Black Only
-+# Check size can be one of:
-+# 0: Small
-+# 1: Medium
-+# 2: Large
-+transparency-type 1
-+transparency-size 2
-+
-+# Notify the GIMP of the available file plug-ins.
-+# The format of the line is as follows:
-+# file-plug-in <image types> <plug-in name> <plug-in title> <extensions>
-+# The `image types' argument specifies what types of images the
-+# plug-in can save. It is a 3 digit number where each digit is 0 or
-+# 1. The digits correspond to `indexed images', `grayscale images'
-+# and `rgb images' respectively. For example, the "jpeg" file plug-in
-+# can save rgb and grayscale images but not indexed color, so the
-+# image types argument is 011.
-+# The `plug-in name' is the name of the plug-in program.
-+# The `plug-in title' is the title of the program is it will appear
-+# from the GIMP. This will most likely be the name of the plug-in.
-+# The `extensions' are a comma separated string of extensions. These
-+# are used by the GIMP to map file names to images.
-+# Note: case does not matter for extensions.
-+
-+file-plug-in jpeg 011 "jpeg" "jpg,jpeg"
-+file-plug-in png 111 "png" "png"
-+file-plug-in gif 110 "gif" "gif"
-+file-plug-in tiff 111 "tiff" "tiff,tif"
-+file-plug-in tga 111 "tga" "tga,targa"
-+file-plug-in gbrush 010 "brush" "gbr"
-+file-plug-in gpattern 010 "pattern" "pat,gpat"
-+file-plug-in gicon 010 "gicon" "gic,gico"
-+file-plug-in xpm 110 "xpm" "xpm"
-+file-plug-in pnm 111 "pnm" "pgm,ppm,pbm"
-+file-plug-in matlab 010 "matlab" "m"
-+file-plug-in yuv411 001 "yuv" "yuv"
-+
-+# Notify the GIMP of plug-ins that will exist in the `plug-ins' menu.
-+# The format of the line is as follows:
-+# plug-in <plug-in name> <menu location> <accelerator>
-+# The `plug-in name' is the name of the plug-in program.
-+# The `menu location' is the item name and location in the plug-in
-+# menu. A slash indicates a submenu. Therefore, the menu location
-+# "Blur/Blur" specifies an item name of "Blur" in a submenu entitled
-+# "Blur". Multiple submenus are possible. If a menu already exists
-+# the item is simply placed in that menu. Menu items are placed in
-+# alphabetically sorted order in menus.
-+# The `accelerator' is a string which designates a key combination
-+# which will invoke the plug-in. The format should be clear by
-+# inspection. This string is optional.
-+#
-+# It is convention to only use the `alt' and `shift' key modifiers for
-+# plug-ins. The `control' key is used as a modifier for menu items by
-+# the main application. The main application will not use the `alt'
-+# or `shift' key modifiers.
-+
-+plug-in blur "Blur/Blur"
-+plug-in blur2 "Blur/Blur (variable)" "Alt<Key>B"
-+plug-in gauss_recurse "Blur/Gaussian Blur (IIR)" "Shift Alt<Key>B"
-+plug-in gauss "Blur/Gaussian Blur (RLE)"
-+plug-in mblur "Blur/Motion Blur"
-+
-+plug-in charcoal "Effects/Artistic/Charcoal" "Shift Alt<Key>H"
-+plug-in cubism "Effects/Artistic/Cubism" "Shift Alt<Key>U"
-+plug-in mosaic "Effects/Artistic/Mosaic" "Alt<Key>M"
-+plug-in oilify "Effects/Artistic/Oilify"
-+plug-in sparkle "Effects/Artistic/Sparkle"
-+plug-in lic "Effects/Artistic/Van-Goghify"
-+plug-in bleed "Effects/Image/Bleed"
-+plug-in c_astretch "Effects/Image/Contrast Auto-Stretch"
-+plug-in enhance "Effects/Image/Enhance" "Shift Alt<Key>E"
-+plug-in gamma "Effects/Image/Gamma" "Alt<Key>G"
-+plug-in grayify "Effects/Image/Grayify"
-+plug-in invert "Effects/Image/Invert" "Alt<Key>I"
-+plug-in solarize "Effects/Image/Solarize" "Alt<Key>1"
-+plug-in bumpmap "Effects/Lighting/Bump Map" "Alt<Key>2"
-+plug-in displace "Effects/Lighting/Displace" "Alt<Key>3"
-+plug-in lighting "Effects/Lighting/Lighting" "Alt<Key>4"
-+plug-in edge "Effects/Misc Ops/Edge Detect" "Alt<Key>E"
-+plug-in engrave "Effects/Misc Ops/Engrave"
-+plug-in extrude "Effects/Misc Ops/Extrude"
-+plug-in pixelize "Effects/Misc Ops/Pixelize"
-+plug-in relief "Effects/Misc Ops/Relief" "Alt<Key>R"
-+plug-in checkerboard "Effects/Textures/Checkerboard"
-+plug-in plasma "Effects/Textures/Plasma"
-+plug-in texture2 "Effects/Textures/Texture II"
-+
-+plug-in despeckle "Distorts/Despeckle"
-+plug-in map_sphere "Distorts/Map Sphere"
-+plug-in noisify "Distorts/Noise"
-+plug-in pagecurl "Distorts/Page Curl" "Alt<Key>U"
-+plug-in pinch "Distorts/Pinch" "Alt<Key>P"
-+plug-in ripple "Distorts/Ripple"
-+plug-in shift "Distorts/Shift"
-+plug-in spread "Distorts/Spread"
-+plug-in whirl "Distorts/Whirl" "Alt<Key>W"
-+plug-in waves "Distorts/Waves"
-+
-+plug-in compose "Conversions/Compose"
-+plug-in decompose "Conversions/Decompose"
-+plug-in to-color "Conversions/To Color" "Shift Alt<Key>C"
-+plug-in to-gray "Conversions/To Grayscale" "Shift Alt<Key>G"
-+plug-in to-indexed "Conversions/To Indexed" "Shift Alt<Key>I"
-+
-+plug-in autocrop "Transforms/Autocrop"
-+plug-in flip_horz "Transforms/Flip Horizontal" "Alt<Key>H"
-+plug-in flip_vert "Transforms/Flip Vertical" "Alt<Key>V"
-+plug-in polar "Transforms/Polar"
-+plug-in rotate "Transforms/Rotate"
-+plug-in scale "Transforms/Scale" "Shift Alt<Key>S"
-+plug-in tile "Transforms/Tile" "Alt<Key>T"
-+plug-in tiler "Transforms/Tiler" "Alt<Key>T"
-+
-+plug-in blend "Channel Ops/Blend"
-+plug-in calculations "Channel Ops/Calculations" "Alt<Key>C"
-+plug-in duplicate "Channel Ops/Duplicate" "Alt<Key>D"
-+plug-in offset "Channel Ops/Offset" "Alt<Key>O"
-+
-+plug-in netpbm "Miscellaneous/Netpbm Filter" "Shift Alt<Key>N"
-+plug-in rms_error "Miscellaneous/RMS Error"
-+plug-in photocd "Miscellaneous/Photo CD"
-+plug-in octave_srv "Miscellaneous/Octave Server"
+--- plug-ins/Makefile.in.orig Thu Feb 27 05:41:52 1997
++++ plug-ins/Makefile.in Thu Feb 27 08:46:09 1997
+@@ -28,6 +28,7 @@
+
+ pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
++pkglibexecdir = $(libexecdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+
+ top_builddir = ..
+@@ -58,7 +59,7 @@
+ X_LDFLAGS =
+ X_LIBS =
+
+-pluginlibdir = $(pkglibdir)/plug-ins
++pluginlibdir = $(pkglibexecdir)/plug-ins
+
+ pluginlib_PROGRAMS = \
+ blur \
+--- ./app/batch.c~ Mon Feb 24 14:38:51 1997
++++ ./app/batch.c Wed Feb 26 08:51:05 1997
+@@ -3,7 +3,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+-
++#include <errno.h>
+ #include "appenv.h"
+ #include "app_procs.h"
+ #include "batch.h"
+--- ./app/xcf.c~ Wed Feb 26 05:21:25 1997
++++ ./app/xcf.c Wed Feb 26 09:07:30 1997
+@@ -1,3 +1,4 @@
++#include <sys/types.h>
+ #include <netinet/in.h>
+ #include <stdarg.h>
+ #include <stdio.h>
+--- configure.orig Thu Feb 27 09:55:32 1997
++++ configure Thu Feb 27 09:55:40 1997
+@@ -609,7 +609,7 @@
+
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+-
++INSTALL_SCRIPT="/usr/bin/install -c -m 755"
+ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
+
+
+@@ -2040,7 +2040,7 @@
+ CFLAGS="$OPTFLAG $CFLAGS"
+
+ gimpdatadir=$datadir/$PACKAGE
+-gimpplugindir=$libdir/$PACKAGE
++gimpplugindir=$libexecdir/$PACKAGE
+
+
+
+--- gtk+/configure~ Thu Feb 27 03:09:52 1997
++++ gtk+/configure Thu Feb 27 15:10:18 1997
+@@ -569,6 +569,7 @@
+ # ./install, which can be erroneously created by make from ./install.sh.
+ echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+ echo "configure:572: checking for a BSD compatible install" >&5
++INSTALL="/usr/bin/install -c"
+ if test -z "$INSTALL"; then
+ if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+--- gtk+/glib/configure~ Thu Feb 27 15:32:15 1997
++++ gtk+/glib/configure Thu Feb 27 15:32:47 1997
+@@ -559,6 +559,7 @@
+ # ./install, which can be erroneously created by make from ./install.sh.
+ echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+ echo "configure:562: checking for a BSD compatible install" >&5
++INSTALL="/usr/bin/install -c"
+ if test -z "$INSTALL"; then
+ if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+--- plug-ins/script-fu/Makefile.in.orig Thu Feb 27 20:47:10 1997
++++ plug-ins/script-fu/Makefile.in Thu Feb 27 20:46:30 1997
+@@ -59,7 +59,7 @@
+
+ SUBDIRS = scripts
+
+-pluginlibdir = $(pkglibdir)/plug-ins
++pluginlibdir = $(gimpplugindir)/plug-ins
+
+ pluginlib_PROGRAMS = script-fu
+
+*** /tmp/gimp-0.99.1/app/gimprc.c Thu Feb 27 06:43:10 1997
+--- ./app/gimprc.c Thu Feb 27 16:41:19 1997
+***************
+*** 159,161 ****
+
+! sprintf (libfilename, "%s/gimprc", LIBDIR);
+ parse_gimprc_file (libfilename);
+--- 159,161 ----
+
+! sprintf (libfilename, "%s/gimprc", DATADIR);
+ parse_gimprc_file (libfilename);
diff --git a/graphics/gimp/files/patch-ab b/graphics/gimp/files/patch-ab
index ac5e597..f4579f7 100644
--- a/graphics/gimp/files/patch-ab
+++ b/graphics/gimp/files/patch-ab
@@ -1,49 +1,96 @@
---- app/fileops.c~ Mon Nov 18 09:57:19 1996
-+++ app/fileops.c Mon Nov 18 09:58:01 1996
-@@ -289,7 +289,7 @@
- gtk_file_selection_set_ok_callback (filesel, file_open_ok_callback, open_options);
- gtk_file_selection_set_cancel_callback (filesel, file_cancel_callback, open_options);
-
-- if (gdisp && gdisp->gimage->has_filename)
-+ if (gdisp && gdisp->gimage && gdisp->gimage->has_filename)
- gtk_file_selection_set_filename (filesel, gimage_filename (gdisp->gimage));
-
- gtk_widget_show (filesel);
-@@ -297,7 +297,7 @@
-
- if (! GTK_WIDGET_VISIBLE (filesel))
- {
-- if (gdisp && gdisp->gimage->has_filename)
-+ if (gdisp && gdisp->gimage && gdisp->gimage->has_filename)
- gtk_file_selection_set_filename (filesel, gimage_filename (gdisp->gimage));
- gtk_widget_show (filesel);
- }
-@@ -353,7 +353,7 @@
- gtk_file_selection_set_ok_callback (filesel, file_save_ok_callback, save_options);
- gtk_file_selection_set_cancel_callback (filesel, file_cancel_callback, save_options);
-
-- if (gdisplay && gdisplay->gimage->has_filename)
-+ if (gdisplay && gdisplay->gimage && gdisplay->gimage->has_filename)
- gtk_file_selection_set_filename (filesel, gimage_filename (gdisplay->gimage));
-
- gtk_widget_show (filesel);
-@@ -363,7 +363,7 @@
-
- if (! GTK_WIDGET_VISIBLE (filesel))
- {
-- if (gdisplay && gdisplay->gimage->has_filename)
-+ if (gdisplay && gdisplay->gimage && gdisplay->gimage->has_filename)
- gtk_file_selection_set_filename (filesel, gimage_filename (gdisplay->gimage));
-
- gtk_widget_show (filesel);
---- app/progress.c~ Mon Nov 18 11:03:58 1996
-+++ app/progress.c Mon Nov 18 11:04:07 1996
-@@ -57,7 +57,7 @@
- progress->callback_data = callback_data;
- progress->pixmap = NULL;
-
-- progress->shell = gtk_window_new (title, GTK_WINDOW_TOPLEVEL);
-+ progress->shell = gtk_window_new (title, GTK_WINDOW_DIALOG);
- gtk_widget_set_uposition (progress->shell, progress_x, progress_y);
- main_vbox = gtk_vbox_new (FALSE, 5);
- gtk_container_add (progress->shell, main_vbox);
+--- plug-ins/script-fu/scripts/Makefile.in.orig Fri Feb 28 09:09:07 1997
++++ plug-ins/script-fu/scripts/Makefile.in Fri Feb 28 09:07:40 1997
+@@ -51,17 +51,17 @@
+ scriptdatadir = $(pkgdatadir)/scripts
+
+ scriptdata_DATA = \
+- alien-glow.scm \
+- bds-logo-textured.scm \
+- blend-logo.scm \
+- chrome.scm \
+- chrome-it.scm \
+- chrome2.scm \
+- ds-logo.scm \
+- frozen-text.scm \
+- hds-logo.scm \
+- neon.scm \
+- sphere.scm \
++ alien-glow.sed \
++ bds-logo-textured.sed \
++ blend-logo.sed \
++ chrome.sed \
++ chrome-it.sed \
++ chrome2.sed \
++ ds-logo.sed \
++ frozen-text.sed \
++ hds-logo.sed \
++ neon.sed \
++ sphere.sed \
+ beavis.jpg
+
+ EXTRA_DIST = $(scriptdata_DATA)
+@@ -79,7 +79,7 @@
+ TAR = tar
+ default: all
+
+-.SUFFIXES:
++.SUFFIXES: .sed
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
+ cd $(top_srcdir) && automake --gnu plug-ins/script-fu/scripts/Makefile
+
+@@ -87,17 +87,18 @@
+ cd $(top_builddir) \
+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+-
+ install-scriptdataDATA: $(scriptdata_DATA)
+ $(NORMAL_INSTALL)
+ $(mkinstalldirs) $(scriptdatadir)
+- @list="$(scriptdata_DATA)"; for p in $$list; do \
+- if test -f $(srcdir)/$$p; then \
+- echo "$(INSTALL_DATA) $(srcdir)/$$p $(scriptdatadir)/$$p"; \
+- $(INSTALL_DATA) $(srcdir)/$$p $(scriptdatadir)/$$p; \
+- else if test -f $$p; then \
+- echo "$(INSTALL_DATA) $$p $(scriptdatadir)/$$p"; \
+- $(INSTALL_DATA) $$p $(scriptdatadir)/$$p; \
++ @list="$(scriptdata_DATA)"; for s in $$list; do \
++ p=$$(basename $$s .sed); \
++ if [ $$p != $$s ]; then p=$$p.scm; fi; \
++ if test -f $(srcdir)/$$s; then \
++ echo "$(INSTALL_DATA) $(srcdir)/$$s $(scriptdatadir)/$$p"; \
++ $(INSTALL_DATA) $(srcdir)/$$s $(scriptdatadir)/$$p; \
++ else if test -f $$s; then \
++ echo "$(INSTALL_DATA) $$s $(scriptdatadir)/$$p"; \
++ $(INSTALL_DATA) $$s $(scriptdatadir)/$$p; \
+ fi; fi; \
+ done
+
+@@ -184,3 +184,7 @@
+ # 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.
+ .NOEXPORT:
++
++
++%.sed : %.scm
++ sed 's,@_prefix_@,${prefix},' $< > $@
+--- plug-ins/script-fu/scripts/chrome-it.scm.orig Wed Feb 26 22:51:31 1997
++++ plug-ins/script-fu/scripts/chrome-it.scm Fri Feb 28 09:01:38 1997
+@@ -153,5 +153,5 @@
+ (gimp-displays-flush)
+ (gimp-image-enable-undo img)))
+
+-(script-fu-register "sota-chrome-it" "SOTA Chrome-IT (Gold Trim)" "Input Image" "1" "Highlight Color" "'(211 95 0)" "Chrome Color" "'(0 27 209)" "Chrome Saturation" "-80" "Chrome Lightness" "-47" "Chrome Factor" "0.75" "Environment Map" "\"/usr/local/share/gimp/scripts/beavis.jpg\"")
+-(script-fu-register "sota-chrome-it" "SOTA Chrome-IT (Copper Trim)" "Input Image" "1" "Highlight Color" "'(220 50 -20)" "Chrome Color" "'(0 0 0)" "Chrome Saturation" "0" "Chrome Lightness" "0" "Chrome Factor" "0.75" "Environment Map" "\"/usr/local/share/gimp/scripts/beavis.jpg\"")
++(script-fu-register "sota-chrome-it" "SOTA Chrome-IT (Gold Trim)" "Input Image" "1" "Highlight Color" "'(211 95 0)" "Chrome Color" "'(0 27 209)" "Chrome Saturation" "-80" "Chrome Lightness" "-47" "Chrome Factor" "0.75" "Environment Map" "\"@_prefix_@/share/gimp/scripts/beavis.jpg\"")
++(script-fu-register "sota-chrome-it" "SOTA Chrome-IT (Copper Trim)" "Input Image" "1" "Highlight Color" "'(220 50 -20)" "Chrome Color" "'(0 0 0)" "Chrome Saturation" "0" "Chrome Lightness" "0" "Chrome Factor" "0.75" "Environment Map" "\"@_prefix_@/share/gimp/scripts/beavis.jpg\"")
+--- plug-ins/script-fu/scripts/chrome2.scm.orig Wed Feb 26 20:57:57 1997
++++ plug-ins/script-fu/scripts/chrome2.scm Fri Feb 28 09:01:38 1997
+@@ -161,6 +161,6 @@
+ (gimp-image-enable-undo img)
+ (gimp-display-new img)))
+
+-(script-fu-register "sota-chrome-logo" "SOTA Chromed Logos (Gold Trim)" "Highlight Color" "'(211 95 0)" "Chrome Color" "'(0 27 209)" "Chrome Saturation" "-80" "Chrome Lightness" "-47" "Chrome Factor" "0.75" "Text String" "\"The GIMP\"" "Font Size (in pixels)" "150" "Font" "\"GoodCityModern(kbd)\"" "Environment Map" "\"/usr/local/share/gimp/scripts/beavis.jpg\"")
++(script-fu-register "sota-chrome-logo" "SOTA Chromed Logos (Gold Trim)" "Highlight Color" "'(211 95 0)" "Chrome Color" "'(0 27 209)" "Chrome Saturation" "-80" "Chrome Lightness" "-47" "Chrome Factor" "0.75" "Text String" "\"The GIMP\"" "Font Size (in pixels)" "150" "Font" "\"GoodCityModern(kbd)\"" "Environment Map" "\"@_prefix_@/share/gimp/scripts/beavis.jpg\"")
+
+-(script-fu-register "sota-chrome-logo" "SOTA Chromed Logos (Copper Trim)" "Highlight Color" "'(220 50 -20)" "Chrome Color" "'(0 0 0)" "Chrome Saturation" "0" "Chrome Lightness" "0" "Chrome Factor" "0.75" "Text String" "\"The GIMP\"" "Font Size (in pixels)" "150" "Font" "\"RoostHeavy\"" "Environment Map" "\"/usr/local/share/gimp/scripts/beavis.jpg\"")
++(script-fu-register "sota-chrome-logo" "SOTA Chromed Logos (Copper Trim)" "Highlight Color" "'(220 50 -20)" "Chrome Color" "'(0 0 0)" "Chrome Saturation" "0" "Chrome Lightness" "0" "Chrome Factor" "0.75" "Text String" "\"The GIMP\"" "Font Size (in pixels)" "150" "Font" "\"RoostHeavy\"" "Environment Map" "\"@_prefix_@/share/gimp/scripts/beavis.jpg\"")
diff --git a/graphics/gimp/files/patch-ac b/graphics/gimp/files/patch-ac
deleted file mode 100644
index 7e5a184..0000000
--- a/graphics/gimp/files/patch-ac
+++ /dev/null
@@ -1,61 +0,0 @@
---- configure~ Mon Nov 18 10:20:48 1996
-+++ configure Mon Nov 18 10:21:54 1996
-@@ -2324,7 +2324,7 @@
- EOF
- cat >> $CONFIG_STATUS <<EOF
-
--CONFIG_FILES=\${CONFIG_FILES-"Makefile app/Makefile plug-ins/Makefile"}
-+CONFIG_FILES=\${CONFIG_FILES-"Makefile app/Makefile plug-ins/Makefile gimprc"}
- EOF
- cat >> $CONFIG_STATUS <<\EOF
- for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
---- configure.in~ Mon Nov 18 10:37:13 1996
-+++ configure.in Mon Nov 18 10:37:25 1996
-@@ -221,4 +221,4 @@
- AC_SUBST(_SHLIBS_)
-
- dnl Output the Makefiles
--AC_OUTPUT(Makefile app/Makefile plug-ins/Makefile)
-+AC_OUTPUT(Makefile app/Makefile plug-ins/Makefile gimprc)
---- Makefile.in~ Mon Nov 18 11:11:16 1996
-+++ Makefile.in Mon Nov 18 11:12:22 1996
-@@ -16,7 +16,7 @@
- # set the MAKE variable if necessary
- @SET_MAKE@
-
--INSTALL = ./install-sh -c
-+INSTALL = /usr/bin/install -c
-
- all:
- ( cd gtk ; $(MAKE) )
-@@ -24,22 +24,22 @@
- ( cd app ; $(MAKE) )
-
- install:
-- $(INSTALL) -d $(libdir)/gimp
-- $(INSTALL) -d $(libdir)/gimp/brushes
-- $(INSTALL) -m 644 gimprc $(libdir)/gimp
-+ $(INSTALL) -d $(datadir)/gimp
-+ $(INSTALL) -d $(datadir)/gimp/brushes
-+ $(INSTALL) -m 644 gimprc $(datadir)/gimp
- for brush in brushes/*; do \
- echo $$brush; \
-- $(INSTALL) -m 644 "$$brush" $(libdir)/gimp/brushes; \
-+ $(INSTALL) -m 644 "$$brush" $(datadir)/gimp/brushes; \
- done
-- $(INSTALL) -d $(libdir)/gimp/palettes
-+ $(INSTALL) -d $(datadir)/gimp/palettes
- for palette in palettes/*; do \
- echo $$palette; \
-- $(INSTALL) -m 644 "$$palette" $(libdir)/gimp/palettes; \
-+ $(INSTALL) -m 644 "$$palette" $(datadir)/gimp/palettes; \
- done
-- $(INSTALL) -d $(libdir)/gimp/patterns
-+ $(INSTALL) -d $(datadir)/gimp/patterns
- for pattern in patterns/*; do \
- echo $$pattern; \
-- $(INSTALL) -m 644 "$$pattern" $(libdir)/gimp/patterns; \
-+ $(INSTALL) -m 644 "$$pattern" $(datadir)/gimp/patterns; \
- done
- ( cd plug-ins ; $(MAKE) install )
- ( cd app ; $(MAKE) install )
diff --git a/graphics/gimp/files/patch-ah b/graphics/gimp/files/patch-ah
deleted file mode 100644
index 8e508d8..0000000
--- a/graphics/gimp/files/patch-ah
+++ /dev/null
@@ -1,208 +0,0 @@
---- app/autodialog.c.old Fri Nov 22 15:46:44 1996
-+++ app/autodialog.c Fri Nov 22 18:08:40 1996
-@@ -49,7 +49,7 @@
- /* Local functions */
- static AutoDialogItem dialog_find_item (AutoDialog, int);
- static void dialog_delete_children (AutoDialog, AutoDialogItem);
--static GtkWidget *dialog_create_image_menu (AutoDialog, char *, gpointer,
-+static GtkWidget *dialog_create_image_menu (AutoDialog, AutoDialogItem, char *, gpointer,
- GtkWidget **, GtkWidget **);
-
- /* Callback and Update functions */
-@@ -171,7 +171,8 @@
- {
- dlgitem = tmplink->data;
- tmplink = tmplink->next;
--
-+ if (dlgitem->additional_data!=NULL)
-+ xfree(dlgitem->additional_data);
- xfree (dlgitem);
- }
- free_list (dlg->items);
-@@ -206,6 +207,7 @@
- item->item_ID = dlg->next_item_ID++;
- item->item_type = type;
- memset (item->data, 0, 32);
-+ item->additional_data=NULL;
- item->parent = parent_item;
- item->children = NULL;
- item->gtk_data = NULL;
-@@ -276,7 +278,7 @@
- break;
-
- case ITEM_IMAGE_MENU:
-- item_widget = dialog_create_image_menu (dlg, data, extra, &option_menu, &menu);
-+ item_widget = dialog_create_image_menu (dlg, item, data, extra, &option_menu, &menu);
- break;
-
- case ITEM_SCALE:
-@@ -500,7 +502,8 @@
- }
- else
- gtk_widget_destroy (item->widget);
--
-+ if (item->additional_data!=NULL)
-+ xfree(item->additional_data);
- xfree (item);
- }
- }
-@@ -577,9 +580,32 @@
- free_list (item->children);
- }
-
-+typedef struct {
-+ GtkWidget *widget;
-+ long data[2];
-+} _MenuItemData;
-+
-+gint CheckConstrains(GImage *gimage,GImage *constrain,guchar constraint)
-+{
-+ if (((constraint & IMAGE_CONSTRAIN_RGB) &&
-+ (gimage_type (gimage) == RGB_GIMAGE ||
-+ gimage_type (gimage) == RGBA_GIMAGE)) ||
-+ ((constraint & IMAGE_CONSTRAIN_GRAY) &&
-+ (gimage_type (gimage) == GRAY_GIMAGE ||
-+ gimage_type (gimage) == GRAYA_GIMAGE)) ||
-+ ((constraint & IMAGE_CONSTRAIN_INDEXED) &&
-+ (gimage_type (gimage) == INDEXED_GIMAGE ||
-+ gimage_type (gimage) == INDEXEDA_GIMAGE)))
-+ if ((gimage->width == constrain->width) &&
-+ (gimage->height == constrain->height))
-+ return(TRUE);
-+ return(FALSE);
-+}
-+
- static GtkWidget *
--dialog_create_image_menu (dlg, title, image, option_menu, menu)
-+dialog_create_image_menu (dlg, item, title, image, option_menu, menu)
- AutoDialog dlg;
-+ AutoDialogItem item;
- char *title;
- void *image;
- GtkWidget **option_menu;
-@@ -597,8 +623,8 @@
- char constraint;
- link_ptr tmp;
- long ID;
-- long *data;
- int num_items = 0;
-+ _MenuItemData *ItemData;
-
- hbox = gtk_hbox_new (FALSE, 4);
- gtk_container_set_border_width (hbox, 0);
-@@ -614,43 +640,55 @@
- constrain = (ID == 0) ? image : gimage_get_ID (ID);
-
- tmp = image_list;
-+
-+ /* Check how many images fit the criteria */
-+ /* ====================================== */
-+
- while (tmp)
- {
- gimage = tmp->data;
- tmp = next_item (tmp);
--
-- if (((constraint & IMAGE_CONSTRAIN_RGB) &&
-- (gimage_type (gimage) == RGB_GIMAGE ||
-- gimage_type (gimage) == RGBA_GIMAGE)) ||
-- ((constraint & IMAGE_CONSTRAIN_GRAY) &&
-- (gimage_type (gimage) == GRAY_GIMAGE ||
-- gimage_type (gimage) == GRAYA_GIMAGE)) ||
-- ((constraint & IMAGE_CONSTRAIN_INDEXED) &&
-- (gimage_type (gimage) == INDEXED_GIMAGE ||
-- gimage_type (gimage) == INDEXEDA_GIMAGE)))
-- if ((gimage->width == constrain->width) &&
-- (gimage->height == constrain->height))
-- {
-- image_name = prune_filename (gimage_filename (gimage));
-- menu_item_label = (char *) xmalloc (strlen (image_name) + 15);
-- sprintf (menu_item_label, "%s-%d", image_name, gimage->ID);
-- menu_item = gtk_menu_item_new_with_label (menu_item_label);
-- gtk_callback_add (gtk_menu_item_get_state (menu_item),
-- dialog_image_menu_callback, dlg);
-- gtk_container_add (*menu, menu_item);
-- gtk_widget_show (menu_item);
--
-- data = xmalloc (sizeof (long) * 2);
-- data[0] = dlg->next_item_ID - 1;
-- data[1] = (gimage->ID == constrain->ID) ? 0 : gimage->ID;
-- dlg->additional_data = data;
--
-- xfree (menu_item_label);
-- num_items ++;
-- }
-+ if (CheckConstrains(gimage,constrain,constraint)==TRUE)
-+ num_items++;
- }
-
-- if (!num_items)
-+ /* If we found any matches, allocate memory to hold */
-+ /* callback data. Put a pointer in "item" to avoid leak. */
-+ /* ===================================================== */
-+
-+ if (num_items>0)
-+ {
-+ ItemData=(_MenuItemData *)xmalloc(sizeof(_MenuItemData)*(size_t)num_items);
-+ item->additional_data=ItemData;
-+
-+ tmp=image_list;
-+ num_items=0;
-+ while (tmp)
-+ {
-+ gimage = tmp->data;
-+ tmp = next_item (tmp);
-+ if (CheckConstrains(gimage,constrain,constraint)==TRUE)
-+ {
-+ image_name = prune_filename (gimage_filename (gimage));
-+ menu_item_label = (char *) xmalloc (strlen (image_name) + 15);
-+ sprintf (menu_item_label, "%s-%d", image_name, gimage->ID);
-+
-+ ItemData[num_items].widget=hbox;
-+ ItemData[num_items].data[0] = dlg->next_item_ID - 1;
-+ ItemData[num_items].data[1] = (gimage->ID == constrain->ID) ? 0 : gimage->ID;
-+
-+ menu_item = gtk_menu_item_new_with_label (menu_item_label);
-+ gtk_callback_add (gtk_menu_item_get_state (menu_item),dialog_image_menu_callback,
-+ (gpointer)&ItemData[num_items]);
-+ gtk_container_add (*menu, menu_item);
-+ gtk_widget_show (menu_item);
-+
-+ xfree (menu_item_label);
-+ num_items ++;
-+ }
-+ }
-+ }
-+ else
- {
- menu_item = gtk_menu_item_new_with_label ("none");
- gtk_container_add (*menu, menu_item);
-@@ -669,14 +707,14 @@
- gpointer client_data;
- gpointer call_data;
- {
-+ _MenuItemData *ItemData;
- AutoDialog dlg;
-- long *data;
-
-- dlg = client_data;
-- data = (long *) dlg->additional_data;
-+ ItemData=(_MenuItemData *)client_data;
-+ dlg = (AutoDialog) gtk_widget_get_user_data (ItemData->widget);
-
- if (dlg->callback)
-- (* dlg->callback) (dlg->dialog_ID, data[0], dlg->callback_data, &data[1]);
-+ (* dlg->callback) (dlg->dialog_ID,ItemData->data[0],dlg->callback_data,&ItemData->data[1]);
- }
-
- static void
---- app/autodialog.h.old Fri Nov 22 15:46:47 1996
-+++ app/autodialog.h Fri Nov 22 17:21:19 1996
-@@ -49,6 +49,7 @@
- int item_ID;
- int item_type;
- char data[32];
-+ void *additional_data;
- AutoDialogItem parent;
- link_ptr children;
- GtkWidget *widget;
OpenPOWER on IntegriCloud