17 Mar 11:13
GTK2 version of xfplan - diffs of first try
Richard Metzger <richardmetzger <at> web.de>
2010-03-17 10:13:58 GMT
2010-03-17 10:13:58 GMT
Hi, I thought I try xfplan a bit, just to find out, that the 0.8 .deb seems to have some prereqs, that I'm missing on Ubuntu 9.10. So I went ahead and checked out from CVS just to discover that GTK V1 is needed. Having done a little bit of GTK1->2 conversion work before, I thought I try it again. With the following DIFFs it seems to build and run fine. Kind regards, Richard. --- xfplan/Makefile 2009-12-25 01:57:32.000000000 +0100 +++ ../xfplan/Makefile 2010-03-16 16:38:10.000000000 +0100 @@ -128,7 +128,8 @@ # --------------------------------------------------------------------------- # Define which directories contain the graphics header files. The lines # below are for the Gnome and no gui cases; -GFX_INCLUDE = $(shell gnome-config --cflags glib gtk gnome gnomeui) +#GFX_INCLUDE = $(shell gnome-config --cflags glib gtk gnome gnomeui) +GFX_INCLUDE = $(shell pkg-config --cflags glib-2.0 gtk+-2.0 libgnome-2.0 libgnomeui-2.0) #GFX_INCLUDE = -I/usr/openwin/include #GFX_INCLUDE = @@ -136,7 +137,7 @@ # Define which graphics libraries are required when linking the executable. # The lines below are for the Gnome, and no previewer cases; #GFX_LIBS = $(shell gnome-config --libs glib gtk gnome gnomeui) -GFX_LIBS = -L/usr/lib -lgnomeui -lgtk -lgdk -lX11 -lgnome +GFX_LIBS = -L/usr/lib -lgnomeui-2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lX11 -lgnome-2(Continue reading)
RSS Feed