]> Pileus Git - ~andy/gtk/blob - HACKING
I got sick of typing in the same commands over and over, so borrowed
[~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.2d
6                 Available in ftp://ftp.cygnus.com/pub/tromey
7         - GNU libtool 1.0h
8                 Available in ftp://alpha.gnu.org/gnu/
9
10 These should be available by ftp from prep.ai.mit.edu or any of the
11 fine GNU mirrors.  Beta software can be found at alpha.gnu.org.
12
13 If you are accessing gtk+ via CVS, then you will need to take several
14 steps to get it to compile.  You can do all these steps at once
15 by running:
16
17         cvsroot/gtk+# ./autogen.sh
18    
19 Basically this does the following for you:
20
21         cvsroot/gtk+# aclocal; automake; autoconf
22         cvsroot/gtk+/glib# aclocal; automake; autoconf
23
24         The above commands create the "configure" script.  Now you
25         can run the configure script in cvsroot/gtk+ to create all
26         the Makefiles.  You only need to call "configure" in cvsroot/gtk+ 
27         as the one in glib will be invoked automatically.
28
29 Before running autogen.sh or configure, make sure you have libtool 
30 in your path.  
31
32 Note that autogen.sh runs configure for you.  If you wish to pass
33 options like --prefix=/usr to configure you can give those options
34 to autogen.sh and they will be passed on to configure.
35
36 If at all possible, please use CVS to get the latest development version of
37 gtk+.  You can do the following to get gtk+ from cvs:
38
39    $ export CVSROOT=':pserver:anonymous@cvs.gimp.org:/debian/home/gnomecvs'
40    $ cvs login
41      (there is no password, just hit return)
42    $ cvs -z9 checkout gtk+
43
44 Please submit patches to the gtk-list@redhat.com mailing list (you must
45 subscribe before you post, e-mail gtk-list-request@redhat.com with a
46 subject of "subscribe"). All kinds of contributions are accepted.
47 Patches that you wish to go into the distribution should also be uploaded 
48 to ftp://ftp.gimp.org/incoming.  Follow the rules there for naming your
49 patches. 
50