Flávio Alberto Lopes Soares wrote 18 lines
Hello!
You might hack the configure script in the way that it doesn't look for gtk and glib and add `pkg-config gtk+-2.0 --cflags` to the CFLAGS environment variable and 'pkg-config gtk+-2.0 --libs` to LDFLAGS.
A (perhaps) more comfortable way is to change the gtk-config and glib-config file for the moment. Look for a line like:
echo -L/usr/X11R6/lib -lgtk -lgdk $my_glib_libs -lXi ...
comment this line with a # and write the following:
echo `pkg-config gtk+-2.0 --libs`
Look for the line with the cflags and change it to
echo `pkg-config gtk+-2.0 --cflags`
And finally look for a line that sais
--version)
echo 1.2.10
or whatever and note down your version here.
Well, this all is just a really dirty hack but it works. I'd love to see a much simpler way (let's say changing to config file that it looks for GTK2 directly - but I'm not famillar with the config-file).
Good luck with your work,
Ciao
Olaf
