HACKING 1.08 KB
Newer Older
1 2
If you want to hack on the GLib project, you'll need to have the
following packages installed:
Manish Singh's avatar
Manish Singh committed
3

4 5
	- GNU autoconf 2.54
	- GNU automake 1.7
6
	- GNU libtool 1.4
7
        - GNU gettext 0.10.40
8
        - gtk-doc
Manish Singh's avatar
Manish Singh committed
9 10 11 12 13 14 15 16 17

These should be available by ftp from ftp.gnu.org or any of the
fine GNU mirrors.  Beta software can be found at alpha.gnu.org.

To compile a CVS version of glib on your system, you will need to take
several steps to setup the tree for compilation.  You can do all these
steps at once by running:

        cvsroot/glib# ./autogen.sh
18
 
Manish Singh's avatar
Manish Singh committed
19 20 21 22 23 24 25 26
Basically this does the following for you:

  	cvsroot/glib# aclocal; automake; autoconf

        The above commands create the "configure" script.  Now you
	can run the configure script in cvsroot/glib to create all
	the Makefiles.

27 28
Before running autogen.sh or configure, make sure you have libtool
in your path.
Manish Singh's avatar
Manish Singh committed
29 30 31 32 33

Note that autogen.sh runs configure for you.  If you wish to pass
options like --prefix=/usr to configure you can give those options
to autogen.sh and they will be passed on to configure.

34
For information about submitting patches see the README file.