2001-11-30 21:14:07 +00:00
|
|
|
If you want to hack on the GTK+ project, you'll need to have
|
|
|
|
the following packages installed:
|
1998-01-01 18:57:04 +00:00
|
|
|
|
2007-08-17 15:50:10 +00:00
|
|
|
- GNU autoconf 2.54
|
|
|
|
- GNU automake 1.7
|
|
|
|
- GNU libtool 1.4
|
|
|
|
- indent (GNU indent 1.9.1 is known good)
|
|
|
|
- GNU gettext 10.40
|
1998-01-01 18:57:04 +00:00
|
|
|
|
1998-04-14 01:10:04 +00:00
|
|
|
These should be available by ftp from ftp.gnu.org or any of the
|
1998-01-01 18:57:04 +00:00
|
|
|
fine GNU mirrors. Beta software can be found at alpha.gnu.org.
|
|
|
|
|
2007-08-17 15:50:10 +00:00
|
|
|
Up-to-date instructions about developing GNOME applications and libraries
|
|
|
|
can be found here:
|
|
|
|
|
|
|
|
http://developer.gnome.org
|
|
|
|
|
|
|
|
including information about using Subversion with GNOME:
|
|
|
|
|
|
|
|
http://developer.gnome.org/tools/svn.html
|
|
|
|
|
|
|
|
In order to get SVN gtk+ installed on your system, you need to have
|
|
|
|
the most recent SVN versions of glib, pango, and atk installed as well.
|
2001-05-03 20:11:14 +00:00
|
|
|
The installation process of these libraries is similar to that of gtk+, but
|
1998-08-17 00:40:55 +00:00
|
|
|
needs to be fulfilled prior to installation of gtk+.
|
|
|
|
|
2007-08-17 15:50:10 +00:00
|
|
|
If at all possible, please use SVN to get the latest development version of
|
|
|
|
gtk+ and glib. You can do the following to get glib and gtk+ from SVN:
|
|
|
|
|
|
|
|
$ svn checkout http://svn.gnome.org/svn/glib/trunk glib
|
|
|
|
$ svn checkout http://svn.gnome.org/svn/pango/trunk pango
|
|
|
|
$ svn checkout http://svn.gnome.org/svn/atk/trunk atk
|
|
|
|
$ svn checkout http://svn.gnome.org/svn/gtk+/trunk gtk+
|
|
|
|
|
|
|
|
To compile the SVN version of gtk+ on your system, you will need to take
|
1998-08-17 00:40:55 +00:00
|
|
|
several steps to setup the tree for compilation. You can do all these
|
|
|
|
steps at once by running:
|
1998-01-01 18:57:04 +00:00
|
|
|
|
2007-08-17 15:50:10 +00:00
|
|
|
gtk+$ ./autogen.sh
|
1998-01-31 17:43:56 +00:00
|
|
|
|
|
|
|
Basically this does the following for you:
|
|
|
|
|
2007-08-17 15:50:10 +00:00
|
|
|
gtk+$ aclocal; automake; autoconf
|
1998-01-01 18:57:04 +00:00
|
|
|
|
2007-08-17 15:50:10 +00:00
|
|
|
The above commands create the `configure' script. Now you
|
|
|
|
run the `configure' script in `gtk+/' to create all Makefiles.
|
|
|
|
More information about that in `INSTALL'.
|
1998-01-31 17:43:56 +00:00
|
|
|
|
2007-08-17 15:50:10 +00:00
|
|
|
Before running `autogen.sh' or `configure', make sure you have libtool
|
1998-01-31 17:43:56 +00:00
|
|
|
in your path.
|
|
|
|
|
|
|
|
Note that autogen.sh runs configure for you. If you wish to pass
|
2007-08-17 15:50:10 +00:00
|
|
|
options like `--prefix=/usr' to `configure' you can give those options
|
|
|
|
to `autogen.sh' and they will be passed on to `configure'.
|
2001-04-17 19:19:09 +00:00
|
|
|
|
2006-10-08 05:07:55 +00:00
|
|
|
For information about submitting patches and committing changes
|
2007-08-17 15:50:10 +00:00
|
|
|
to SVN, see the `README' and `README.cvs-commits' files. In particular,
|
|
|
|
don't, under any circumstances, commit anything to SVN before
|
|
|
|
reading and understanding `README.cvs-commmits'.
|