Subject: gtk+-2.0 pkg-config problem?
To: None <>
From: Jeroen Ruigrok/asmodai <>
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

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


$ 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  


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-)> / asmodai
Free Tibet! | | |
If you would thoroughly know anything, teach it to others...