Blame HACKING

Packit 98cdb6
If you want to hack on the GTK+ project, you'll need to have
Packit 98cdb6
the following packages installed:
Packit 98cdb6
Packit 98cdb6
        - GNU autoconf 2.54
Packit 98cdb6
        - GNU automake 1.7
Packit 98cdb6
        - GNU libtool 1.4
Packit 98cdb6
        - indent (GNU indent 1.9.1 is known good)
Packit 98cdb6
        - GNU gettext 10.40
Packit 98cdb6
Packit 98cdb6
These should be available by ftp from ftp.gnu.org or any of the
Packit 98cdb6
fine GNU mirrors.  Beta software can be found at alpha.gnu.org.
Packit 98cdb6
Packit 98cdb6
Up-to-date instructions about developing GNOME applications and libraries
Packit 98cdb6
can be found here:
Packit 98cdb6
Packit 98cdb6
        http://developer.gnome.org
Packit 98cdb6
Packit 98cdb6
Information about using git with GNOME can be found here:
Packit 98cdb6
Packit 98cdb6
        http://live.gnome.org/Git
Packit 98cdb6
Packit 98cdb6
In order to get GIT gtk+ installed on your system, you need to have
Packit 98cdb6
the most recent GIT versions of glib, pango, and atk installed as well.
Packit 98cdb6
The installation process of these libraries is similar to that of gtk+, but
Packit 98cdb6
needs to be fulfilled prior to installation of gtk+.
Packit 98cdb6
Packit 98cdb6
If at all possible, please use GIT to get the latest development version of
Packit 98cdb6
gtk+ and glib. You can do the following to get glib and gtk+ from GIT:
Packit 98cdb6
Packit 98cdb6
        $ git clone git://git.gnome.org/glib
Packit 98cdb6
        $ git clone git://git.gnome.org/pango
Packit 98cdb6
        $ git clone git://git.gnome.org/atk
Packit 98cdb6
        $ git clone git://git.gnome.org/gtk+
Packit 98cdb6
Packit 98cdb6
Note: if you plan to push changes to back to the master repository and
Packit 98cdb6
have a gnome account, you want to use the following instead:
Packit 98cdb6
Packit 98cdb6
        $ git clone ssh://<username>@git.gnome.org/git/gtk+
Packit 98cdb6
Packit 98cdb6
To compile the GIT version of gtk+ on your system, you will need to take
Packit 98cdb6
several steps to setup the tree for compilation.  You can do all these
Packit 98cdb6
steps at once by running:
Packit 98cdb6
Packit 98cdb6
        gtk+$ ./autogen.sh
Packit 98cdb6
Packit 98cdb6
Basically this does the following for you:
Packit 98cdb6
Packit 98cdb6
        gtk+$ aclocal; automake; autoconf
Packit 98cdb6
Packit 98cdb6
The above commands create the `configure' script.  Now you
Packit 98cdb6
run the `configure' script in `gtk+/' to create all Makefiles.
Packit 98cdb6
More information about that in `INSTALL'.
Packit 98cdb6
Packit 98cdb6
Before running `autogen.sh' or `configure', make sure you have libtool
Packit 98cdb6
in your path.
Packit 98cdb6
Packit 98cdb6
Note that autogen.sh runs configure for you.  If you wish to pass
Packit 98cdb6
options like `--prefix=/usr' to `configure' you can give those options
Packit 98cdb6
to `autogen.sh' and they will be passed on to `configure'.
Packit 98cdb6
Packit 98cdb6
For information about submitting patches and pushing changes
Packit 98cdb6
to GIT, see the `README' and `README.commits' files. In particular,
Packit 98cdb6
don't, under any circumstances, push anything to GIT before
Packit 98cdb6
reading and understanding `README.commmits'.