[gnome-games/gsoc-seed-games] [libgames-support] Use a stand-in GIR for GGZ instead of introspecting GGZ within our namespace
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games/gsoc-seed-games] [libgames-support] Use a stand-in GIR for GGZ instead of introspecting GGZ within our namespace
- Date: Thu, 9 Jul 2009 18:13:10 +0000 (UTC)
commit c4154840d52e4fa5693b2a71a4a344ee9af6df3a
Author: Tim Horton <hortont424 gmail com>
Date: Thu Jul 9 14:11:51 2009 -0400
[libgames-support] Use a stand-in GIR for GGZ instead of introspecting GGZ within our namespace
.gitignore | 1 -
libgames-support/GGZ-1.0.gir | 10 ++++++++++
libgames-support/Makefile.am | 3 ++-
3 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f7c9317..7471d75 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,7 +7,6 @@
*.desktop.in
*.desktop
*.schemas
-*.gir
*.typelib
#
diff --git a/libgames-support/GGZ-1.0.gir b/libgames-support/GGZ-1.0.gir
new file mode 100644
index 0000000..0e5429d
--- /dev/null
+++ b/libgames-support/GGZ-1.0.gir
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<repository version="1.0"
+ xmlns="http://www.gtk.org/introspection/core/1.0"
+ xmlns:c="http://www.gtk.org/introspection/c/1.0">
+ <namespace name="GGZ" version="1.0">
+ <record name="Mod" c:type="GGZMod"/>
+ <record name="Seat" c:type="GGZSeat"/>
+ <record name="SpectatorSeat" c:type="GGZSpectatorSeat"/>
+ </namespace>
+</repository>
diff --git a/libgames-support/Makefile.am b/libgames-support/Makefile.am
index bc9c246..91f4b8a 100644
--- a/libgames-support/Makefile.am
+++ b/libgames-support/Makefile.am
@@ -302,13 +302,14 @@ GnomeGamesSupport-1.0.gir: $(INTROSPECTION_SCANNER) libgames-support.la
--include=Clutter-$(CLUTTER_API_VERSION) \
--include=Cogl-$(CLUTTER_API_VERSION) \
--include=Gtk-2.0 \
+ --include=GGZ-1.0 \
--library=games-support \
--output $@ \
--pkg gobject-2.0 \
--pkg gtk+-2.0 \
--pkg clutter-$(CLUTTER_API_VERSION) \
--pkg cogl-$(CLUTTER_API_VERSION) \
- $(libgames_support_la_SOURCES) /usr/include/ggz*.h
+ $(libgames_support_la_SOURCES)
BUILT_GIRSOURCES += GnomeGamesSupport-1.0.gir
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]