summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-11-11 20:30:20 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-11-11 20:30:20 +0000
commit69ceb2ac6e10914ca21ffbeff94c98b13db72117 (patch)
tree6e614b2cc845baf148fcad58d04a3d31168ec6de
parenta81971606e157696af851224db77c54d6015996b (diff)
Re-namespace to im.telepathy.v1
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71262 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk> [depend on telepathy-glib 0.99.5 now that I'm releasing it -smcv] Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--.gitignore2
-rw-r--r--configure.ac2
-rw-r--r--data/Makefile.am4
-rw-r--r--data/gabble.service.in2
-rw-r--r--extensions/Connection_Interface_Gabble_Decloak.xml4
-rw-r--r--extensions/Gabble_Plugin_Console.xml2
-rw-r--r--extensions/Gabble_Plugin_Gateways.xml10
-rw-r--r--extensions/Gabble_Plugin_Test.xml2
-rwxr-xr-xplugins/telepathy-gabble-xmpp-console2
-rw-r--r--plugins/test.c2
-rw-r--r--tests/twisted/Makefile.am8
-rw-r--r--tests/twisted/constants.py2
-rw-r--r--tests/twisted/tools/servicedir-uninstalled/gabble.service.in2
-rw-r--r--tests/twisted/tools/servicedir/gabble.service.in2
14 files changed, 23 insertions, 23 deletions
diff --git a/.gitignore b/.gitignore
index ffc646085..6d230411e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,7 +38,7 @@ _gen
/configure.lineno
core
/data/gabble.manager
-/data/im.telepathy1.ConnectionManager.gabble.service
+/data/im.telepathy.v1.ConnectionManager.gabble.service
/debian
/depcomp
/docs/*.html
diff --git a/configure.ac b/configure.ac
index 0692c00a0..ff476b193 100644
--- a/configure.ac
+++ b/configure.ac
@@ -280,7 +280,7 @@ AC_DEFINE(TP_SEAL_ENABLE, [], [Prevent to use sealed variables])
AC_DEFINE(TP_DISABLE_SINGLE_INCLUDE, [], [Disable single header include])
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])
AC_SUBST(TP_GLIB_CFLAGS)
AC_SUBST(TP_GLIB_LIBS)
diff --git a/data/Makefile.am b/data/Makefile.am
index 7b753aee9..9a987a43d 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -4,12 +4,12 @@ managerdir = $(datadir)/telepathy-1/managers
manager_DATA = gabble.manager
servicedir = $(datadir)/dbus-1/services
-service_DATA = im.telepathy1.ConnectionManager.gabble.service
+service_DATA = im.telepathy.v1.ConnectionManager.gabble.service
# 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.gabble.service: gabble.service.in \
+im.telepathy.v1.ConnectionManager.gabble.service: gabble.service.in \
Makefile
$(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@
diff --git a/data/gabble.service.in b/data/gabble.service.in
index d6881631a..e3c0bf8d6 100644
--- a/data/gabble.service.in
+++ b/data/gabble.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
-Name=im.telepathy1.ConnectionManager.gabble
+Name=im.telepathy.v1.ConnectionManager.gabble
Exec=@libexecdir@/telepathy-gabble
diff --git a/extensions/Connection_Interface_Gabble_Decloak.xml b/extensions/Connection_Interface_Gabble_Decloak.xml
index f2af80259..98e441a7b 100644
--- a/extensions/Connection_Interface_Gabble_Decloak.xml
+++ b/extensions/Connection_Interface_Gabble_Decloak.xml
@@ -18,10 +18,10 @@
USA.</p>
</tp:license>
- <interface name="im.telepathy1.Connection.Interface.Gabble.Decloak"
+ <interface name="im.telepathy.v1.Connection.Interface.Gabble.Decloak"
tp:causes-havoc="experimental">
<tp:added version="Gabble 0.9.4">(Gabble-specific)</tp:added>
- <tp:requires interface="im.telepathy1.Connection"/>
+ <tp:requires interface="im.telepathy.v1.Connection"/>
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
A simple D-Bus API for <a
diff --git a/extensions/Gabble_Plugin_Console.xml b/extensions/Gabble_Plugin_Console.xml
index 7b3863545..fe9efde5f 100644
--- a/extensions/Gabble_Plugin_Console.xml
+++ b/extensions/Gabble_Plugin_Console.xml
@@ -19,7 +19,7 @@
USA.</p>
</tp:license>
- <interface name="im.telepathy1.Gabble.Plugin.Console">
+ <interface name="im.telepathy.v1.Gabble.Plugin.Console">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal"
value="true"/>
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
diff --git a/extensions/Gabble_Plugin_Gateways.xml b/extensions/Gabble_Plugin_Gateways.xml
index d95809d58..3b630fb59 100644
--- a/extensions/Gabble_Plugin_Gateways.xml
+++ b/extensions/Gabble_Plugin_Gateways.xml
@@ -19,7 +19,7 @@
USA.</p>
</tp:license>
- <interface name="im.telepathy1.Gabble.Plugin.Gateways">
+ <interface name="im.telepathy.v1.Gabble.Plugin.Gateways">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>A sidecar interface to register with XEP-0100 gateways.</p>
</tp:docstring>
@@ -63,10 +63,10 @@
</arg>
<tp:possible-errors>
- <tp:error name="im.telepathy1.Error.NetworkError"/>
- <tp:error name="im.telepathy1.Error.NotAvailable"/>
- <tp:error name="im.telepathy1.Error.NotImplemented"/>
- <tp:error name="im.telepathy1.Error.PermissionDenied"/>
+ <tp:error name="im.telepathy.v1.Error.NetworkError"/>
+ <tp:error name="im.telepathy.v1.Error.NotAvailable"/>
+ <tp:error name="im.telepathy.v1.Error.NotImplemented"/>
+ <tp:error name="im.telepathy.v1.Error.PermissionDenied"/>
</tp:possible-errors>
</method>
diff --git a/extensions/Gabble_Plugin_Test.xml b/extensions/Gabble_Plugin_Test.xml
index e84ef1b7f..7a37e1a9d 100644
--- a/extensions/Gabble_Plugin_Test.xml
+++ b/extensions/Gabble_Plugin_Test.xml
@@ -17,7 +17,7 @@ Lesser General Public License for more details.</p>
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</p>
</tp:license>
- <interface name="im.telepathy1.Gabble.Plugin.Test">
+ <interface name="im.telepathy.v1.Gabble.Plugin.Test">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>A sidecar interface implemented by a plugin used by the test
suite.</p>
diff --git a/plugins/telepathy-gabble-xmpp-console b/plugins/telepathy-gabble-xmpp-console
index 3815a72b7..ea5831563 100755
--- a/plugins/telepathy-gabble-xmpp-console
+++ b/plugins/telepathy-gabble-xmpp-console
@@ -31,7 +31,7 @@ from gi.repository import TelepathyGLib as Tp
PADDING = 6
-CONSOLE_IFACE = "im.telepathy1.Gabble.Plugin.Console"
+CONSOLE_IFACE = "im.telepathy.v1.Gabble.Plugin.Console"
class StanzaViewer(Gtk.ScrolledWindow):
def __init__(self):
diff --git a/plugins/test.c b/plugins/test.c
index 6b6e3dc5d..cfcc223fb 100644
--- a/plugins/test.c
+++ b/plugins/test.c
@@ -25,7 +25,7 @@ static void plugin_iface_init (
gpointer g_iface,
gpointer data);
-#define IFACE_TEST "im.telepathy1.Gabble.Plugin.Test"
+#define IFACE_TEST "im.telepathy.v1.Gabble.Plugin.Test"
#define IFACE_TEST_PROPS IFACE_TEST ".Props"
#define IFACE_TEST_BUGGY IFACE_TEST ".Buggy"
#define IFACE_TEST_IQ IFACE_TEST ".IQ"
diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am
index 5b7403c81..b5188f06c 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -420,19 +420,19 @@ tools/%.conf: tools/%.conf.in Makefile
# 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)
-tools/servicedir/im.telepathy1.ConnectionManager.%.service: tools/servicedir/%.service.in Makefile
+tools/servicedir/im.telepathy.v1.ConnectionManager.%.service: tools/servicedir/%.service.in Makefile
$(MKDIR_P) tools/servicedir
$(AM_V_GEN)sed -e "s|[@]gabbletestsdir[@]|@gabbletestsdir@|g" $< > $@
-tools/servicedir-uninstalled/im.telepathy1.ConnectionManager.%.service: tools/servicedir-uninstalled/%.service.in
+tools/servicedir-uninstalled/im.telepathy.v1.ConnectionManager.%.service: tools/servicedir-uninstalled/%.service.in
$(MKDIR_P) tools/servicedir-uninstalled
$(AM_V_GEN)sed -e "s|[@]abs_top_builddir[@]|@abs_top_builddir@|g" $< > $@
# D-Bus service file for testing
installed_service_in_files = tools/servicedir/gabble.service.in
-service_files = tools/servicedir/im.telepathy1.ConnectionManager.gabble.service
+service_files = tools/servicedir/im.telepathy.v1.ConnectionManager.gabble.service
uninstalled_service_in_files = tools/servicedir-uninstalled/gabble.service.in
-uninstalled_service_files = tools/servicedir-uninstalled/im.telepathy1.ConnectionManager.gabble.service
+uninstalled_service_files = tools/servicedir-uninstalled/im.telepathy.v1.ConnectionManager.gabble.service
# D-Bus config file for testing
installed_conf_in_files = tools/servicedir/tmp-session-bus.conf.in
diff --git a/tests/twisted/constants.py b/tests/twisted/constants.py
index 3d8727273..8b428fa44 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/servicedir-uninstalled/gabble.service.in b/tests/twisted/tools/servicedir-uninstalled/gabble.service.in
index 4486c55d8..f60344246 100644
--- a/tests/twisted/tools/servicedir-uninstalled/gabble.service.in
+++ b/tests/twisted/tools/servicedir-uninstalled/gabble.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
-Name=im.telepathy1.ConnectionManager.gabble
+Name=im.telepathy.v1.ConnectionManager.gabble
Exec=@abs_top_builddir@/tests/twisted/tools/exec-with-log.sh
diff --git a/tests/twisted/tools/servicedir/gabble.service.in b/tests/twisted/tools/servicedir/gabble.service.in
index c228ceb60..5acadfba2 100644
--- a/tests/twisted/tools/servicedir/gabble.service.in
+++ b/tests/twisted/tools/servicedir/gabble.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
-Name=im.telepathy1.ConnectionManager.gabble
+Name=im.telepathy.v1.ConnectionManager.gabble
Exec=@gabbletestsdir@/twisted/tools/run-gabble.sh