[14481] | 1 | If you want to hack on the Gtk+ project, it will make you life easier |
---|
| 2 | to have the following packages installed: |
---|
| 3 | |
---|
| 4 | - GNU autoconf 2.13 |
---|
| 5 | - GNU automake 1.4 |
---|
| 6 | (Beta releases are at ftp://ftp.cygnus.com/pub/tromey) |
---|
| 7 | - GNU libtool 1.2d |
---|
| 8 | - indent (GNU indent 1.9.1 is known good) |
---|
| 9 | - GNU gettext 10.35 |
---|
| 10 | Available in ftp://alpha.gnu.org/gnu |
---|
| 11 | |
---|
| 12 | These should be available by ftp from ftp.gnu.org or any of the |
---|
| 13 | fine GNU mirrors. Beta software can be found at alpha.gnu.org. |
---|
| 14 | |
---|
| 15 | In order to get CVS gtk+ installed on your system, you need to have |
---|
| 16 | the most recent CVS version of glib installed as well. |
---|
| 17 | The installation process of glib is similar to that of gtk+, but |
---|
| 18 | needs to be fulfilled prior to installation of gtk+. |
---|
| 19 | |
---|
| 20 | To compile a CVS version of gtk+ on your system, you will need to take |
---|
| 21 | several steps to setup the tree for compilation. You can do all these |
---|
| 22 | steps at once by running: |
---|
| 23 | |
---|
| 24 | cvsroot/gtk+# ./autogen.sh |
---|
| 25 | |
---|
| 26 | Basically this does the following for you: |
---|
| 27 | |
---|
| 28 | cvsroot/gtk+# aclocal; automake; autoconf |
---|
| 29 | |
---|
| 30 | The above commands create the "configure" script. Now you |
---|
| 31 | can run the configure script in cvsroot/gtk+ to create all |
---|
| 32 | the Makefiles. |
---|
| 33 | |
---|
| 34 | Before running autogen.sh or configure, make sure you have libtool |
---|
| 35 | in your path. |
---|
| 36 | |
---|
| 37 | Note that autogen.sh runs configure for you. If you wish to pass |
---|
| 38 | options like --prefix=/usr to configure you can give those options |
---|
| 39 | to autogen.sh and they will be passed on to configure. |
---|
| 40 | |
---|
| 41 | If at all possible, please use CVS to get the latest development version of |
---|
| 42 | gtk+ and glib. You can do the following to get glib and gtk+ from cvs: |
---|
| 43 | |
---|
[15780] | 44 | $ export CVSROOT=':pserver:anonymous@cvs.gnome.org:/cvs/gnome' |
---|
[14481] | 45 | $ cvs login |
---|
| 46 | (there is no password, just hit return) |
---|
[15780] | 47 | $ cvs -z3 checkout glib |
---|
| 48 | $ cvs -z3 checkout gtk+ |
---|
[14481] | 49 | |
---|
[15780] | 50 | For information about submitting patches and commiting changes |
---|
| 51 | to CVS, see the README and README.cvs-commits files. In particular, |
---|
| 52 | don't, under any circumstances, commit anything to CVS before |
---|
| 53 | reading and understanding README.cvs-commmits. |
---|
[14481] | 54 | |
---|
[15780] | 55 | |
---|