GdkPixbuf pkgconfig file


I did a unit test for GdkPixbuf, and I think I came across a bug
within the gdk-pixbuf-2.0.pc file.

When trying to build the following piece of code:

#include <gdk/gdkpixbuf.h>
int main ()
  return 0;

with pkg-config --cflags --libs gdk-pixbuf-2.0 it will fail with these

mike ~/devel/tests/gdkpixbuf  $  LANG=C gcc `pkg-config --cflags --libs
gdk-pixbuf-2.0` deps.c -o deps In file included from deps.c:1:
/usr/include/gtk-2.0/gdk/gdkpixbuf.h:34:19: error: cairo.h: No such
file or directory In file included
from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:35, from deps.c:1:
/usr/include/gtk-2.0/gdk/gdktypes.h:37:25: error: pango/pango.h: No
such file or directory /usr/include/gtk-2.0/gdk/gdktypes.h:55:23:
error: gdkconfig.h: No such file or directory

I'm not sure if I should report this on not, but it is here. I can file
a bug if you think it is important. I think it should require gdk-2.0,
and as an example it is just like gio requires glib.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]