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:
|
|
|
|
|
2010-11-14 00:21:35 +00:00
|
|
|
http://library.gnome.org/devel/
|
2007-08-17 15:50:10 +00:00
|
|
|
|
2009-03-31 22:49:48 +00:00
|
|
|
Information about using git with GNOME can be found here:
|
2007-08-17 15:50:10 +00:00
|
|
|
|
2009-04-18 19:18:10 +00:00
|
|
|
http://live.gnome.org/Git
|
2007-08-17 15:50:10 +00:00
|
|
|
|
2009-03-31 22:49:48 +00:00
|
|
|
In order to get GIT gtk+ installed on your system, you need to have
|
|
|
|
the most recent GIT 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+.
|
|
|
|
|
2009-03-31 22:49:48 +00:00
|
|
|
If at all possible, please use GIT to get the latest development version of
|
|
|
|
gtk+ and glib. You can do the following to get glib and gtk+ from GIT:
|
2007-08-17 15:50:10 +00:00
|
|
|
|
2009-03-31 22:49:48 +00:00
|
|
|
$ git clone git://git.gnome.org/glib
|
|
|
|
$ git clone git://git.gnome.org/pango
|
|
|
|
$ git clone git://git.gnome.org/atk
|
|
|
|
$ git clone git://git.gnome.org/gtk+
|
2007-08-17 15:50:10 +00:00
|
|
|
|
2009-04-07 23:20:53 +00:00
|
|
|
Note: if you plan to push changes to back to the master repository and
|
|
|
|
have a gnome account, you want to use the following instead:
|
|
|
|
|
|
|
|
$ git clone ssh://<username>@git.gnome.org/git/gtk+
|
|
|
|
|
2009-03-31 22:49:48 +00:00
|
|
|
To compile the GIT 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
|
2009-03-31 22:49:48 +00:00
|
|
|
|
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
|
2009-03-31 22:49:48 +00:00
|
|
|
run the `configure' script in `gtk+/' to create all Makefiles.
|
2007-08-17 15:50:10 +00:00
|
|
|
More information about that in `INSTALL'.
|
1998-01-31 17:43:56 +00:00
|
|
|
|
2009-03-31 22:49:48 +00:00
|
|
|
Before running `autogen.sh' or `configure', make sure you have libtool
|
|
|
|
in your path.
|
1998-01-31 17:43:56 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
2009-03-31 22:49:48 +00:00
|
|
|
For information about submitting patches and pushing changes
|
|
|
|
to GIT, see the `README' and `README.commits' files. In particular,
|
|
|
|
don't, under any circumstances, push anything to GIT before
|
2007-08-23 15:52:59 +00:00
|
|
|
reading and understanding `README.commmits'.
|