[libsocialweb/vala: 8/9] vala: Make sure the namespace is SocialWebClient and not Sw
- From: Ross Burton <rburton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsocialweb/vala: 8/9] vala: Make sure the namespace is SocialWebClient and not Sw
- Date: Tue, 22 Feb 2011 14:56:36 +0000 (UTC)
commit 3a017bb66530eac2a3d62d73fe35aaf3f4c502f4
Author: Marco Barisione <marco barisione org>
Date: Fri Dec 17 15:09:47 2010 +0000
vala: Make sure the namespace is SocialWebClient and not Sw
Recent vapigen versions seems to think that the namespace should be Sw,
despite the .gir file saying that the namespace is SocialWebClient.
vala/Makefile.am | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vala/Makefile.am b/vala/Makefile.am
index a417d6c..389927c 100644
--- a/vala/Makefile.am
+++ b/vala/Makefile.am
@@ -19,8 +19,10 @@ libsocialweb-client.vapi: $(top_builddir)/libsocialweb-client/SocialWebClient-0.
$< \
$(NULL)
@mv $@ libsocialweb-client.vapi.tmp
- $(AM_V_GEN)sed -e \
- 's/SocialWebClient-0.25.h/libsocialweb-client\/libsocialweb-client-hack-for-vala.h/' \
+ $(AM_V_GEN)sed \
+ '-e s/SocialWebClient-0.25.h/libsocialweb-client\/libsocialweb-client-hack-for-vala.h/' \
+ '-e s/namespace Sw/namespace SocialWebClient/' \
+ '-e s/Sw\./SocialWebClient./g' \
< libsocialweb-client.vapi.tmp > $@
@rm libsocialweb-client.vapi.tmp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]