]> Pileus Git - ~andy/gtk/blob - HACKING
HACKING we need libtool 1.2b now
[~andy/gtk] / HACKING
1 If you want to hack on the Gtk+ project, it will make you life easier
2 to have the following packages installed:
3
4         - GNU autoconf 2.12
5         - GNU automake 1.3
6                 (Beta releases are at ftp://ftp.cygnus.com/pub/tromey)
7         - GNU libtool 1.2b
8         - indent (GNU indent 1.9.1 is known good)
9
10 These should be available by ftp from ftp.gnu.org or any of the
11 fine GNU mirrors.  Beta software can be found at alpha.gnu.org.
12
13 In order to get CVS gtk+ installed on your system, you need to have
14 the most recent CVS version of glib installed as well.
15 The installation process of glib is similar to that of gtk+, but
16 needs to be fulfilled prior to installation of gtk+.
17
18 To compile a CVS version of gtk+ on your system, you will need to take
19 several steps to setup the tree for compilation.  You can do all these
20 steps at once by running:
21
22         cvsroot/gtk+# ./autogen.sh
23    
24 Basically this does the following for you:
25
26         cvsroot/gtk+# aclocal; automake; autoconf
27
28         The above commands create the "configure" script.  Now you
29         can run the configure script in cvsroot/gtk+ to create all
30         the Makefiles.
31
32 Before running autogen.sh or configure, make sure you have libtool 
33 in your path.  
34
35 Note that autogen.sh runs configure for you.  If you wish to pass
36 options like --prefix=/usr to configure you can give those options
37 to autogen.sh and they will be passed on to configure.
38
39 If at all possible, please use CVS to get the latest development version of
40 gtk+ and glib.  You can do the following to get glib and gtk+ from cvs:
41
42    $ export CVSROOT=':pserver:anonymous@cvs.gimp.org:/debian/home/gnomecvs'
43    $ cvs login
44      (there is no password, just hit return)
45    $ cvs -z9 checkout glib
46    $ cvs -z9 checkout gtk+
47
48 Please submit patches to the gtk-list@redhat.com mailing list (you must
49 subscribe before you post, e-mail gtk-list-request@redhat.com with a
50 subject of "subscribe"). All kinds of contributions are accepted.
51 Patches that you wish to go into the distribution should also be uploaded 
52 to ftp://ftp.gimp.org/incoming.  Follow the rules there for naming your
53 patches. 
54