HACKING 1.68 KB
Newer Older
Manish Singh's avatar
Manish Singh committed
1 2 3 4
If you want to hack on the GIMP project, it will make you life easier
to have the following packages installed:

	- GNU autoconf 2.12
Manish Singh's avatar
Manish Singh committed
5
	- GNU automake 1.3
6
	- GNU libtool 1.2b
Manish Singh's avatar
Manish Singh committed
7 8 9 10

These should be available by ftp from prep.ai.mit.edu or any of the
fine GNU mirrors.  Beta software can be found at alpha.gnu.org.

Sven Neumann's avatar
Sven Neumann committed
11
If you are accessing gimp via CVS, then you will need to take several
12 13
steps to get it to compile.  You can do all these steps at once
by running:
Manish Singh's avatar
Manish Singh committed
14

15
        cvsroot/gimp# ./autogen.sh
Manish Singh's avatar
Manish Singh committed
16

17
Basically this does the following for you:
Manish Singh's avatar
Manish Singh committed
18

19 20 21
        cvsroot/gimp# aclocal; automake; autoconf

        The above commands create the "configure" script.  Now you
22
        can run the configure script in cvsroot/gimp to create all
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
        the Makefiles.

Before running autogen.sh or configure, make sure you have libtool
in your path. Also make sure gtk.m4 is in the same --prefix relative
to your automake installation.

Note that autogen.sh runs configure for you.  If you wish to pass
options like --prefix=/usr to configure you can give those options
to autogen.sh and they will be passed on to configure.

If at all possible, please use CVS to get the latest development version of
gimp, as well as the CVS version of gtk+.  You can do the following to get
gimp and gtk+ from cvs:

   $ export CVSROOT=':pserver:anonymous@cvs.gimp.org:/debian/home/gnomecvs'
   $ cvs login
     (there is no password, just hit return)
   $ cvs -z9 checkout gtk+ gimp

Please submit patches to the gimp-developer@scam.xcf.berkeley.edu mailing
list.  All kinds of contributions are accepted.  Patches that you wish to go
into the distribution should also be uploaded to ftp://ftp.gimp.org/incoming.
Follow the rules there for naming your patches.
Manish Singh's avatar
Manish Singh committed
46