X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=HACKING;h=4a3ea44d36c5d8b4b8f4c95962a00dfabac6d1e2;hb=e0d30ee141c3a269ee4f74769e48c722633c324c;hp=22eaa0a0c235a219083331f6a6b7d79e3b9b9a0a;hpb=a11062b2d9716dffa537906a03ce0f57b71ef656;p=~andy%2Fgtk diff --git a/HACKING b/HACKING index 22eaa0a0c..4a3ea44d3 100644 --- a/HACKING +++ b/HACKING @@ -1,50 +1,59 @@ -If you want to hack on the Gtk+ project, it will make you life easier -to have the following packages installed: +If you want to hack on the GTK+ project, you'll need to have +the following packages installed: - - GNU autoconf 2.12 - - GNU automake 1.2d - Available in ftp://ftp.cygnus.com/pub/tromey - - GNU libtool 1.0h - Available in ftp://alpha.gnu.org/gnu/ + - 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 -These should be available by ftp from prep.ai.mit.edu or any of the +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. -If you are accessing gtk+ via CVS, then you will need to take several -steps to get it to compile. You can do all these steps at once -by running: +Up-to-date instructions about developing GNOME applications and libraries +can be found here: - cvsroot/gtk+# ./autogen.sh + 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. +The installation process of these libraries is similar to that of gtk+, but +needs to be fulfilled prior to installation of gtk+. + +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 +several steps to setup the tree for compilation. You can do all these +steps at once by running: + + gtk+$ ./autogen.sh Basically this does the following for you: - cvsroot/gtk+# aclocal; automake; autoconf - cvsroot/gtk+/glib# aclocal; automake; autoconf + gtk+$ aclocal; automake; autoconf - The above commands create the "configure" script. Now you - can run the configure script in cvsroot/gtk+ to create all - the Makefiles. You only need to call "configure" in cvsroot/gtk+ - as the one in glib will be invoked automatically. +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'. -Before running autogen.sh or configure, make sure you have libtool +Before running `autogen.sh' or `configure', make sure you have libtool in your path. 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. - -If at all possible, please use CVS to get the latest development version of -gtk+. You can do the following to get gtk+ from cvs: - - $ export CVSROOT=':pserver:anonymous@cvs.gimp.org:/debian/home/gnomecvs' - $ cvs login - (there is no password, just hit return) - $ cvs -z9 checkout gtk+ - -Please submit patches to the gtk-list@redhat.com mailing list (you must -subscribe before you post, e-mail gtk-list-request@redhat.com with a -subject of "subscribe"). All kinds of contributions are accepted. -Patches that you wish to go into the distribution should also be uploaded -to ftp://ftp.gimp.org/incoming. Follow the rules there for naming your -patches. +options like `--prefix=/usr' to `configure' you can give those options +to `autogen.sh' and they will be passed on to `configure'. +For information about submitting patches and committing changes +to SVN, see the `README' and `README.commits' files. In particular, +don't, under any circumstances, commit anything to SVN before +reading and understanding `README.commmits'.