[empathy] Add jabber provider, service and plugin



commit 32cbd280f3a2ec826f4d4ae76c99765218014c36
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Jul 18 10:12:24 2012 +0200

    Add jabber provider, service and plugin
    
    https://bugzilla.gnome.org/show_bug.cgi?id=680448

 ubuntu-online-accounts/cc-plugins/Makefile.am      |   11 +++++++++++
 .../cc-plugins/providers/Makefile.am               |    1 +
 .../cc-plugins/providers/jabber.provider           |    5 +++++
 .../cc-plugins/services/Makefile.am                |    1 +
 .../cc-plugins/services/jabber-im.service          |   16 ++++++++++++++++
 5 files changed, 34 insertions(+), 0 deletions(-)
---
diff --git a/ubuntu-online-accounts/cc-plugins/Makefile.am b/ubuntu-online-accounts/cc-plugins/Makefile.am
index 192a378..c90caf7 100644
--- a/ubuntu-online-accounts/cc-plugins/Makefile.am
+++ b/ubuntu-online-accounts/cc-plugins/Makefile.am
@@ -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
diff --git a/ubuntu-online-accounts/cc-plugins/providers/Makefile.am b/ubuntu-online-accounts/cc-plugins/providers/Makefile.am
index d416593..7225420 100644
--- a/ubuntu-online-accounts/cc-plugins/providers/Makefile.am
+++ b/ubuntu-online-accounts/cc-plugins/providers/Makefile.am
@@ -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
index 0000000..fc07da4
--- /dev/null
+++ b/ubuntu-online-accounts/cc-plugins/providers/jabber.provider
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<provider id="jabber">
+  <name>Jabber</name>
+  <icon>jabber</icon>
+</provider>
diff --git a/ubuntu-online-accounts/cc-plugins/services/Makefile.am b/ubuntu-online-accounts/cc-plugins/services/Makefile.am
index 6452131..71901cd 100644
--- a/ubuntu-online-accounts/cc-plugins/services/Makefile.am
+++ b/ubuntu-online-accounts/cc-plugins/services/Makefile.am
@@ -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
index 0000000..dd6ab55
--- /dev/null
+++ b/ubuntu-online-accounts/cc-plugins/services/jabber-im.service
@@ -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>



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