I can give it a try as the weekend is arriving and it's cold outside ;) I don't have the most recent version of GTK nor perl Gtk2. I'm using the stock versions provided by Ubuntu 7.10, which is not even the most recent Ubuntu! I have a few questions:
I hope that this is the right way for sending the patches for the next release of Gtk2. I will reply to the best of my knowledge to my own questions, please correct me if there's a better answer. I hope that this will help all new comers willing to contribute.
What's the URL for perl Gtk2 trunk?
svn co http://svn.gnome.org/svn/perl-Gtk2/trunk Installing the following modules from SVN might help to build the latest Gtk2: http://svn.gnome.org/svn/perl-Glib/trunk http://svn.gnome.org/svn/perl-Pango/trunk In Ubuntu/Debian I had to install the modules this way: perl Makefile.PL INSTALLDIRS=vendor && make && sudo make install PREFIX=/usr It's a pity because this will install the newest version over the existing one. But it should be possible to reinstall the original version of the OS with : sudo apt-get install libglib-perl libgtk2-perl --reinstall
What's the best way for installing the newest Gtk2 and all it's dependencies?
I tried to use jhbuild but it didn't work, so I had to install the Gtk2 libraries over the existing ones :(
How to keep synchronized with the other kind souls that decided to help? Where can I submit the patches for review (mailing list or RT)?
I still don't know, I hope that this mailing list is the right place! I have attached a first patch for GtkCellView. Tomorrow I will continue with the other widgets excluding the StatusIcons which found already a supporter. I took me a while to have the environment setup properly, that's why I only managed to patch one module so far. Tomorrow things should go faster. If it can help some one here's how I manage to do: Once the latest Gtk2 has been checkout and that the build dependencies have been installed the fun can finally start. The best is to build a clean version of Gtk2 (without installing it): perl Makefile.PL INSTALLDIRS=vendor && make Once this has been done. Hack your favorite .xs file and it's corresponding .t file: gedit xs/GtkCellView.xs t/GtkCellView.t To compile and test it's faster to specify the files to build than to do "make". Calling make without arguments will rebuild everything, at least it did so on my system. That's very long and annoying. Instead, for faster results do this: make xs/GtkCellView.c xs/GtkCellView.o blib/arch/auto/Gtk2/Gtk2.so Test the patch "make test" or run the test directly: perl -Iblib/lib -Iblib/arch t/GtkCellView.t Make sure that the proper lib folders are included in @INC otherwise perl will use be mixed up with existing Gtk2 and bad things will happen. Create a patch with: svn diff > /tmp/GtkCellView.patch -- Emmanuel Rodriguez
Description: Text Data