Subject: gtk+-2.0 pkg-config problem?
To: None <tech-pkg@netbsd.org>
From: Jeroen Ruigrok/asmodai <asmodai@in-nomine.org>
List: tech-pkg
Date: 10/05/2005 15:50:17
For some weird reason when I do:

$ pkg-config --cflags gtk+-2.0    

I get

-I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/glib-2.0
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include
-I/usr/pkg/include/freetype2  

Which does NOT include -I/usr/pkg/xorg/include and thus breaks applications
expecting the xorg includes to be specified as well.

whereas:

$ pkg-config --cflags gtk+    
-I/usr/pkg/include/gtk-1.2 -I/usr/pkg/xorg/include
-I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include  

does.

Geert's output of pkg-config --cflags gtk+-2.0 did include the xorg/include
-I specifier (he has 2.6.10).

I am using DragonFly with pkgsrc HEAD, he's on Q3 though.

Might this be due to the recent gtk2 upgrade (I have gtk2+-2.8.4 installed)?

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
Free Tibet! http://www.savetibet.org/ | http://www.andf.info/
http://www.tendra.org/ | http://www.in-nomine.org/ | catcher@in-nomine.org
If you would thoroughly know anything, teach it to others...