HACKING 1.25 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 6
        - GNU autoconf 2.62
        - GNU automake 1.11
        - GNU libtool 2.2
7
        - GNU gettext 0.10.40
8
        - pkg-config 0.16
9
        - gtk-doc
10
        - libffi 3.0.0
Manish Singh's avatar
Manish Singh committed
11 12 13 14

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.

15
To compile a GIT version of glib on your system, you will need to take
Manish Singh's avatar
Manish Singh committed
16 17 18
several steps to setup the tree for compilation.  You can do all these
steps at once by running:

19 20
        checkout/glib# ./autogen.sh

Manish Singh's avatar
Manish Singh committed
21 22
Basically this does the following for you:

23
        checkout/glib# aclocal; automake; autoconf
Manish Singh's avatar
Manish Singh committed
24 25

        The above commands create the "configure" script.  Now you
26 27
        can run the configure script in checkout/glib to create all
        the Makefiles.
Manish Singh's avatar
Manish Singh committed
28

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

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.

36
For information about submitting patches see the CONTRIBUTING.md file. For
37
information about major design decisions, see the README.rationale file.