[gnome-games] Changes for gobject-introspection >= 0.9.10



commit 2c07821d5fb9884c3830b1bde46a5ff92b74a576
Author: Edward Sheldrake <ejsheldrake gmail com>
Date:   Wed Oct 13 19:59:14 2010 +0100

    Changes for gobject-introspection >= 0.9.10
    
    gobject-introspection needs to read the gtk-doc comments in the .c files
    and needs --accept-unprefixed to include scores setgid_ functions.

 libgames-support/Makefile.am |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libgames-support/Makefile.am b/libgames-support/Makefile.am
index 4e67879..6b0d4fb 100644
--- a/libgames-support/Makefile.am
+++ b/libgames-support/Makefile.am
@@ -206,7 +206,7 @@ BUILT_GIRSOURCES = GnomeGamesSupport-1.0.gir
 GnomeGamesSupport-1.0.gir: $(INTROSPECTION_SCANNER) libgames-support-gi.la $(libgames_support_gi_la_SOURCES)
 	$(AM_V_GEN) $(INTROSPECTION_SCANNER) -v \
 	--namespace GnomeGamesSupport --nsversion=1.0 \
-	--strip-prefix=Games \
+	--identifier-prefix=Games --symbol-prefix=games_ --accept-unprefixed \
 	--add-include-path=$(srcdir) --add-include=path=. \
 	--include=Clutter-1.0 \
 	--include=Cogl-1.0 \
@@ -218,9 +218,10 @@ GnomeGamesSupport-1.0.gir: $(INTROSPECTION_SCANNER) libgames-support-gi.la $(lib
 	--pkg gtk+-$(GTK_API_VERSION) \
 	--pkg clutter-1.0 \
 	--pkg cogl-1.0 \
+	--warn-all \
 	-I$(top_srcdir) \
 	-I$(top_builddir) \
-	$(filter %.h,$^)
+	$(filter games%,$^)
 
 # FIXMEchpe: this looks bogus. If the introspection.m4 macro gets it wrong, fix it!
 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to



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