[rhythmbox/gobject-introspection: 16/34] process .girs to fix vala typename incompatibilities
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/gobject-introspection: 16/34] process .girs to fix vala typename incompatibilities
- Date: Wed, 14 Jul 2010 05:57:25 +0000 (UTC)
commit fc6bceb921017750ca8bc3f93f0d3c06aa378ec4
Author: Jonathan Matthew <jonathan d14n org>
Date: Tue Jul 13 11:24:05 2010 +1000
process .girs to fix vala typename incompatibilities
almost works now
bindings/vala/Makefile.am | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/bindings/vala/Makefile.am b/bindings/vala/Makefile.am
index 6ecd748..629b631 100644
--- a/bindings/vala/Makefile.am
+++ b/bindings/vala/Makefile.am
@@ -8,10 +8,18 @@ vapi_DATA = \
VAPIGEN_PKG = --pkg atk --pkg gtk+-2.0 --pkg gdk-pixbuf-2.0 --pkg gstreamer-0.10 --pkg libxml-2.0
-rhythmdb.vapi: $(top_builddir)/bindings/gi/RhythmDB-0.13.gir
+RB-0.13.vala.gir: $(top_builddir)/bindings/gi/RB-0.13.gir
+ sed -e 's/libxml2.NodePtr/Xml.Node/' -e 's/GdkPixbuf.Pixbuf/Gdk.Pixbuf/' -e 's/libxml2.Char/utf8/' < $< > $ tmp
+ mv $ tmp $@
+
+RhythmDB-0.13.vala.gir: $(top_builddir)/bindings/gi/RhythmDB-0.13.gir
+ sed -e 's/libxml2.NodePtr/Xml.Node/' -e 's/GdkPixbuf.Pixbuf/Gdk.Pixbuf/' -e 's/libxml2.Char/utf8/' < $< > $ tmp
+ mv $ tmp $@
+
+rhythmdb.vapi: RhythmDB-0.13.vala.gir
$(VAPIGEN) $(VAPIGEN_PKG) --library rhythmdb $<
-rb.vapi: $(top_builddir)/bindings/gi/RB-0.13.gir rhythmdb.vapi
+rb.vapi: RB-0.13.vala.gir rhythmdb.vapi
$(VAPIGEN) $(VAPIGEN_PKG) --vapidir $(top_builddir)/bindings/vala --library rb $<
CLEANFILES = rb.vapi rhythmdb.vapi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]