]> git.0d.be Git - empathy.git/commitdiff
Add jabber provider, service and plugin
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 18 Jul 2012 08:12:24 +0000 (10:12 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 24 Jul 2012 14:20:03 +0000 (16:20 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=680448

ubuntu-online-accounts/cc-plugins/Makefile.am
ubuntu-online-accounts/cc-plugins/providers/Makefile.am
ubuntu-online-accounts/cc-plugins/providers/jabber.provider [new file with mode: 0644]
ubuntu-online-accounts/cc-plugins/services/Makefile.am
ubuntu-online-accounts/cc-plugins/services/jabber-im.service [new file with mode: 0644]

index 192a378c13da364f986e85dbb93ccfdf4275a5cb..c90caf72ff51d2d6057d88d0ed97872d201f664e 100644 (file)
@@ -13,4 +13,15 @@ INCLUDES =                                   \
        $(EMPATHY_CFLAGS)
 
 plugin_LTLIBRARIES = \
+       libjabber.la \
        $(NULL)
+
+libjabber_la_SOURCES = \
+       empathy-accounts-plugin.c \
+       empathy-accounts-plugin.h \
+       empathy-accounts-plugin-widget.c \
+       empathy-accounts-plugin-widget.h
+libjabber_la_LDFLAGS = -module -avoid-version
+libjabber_la_LIBADD = \
+       $(UOA_LIBS)                                     \
+       $(top_builddir)/libempathy-gtk/libempathy-gtk.la
index d416593d41df47b462b552ea311e9f014355bec7..72254202acab3e6a41fef9e043045843a458b9fc 100644 (file)
@@ -1,6 +1,7 @@
 providersdir = $(ACCOUNTS_PROVIDER_FILES_DIR)
 
 providers_DATA = \
+       jabber.provider \
        $(NULL)
 
 EXTRA_DIST = $(providers_DATA)
diff --git a/ubuntu-online-accounts/cc-plugins/providers/jabber.provider b/ubuntu-online-accounts/cc-plugins/providers/jabber.provider
new file mode 100644 (file)
index 0000000..fc07da4
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<provider id="jabber">
+  <name>Jabber</name>
+  <icon>jabber</icon>
+</provider>
index 6452131a1b9f2dfee559e715eed06ddcd0346361..71901cd6b6329b3332c1285d19a22825b289f590 100644 (file)
@@ -1,6 +1,7 @@
 servicesdir = $(ACCOUNTS_SERVICE_FILES_DIR)
 
 services_DATA = \
+       jabber-im.service \
        $(NULL)
 
 EXTRA_DIST = $(services_DATA)
diff --git a/ubuntu-online-accounts/cc-plugins/services/jabber-im.service b/ubuntu-online-accounts/cc-plugins/services/jabber-im.service
new file mode 100644 (file)
index 0000000..dd6ab55
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<service id="jabber-im">
+  <type>IM</type>
+  <name>Jabber</name>
+  <icon>jabber</icon>
+  <provider>jabber</provider>
+
+  <!-- default settings (account settings have precedence over these) -->
+  <template>
+    <group name="telepathy">
+      <setting name="manager">gabble</setting>
+      <setting name="protocol">jabber</setting>
+    </group>
+  </template>
+
+</service>