[Spice-commits] gtk/Makefile.am
Marc-André Lureau
elmarco at kemper.freedesktop.org
Fri Sep 30 07:20:18 PDT 2011
gtk/Makefile.am | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 314c6157acf00d1e60b6881883b504b2ceb19cd0
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Fri Sep 30 15:32:47 2011 +0200
build: Add missing <package> and <c:include> in gir
This is required for source-level binding, such as Vala.
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 154e39c..7d197f6 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -571,6 +571,8 @@ SpiceClientGLib_2_0_gir_INCLUDES = GObject-2.0
SpiceClientGLib_2_0_gir_CFLAGS = $(SPICE_COMMON_CPPFLAGS)
SpiceClientGLib_2_0_gir_LIBS = libspice-client-glib-2.0.la
SpiceClientGLib_2_0_gir_FILES = $(glib_introspection_files)
+SpiceClientGLib_2_0_gir_EXPORT_PACKAGES = spice-client-glib-2.0
+SpiceClientGLib_2_0_gir_SCANNERFLAGS = --c-include="spice-client.h"
INTROSPECTION_GIRS += SpiceClientGLib-2.0.gir
if HAVE_GTK_2
@@ -579,12 +581,16 @@ SpiceClientGtk_2_0_gir_INCLUDES = GObject-2.0 Gtk-2.0 SpiceClientGLib-2.0
SpiceClientGtk_2_0_gir_CFLAGS = $(SPICE_COMMON_CPPFLAGS)
SpiceClientGtk_2_0_gir_LIBS = libspice-client-gtk-2.0.la libspice-client-glib-2.0.la
SpiceClientGtk_2_0_gir_FILES = $(gtk_introspection_files)
+SpiceClientGtk_2_0_gir_EXPORT_PACKAGES = spice-client-gtk-2.0
+SpiceClientGtk_2_0_gir_SCANNERFLAGS = --c-include="spice-widget.h"
else
SpiceClientGtk-3.0.gir: libspice-client-gtk-3.0.la SpiceClientGLib-2.0.gir
SpiceClientGtk_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 SpiceClientGLib-2.0
SpiceClientGtk_3_0_gir_CFLAGS = $(SPICE_COMMON_CPPFLAGS)
SpiceClientGtk_3_0_gir_LIBS = libspice-client-gtk-3.0.la libspice-client-glib-2.0.la
SpiceClientGtk_3_0_gir_FILES = $(gtk_introspection_files)
+SpiceClientGtk_3_0_gir_EXPORT_PACKAGES = spice-client-gtk-3.0
+SpiceClientGtk_3_0_gir_SCANNERFLAGS = --c-include="spice-widget.h"
endif
INTROSPECTION_GIRS += SpiceClientGtk-$(SPICE_GTK_API_VERSION).gir
More information about the Spice-commits
mailing list