]> Pileus Git - ~andy/gtk/blob - HACKING
HACKING Updated documentation about SVN, and updated dependency
[~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.54
5         - GNU automake 1.7
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 Up-to-date instructions about developing GNOME applications and libraries
14 can be found here:
15
16         http://developer.gnome.org
17
18 including information about using Subversion with GNOME:
19
20         http://developer.gnome.org/tools/svn.html
21
22 In order to get SVN gtk+ installed on your system, you need to have
23 the most recent SVN versions of glib, pango, and atk installed as well.
24 The installation process of these libraries is similar to that of gtk+, but
25 needs to be fulfilled prior to installation of gtk+.
26
27 If at all possible, please use SVN to get the latest development version of
28 gtk+ and glib.  You can do the following to get glib and gtk+ from SVN:
29
30         $ svn checkout http://svn.gnome.org/svn/glib/trunk glib
31         $ svn checkout http://svn.gnome.org/svn/pango/trunk pango
32         $ svn checkout http://svn.gnome.org/svn/atk/trunk atk
33         $ svn checkout http://svn.gnome.org/svn/gtk+/trunk gtk+
34
35 To compile the SVN version of gtk+ on your system, you will need to take
36 several steps to setup the tree for compilation.  You can do all these
37 steps at once by running:
38
39         gtk+$ ./autogen.sh
40    
41 Basically this does the following for you:
42
43         gtk+$ aclocal; automake; autoconf
44
45 The above commands create the `configure' script.  Now you
46 run the `configure' script in `gtk+/' to create all Makefiles.  
47 More information about that in `INSTALL'.
48
49 Before running `autogen.sh' or `configure', make sure you have libtool 
50 in your path.  
51
52 Note that autogen.sh runs configure for you.  If you wish to pass
53 options like `--prefix=/usr' to `configure' you can give those options
54 to `autogen.sh' and they will be passed on to `configure'.
55
56 For information about submitting patches and committing changes
57 to SVN, see the `README' and `README.cvs-commits' files. In particular, 
58 don't, under any circumstances, commit anything to SVN before
59 reading and understanding `README.cvs-commmits'.