Bug#443999: Cflags line in gdk-directfb-2.0.pc points to wrong directory: ${libdir}/gtk-2.0/include/ instead of ${libdir}/gtk-2.0/include/directfb/
Loïc Minier
lool at dooz.org
Tue Sep 25 11:57:14 UTC 2007
On Tue, Sep 25, 2007, Yair K wrote:
> This package installs the gdkconfig.h file to
> /usr/lib/gtk-2.0/include/directfb/ , but the Cflags line in
> gdk-directfb-2.0.pc file points to /usr/lib/gtk-2.0/include/ . Both
> directories only contain the gdkconfig.h files (One is installed by this
> package, and the other is installed by libgtk2.0-dev). These gdkconfig.h
> files are different: The one included in the package defines
> GDK_WINDOWING_DIRECTFB, and the other defines GDK_WINDOWING_X11. Software
> which tests for directfb by the means of #ifdef GDK_WINDOWING_DIRECTFB
> will break.
You're correct; it's been on my TODO for a while. What we would
basically need is a way to ./configure the include dir path. I suggest
you workaround this by prepending -I/usr/lib/gtk-2.0/include/directfb
to your cflags.
--
Loïc Minier
More information about the pkg-gnome-maintainers
mailing list