[evolution-data-server] Vala bindings: help vapigen get the correct Xml names



commit 8b0b2342a5fb0832ae7b3271f0e8179967c2b02b
Author: Raul Gutierrez Segales <raul gutierrez segales collabora co uk>
Date:   Wed May 18 17:43:47 2011 +0100

    Vala bindings: help vapigen get the correct Xml names

 vala/Makefile.am       |    6 ++++++
 vala/libebook-1.2.deps |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/vala/Makefile.am b/vala/Makefile.am
index ab072f6..2b7d95a 100644
--- a/vala/Makefile.am
+++ b/vala/Makefile.am
@@ -18,6 +18,12 @@ libedataserver-1.2.vapi: $(top_builddir)/libedataserver/EDataServer-1.2.gir
 		--library libedataserver-1.2 \
 		$< \
 		$(NULL)
+	@mv $@ libedataserver-1.2.vapi.tmp
+	$(AM_V_GEN)sed \
+		'-e s/xml\.NodePtr/Xml\.Node/' \
+		'-e s/xml\.DocPtr/Xml\.Doc/' \
+		< libedataserver-1.2.vapi.tmp > $@
+	@rm  libedataserver-1.2.vapi.tmp
 
 libebook-1.2.vapi: $(top_builddir)/addressbook/libebook/EBook-1.2.gir libedataserver-1.2.vapi
 	$(VAPIGEN_V)$(VAPIGEN) \
diff --git a/vala/libebook-1.2.deps b/vala/libebook-1.2.deps
index 8b13789..1899619 100644
--- a/vala/libebook-1.2.deps
+++ b/vala/libebook-1.2.deps
@@ -1 +1 @@
-
+libxml-2.0



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