[next] telepathy-haze: Use im.telepathy.v1 namespace

Simon McVittie smcv at kemper.freedesktop.org
Tue Nov 12 03:35:20 PST 2013


Module: telepathy-haze
Branch: next
Commit: 8266acb975d4999e847f4eb2d0659998b5b5a82e
URL:    http://cgit.freedesktop.org/telepathy/telepathy-haze/commit/?id=8266acb975d4999e847f4eb2d0659998b5b5a82e

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Nov 12 11:31:12 2013 +0000

Use im.telepathy.v1 namespace

Reviewed-by: Xavier Claessens <xavier.claessens at collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71262
[depend on telepathy-glib 0.99.5 to stay in sync -smcv]
Signed-off-by: Simon McVittie <simon.mcvittie at collabora.co.uk>

---

 .gitignore                                         |    4 ++--
 configure.ac                                       |    2 +-
 data/Makefile.am                                   |    4 ++--
 ...tionManager.haze.service.in => haze.service.in} |    0
 src/im-channel.c                                   |    2 +-
 tests/twisted/constants.py                         |    2 +-
 tests/twisted/tools/Makefile.am                    |    4 ++--
 tests/twisted/tools/haze.service.in                |    2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.gitignore b/.gitignore
index 862af51..c6fd34a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,7 +13,7 @@ config.h
 config.h.in
 cscope.out
 stamp-h1
-data/im.telepathy1.ConnectionManager.haze.service
+data/im.telepathy.v1.ConnectionManager.haze.service
 depcomp
 /extensions/extensions.html
 install-sh
@@ -33,7 +33,7 @@ src/telepathy-haze
 src/telepathy-haze.8
 tags
 /tests/haze-testing.log
-/tests/twisted/tools/im.telepathy1.ConnectionManager.haze.service
+/tests/twisted/tools/im.telepathy.v1.ConnectionManager.haze.service
 /tests/twisted/tools/tmp-session-bus.conf
 /tests/twisted/config.py
 /tests/twisted/haze-twisted-tests.list
diff --git a/configure.ac b/configure.ac
index 10c0b10..b5542e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,7 +79,7 @@ PKG_CHECK_MODULES(DBUS_GLIB,[dbus-glib-1 >= 0.73])
 AC_DEFINE([TP_SEAL_ENABLE], [], [Prevent to use sealed variables])
 AC_DEFINE([TP_VERSION_MIN_REQUIRED], [TP_VERSION_1_0], [Ignore post 1.0 deprecations])
 AC_DEFINE([TP_VERSION_MAX_ALLOWED], [TP_VERSION_1_0], [Prevent post 1.0 APIs])
-PKG_CHECK_MODULES([TP_GLIB], [telepathy-glib-1 >= 0.99.2, telepathy-glib-1-dbus >= 0.99.2])
+PKG_CHECK_MODULES([TP_GLIB], [telepathy-glib-1 >= 0.99.5, telepathy-glib-1-dbus >= 0.99.5])
 
 dnl MIN_REQUIRED must stay to 2.30 because of GValueArray
 AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_30], [Ignore post 2.30 deprecations])
diff --git a/data/Makefile.am b/data/Makefile.am
index dfe09f1..ec715f7 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,7 +1,7 @@
 # Dbus service file
 servicedir = $(datadir)/dbus-1/services
-service_in_files = im.telepathy1.ConnectionManager.haze.service.in
-service_DATA = $(service_in_files:.service.in=.service)
+service_in_files = haze.service.in
+service_DATA = im.telepathy.v1.ConnectionManager.haze.service
 
 BUILT_FILES = $(service_DATA)
 
diff --git a/data/im.telepathy1.ConnectionManager.haze.service.in b/data/haze.service.in
similarity index 100%
rename from data/im.telepathy1.ConnectionManager.haze.service.in
rename to data/haze.service.in
diff --git a/src/im-channel.c b/src/im-channel.c
index 4ab9afe..7321ff6 100644
--- a/src/im-channel.c
+++ b/src/im-channel.c
@@ -111,7 +111,7 @@ haze_im_channel_get_interfaces (TpBaseChannel *base)
  * haze_im_channel_destroy
  *
  * Implements D-Bus method Destroy
- * on interface im.telepathy1.Channel.Interface.Destroyable
+ * on interface im.telepathy.v1.Channel.Interface.Destroyable
  */
 static void
 haze_im_channel_destroy (TpSvcChannelInterfaceDestroyable1 *iface,
diff --git a/tests/twisted/constants.py b/tests/twisted/constants.py
index e72c592..a9181ac 100644
--- a/tests/twisted/constants.py
+++ b/tests/twisted/constants.py
@@ -22,7 +22,7 @@ Some handy constants for other tests to share and enjoy.
 
 from dbus import PROPERTIES_IFACE, INTROSPECTABLE_IFACE
 
-PREFIX = "im.telepathy1"
+PREFIX = "im.telepathy.v1"
 PATH_PREFIX = '/' + PREFIX.replace('.', '/')
 
 tp_name_prefix = PREFIX
diff --git a/tests/twisted/tools/Makefile.am b/tests/twisted/tools/Makefile.am
index c64e7c1..8e928e1 100644
--- a/tests/twisted/tools/Makefile.am
+++ b/tests/twisted/tools/Makefile.am
@@ -4,13 +4,13 @@
 # We don't use the full filename for the .in because > 99 character filenames
 # in tarballs are non-portable (and automake 1.8 doesn't let us build
 # non-archaic tarballs)
-im.telepathy1.ConnectionManager.%.service: %.service.in
+im.telepathy.v1.ConnectionManager.%.service: %.service.in
 	$(AM_V_GEN)sed -e "s|[@]abs_top_builddir[@]|@abs_top_builddir@|g" \
 		-e "s|[@]abs_top_srcdir[@]|@abs_top_srcdir@|g" $< > $@
 
 # D-Bus service file for testing
 service_in_files = haze.service.in
-service_files = im.telepathy1.ConnectionManager.haze.service
+service_files = im.telepathy.v1.ConnectionManager.haze.service
 
 # D-Bus config file for testing
 conf_in_files = tmp-session-bus.conf.in
diff --git a/tests/twisted/tools/haze.service.in b/tests/twisted/tools/haze.service.in
index 8c3cea7..d106060 100644
--- a/tests/twisted/tools/haze.service.in
+++ b/tests/twisted/tools/haze.service.in
@@ -1,3 +1,3 @@
 [D-BUS Service]
-Name=im.telepathy1.ConnectionManager.haze
+Name=im.telepathy.v1.ConnectionManager.haze
 Exec=@abs_top_srcdir@/tests/twisted/tools/exec-with-log.sh @abs_top_srcdir@ @abs_top_builddir@



More information about the telepathy-commits mailing list