[gir-repository] include missing --pkg option for GdkPixbuf, Atk, Poppler



commit 8e07cdf3fd74767cd9063295159921bc7e8edd16
Author: Tommi Komulainen <tko litl com>
Date:   Mon Jun 8 12:29:17 2009 +0100

    include missing --pkg option for GdkPixbuf, Atk, Poppler
    
    Omitting --pkg for the package itself to be scanned can lead to missing
    symbols as (some) header files can not found due to missing compiler
    flags.
    
    http://bugzilla.gnome.org/show_bug.cgi?id=585141
---
 gir/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/gir/Makefile.am b/gir/Makefile.am
index e06a2c9..ed39af1 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -192,6 +192,7 @@ Poppler-0.8.gir: Gdk-2.0.gir Pango-1.0.gir $(INTROSPECTION_SCANNER)
              --output $@ \
              --pkg gdk-2.0 \
              --pkg gobject-2.0 \
+             --pkg poppler-glib \
              $(POPPLER_INCLUDEDIR)/glib/*.h
 BUILT_GIRSOURCES += Poppler-0.8.gir
 endif
@@ -223,6 +224,7 @@ Atk-1.0.gir: $(INTROSPECTION_SCANNER)
 	     --libtool="$(LIBTOOL)" \
              --output $@ \
              --pkg gobject-2.0 \
+             --pkg atk-1.0 \
              -I$(ATK_INCLUDEDIR) \
              $(ATK_INCLUDEDIR)/atk/*.h
 BUILT_GIRSOURCES += Atk-1.0.gir
@@ -256,6 +258,7 @@ GdkPixbuf-2.0.gir: $(INTROSPECTION_SCANNER) GdkPixbuf-custom.c
              --output $@ \
              --pkg gobject-2.0 \
              --pkg gio-2.0 \
+             --pkg gdk-pixbuf-2.0 \
              $(srcdir)/GdkPixbuf-custom.c \
              $(GDKPIXBUF_INCLUDEDIR)/gdk-pixbuf/*.h
 BUILT_GIRSOURCES += GdkPixbuf-2.0.gir



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