]> Pileus Git - ~andy/gtk/blob - HACKING
Patch from Hidetoshi Tajima to fix bad match error when target drawable is
[~andy/gtk] / HACKING
1 If you want to hack on the GTK+ project, you'll need to have
2 the following packages installed:
3
4         - GNU autoconf 2.52
5         - GNU automake 1.4
6         - GNU libtool 1.4
7         - indent (GNU indent 1.9.1 is known good)
8         - GNU gettext 10.40
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, pango, and atk installed as well.
15 The installation process of these libraries 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.gnome.org:/cvs/gnome'
43    $ cvs login
44      (there is no password, just hit return)
45    $ cvs -z3 checkout glib
46    $ cvs -z3 checkout pango
47    $ cvs -z3 checkout atk
48    $ cvs -z3 checkout gtk+
49
50 For information about submitting patches and commiting changes
51 to CVS, see the README and README.cvs-commits files. In particular, 
52 don't, under any circumstances, commit anything to CVS before
53 reading and understanding README.cvs-commmits.
54
55