This is the Gradient-Fu patch for The GIMP version 1.2.0. It adds
procedural datbase procedures for manipulating gradients, so gradients can
be created and modified using script-fu scripts, plug-ins (including perl
plug-ins) and other mechanisms that can access the PDB.

It was tested on version 1.2.0 of the GIMP.

I hope you will find it useful.

	Shlomi Fish
        
Installation:
-------------

To get things done you'll need the GIMP's 1.2.0 (and possibly later) sources. 
Afterwards, unpack the archive of this patch in some directory. For the 
reminder of this document I'll assume the directory this patch resides in is 
/home/shlomi/Download/gradient-fu-1.2.0/.

To apply this patch do the following:

1. cd to the gimp's directory (E.G: "cd /home/shlomi/Download/gimp-1.2.0")

2. Set the shell variable PATCH_PATH to the directory in which this
patch resides. In bash type:

PATCH_PATH=/home/shlomi/Download/gradient-fu-1.2.0

and in tcsh:

set PATCH_PATH=/home/shlomi/Download/gradient-fu-1.2.0

3. Run the following command:

sh "$PATCH_PATH"/apply_patch.sh "$PATCH_PATH" "$CONFIGURE_OPTIONS"

where $CONFIGURE_OPTIONS are the options that should be passed to 
the configure script. (For example "--prefix=/usr").

4. Now you can invoke "make" and "make install".


Copyright Issues:
-----------------

The files "plug-ins/script-fu/scripts/rainbow-strips.scm" and 
"plug-ins/perl/examples/perl_rainbow_strips.pl" which are created by the
patch are distributed under the public domain. Hence they are not
copyrighted and may be freely distributed, modified, copyrighted, used, etc.
without any restrictions whatsoever.

The rest of the patch and the file "gradient.c" are distributed under
the ever-so-hated GNU General Public License (GPL). Its text can be
found in the file COPYING in this archive.
