2001-11-29 17:18:50 +01:00
|
|
|
If you want to hack on the GLib project, you'll need to have the
|
|
|
|
following packages installed:
|
1999-01-21 00:06:30 +01:00
|
|
|
|
2011-12-28 00:10:26 +01:00
|
|
|
- GNU autoconf 2.62
|
|
|
|
- GNU automake 1.11
|
|
|
|
- GNU libtool 2.2
|
2001-11-29 17:18:50 +01:00
|
|
|
- GNU gettext 0.10.40
|
2011-12-28 00:10:26 +01:00
|
|
|
- pkg-config 0.16
|
2007-01-19 16:50:30 +01:00
|
|
|
- gtk-doc
|
2011-12-28 00:10:26 +01:00
|
|
|
- libffi 3.0.0
|
1999-01-21 00:06:30 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2011-12-28 00:10:26 +01:00
|
|
|
To compile a GIT version of glib on your system, you will need to take
|
1999-01-21 00:06:30 +01:00
|
|
|
several steps to setup the tree for compilation. You can do all these
|
|
|
|
steps at once by running:
|
|
|
|
|
2011-12-28 00:10:26 +01:00
|
|
|
checkout/glib# ./autogen.sh
|
|
|
|
|
1999-01-21 00:06:30 +01:00
|
|
|
Basically this does the following for you:
|
|
|
|
|
2011-12-28 00:10:26 +01:00
|
|
|
checkout/glib# aclocal; automake; autoconf
|
1999-01-21 00:06:30 +01:00
|
|
|
|
|
|
|
The above commands create the "configure" script. Now you
|
2011-12-28 00:10:26 +01:00
|
|
|
can run the configure script in checkout/glib to create all
|
|
|
|
the Makefiles.
|
1999-01-21 00:06:30 +01:00
|
|
|
|
2009-04-01 01:39:16 +02:00
|
|
|
Before running autogen.sh or configure, make sure you have libtool
|
|
|
|
in your path.
|
1999-01-21 00:06:30 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2014-05-02 09:42:06 +02:00
|
|
|
For information about submitting patches see the README.commits file. For
|
|
|
|
information about major design decisions, see the README.rationale file.
|