cleanup
[platform/upstream/glib.git] / HACKING
1 If you want to hack on the GLib project, you'll need to have the
2 following packages installed:
3
4         - GNU autoconf 2.62
5         - GNU automake 1.11
6         - GNU libtool 2.2
7         - GNU gettext 0.10.40
8         - pkg-config 0.16
9         - gtk-doc
10         - libffi 3.0.0
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 To compile a GIT version of glib on your system, you will need to take
16 several steps to setup the tree for compilation.  You can do all these
17 steps at once by running:
18
19         checkout/glib# ./autogen.sh
20
21 Basically this does the following for you:
22
23         checkout/glib# aclocal; automake; autoconf
24
25         The above commands create the "configure" script.  Now you
26         can run the configure script in checkout/glib to create all
27         the Makefiles.
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 For information about submitting patches see the README.commits file. For
37 information about major design decisions, see the README.rationale file.