gdk-pixbuf/gdk-pixbuf-add-gir_PACKAGES.patch

29 lines
1014 B
Diff

From b68e5328451d5d805c44b2e33f7b0f0565f3a572 Mon Sep 17 00:00:00 2001
From: Evan Nemerson <evan@coeus-group.com>
Date: Sat, 20 Nov 2010 09:39:07 -0800
Subject: [PATCH] introspection: Add C include and exported packages information to GIR
https://bugzilla.gnome.org/show_bug.cgi?id=635364
---
gdk-pixbuf/Makefile.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am
index d4105d2..72f4aa5 100644
--- a/gdk-pixbuf/Makefile.am
+++ b/gdk-pixbuf/Makefile.am
@@ -677,7 +677,8 @@ EXTRA_DIST += \
if HAVE_INTROSPECTION
GdkPixbuf-2.0.gir: libgdk_pixbuf-2.0.la Makefile
-GdkPixbuf_2_0_gir_SCANNERFLAGS = --warn-all --strip-prefix=Gdk
+GdkPixbuf_2_0_gir_SCANNERFLAGS = --warn-all --strip-prefix=Gdk --c-include="gdk-pixbuf/gdk-pixdata.h"
+GdkPixbuf_2_0_gir_EXPORT_PACKAGES = gdk-pixbuf-2.0
GdkPixbuf_2_0_gir_INCLUDES = GModule-2.0 Gio-2.0
GdkPixbuf_2_0_gir_LIBS = libgdk_pixbuf-2.0.la
GdkPixbuf_2_0_gir_CFLAGS = $(INCLUDES)
--
1.7.2.3