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