aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-18 16:12:24 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-24 22:20:03 +0800
commit32cbd280f3a2ec826f4d4ae76c99765218014c36 (patch)
tree3d0882a734803c4daeb9af7f1a170909e19b36cd
parentef6264b648b0ef50f25753cffc64c515494721e7 (diff)
downloadgsoc2013-empathy-32cbd280f3a2ec826f4d4ae76c99765218014c36.tar
gsoc2013-empathy-32cbd280f3a2ec826f4d4ae76c99765218014c36.tar.gz
gsoc2013-empathy-32cbd280f3a2ec826f4d4ae76c99765218014c36.tar.bz2
gsoc2013-empathy-32cbd280f3a2ec826f4d4ae76c99765218014c36.tar.lz
gsoc2013-empathy-32cbd280f3a2ec826f4d4ae76c99765218014c36.tar.xz
gsoc2013-empathy-32cbd280f3a2ec826f4d4ae76c99765218014c36.tar.zst
gsoc2013-empathy-32cbd280f3a2ec826f4d4ae76c99765218014c36.zip
Add jabber provider, service and plugin
https://bugzilla.gnome.org/show_bug.cgi?id=680448
-rw-r--r--ubuntu-online-accounts/cc-plugins/Makefile.am11
-rw-r--r--ubuntu-online-accounts/cc-plugins/providers/Makefile.am1
-rw-r--r--ubuntu-online-accounts/cc-plugins/providers/jabber.provider5
-rw-r--r--ubuntu-online-accounts/cc-plugins/services/Makefile.am1
-rw-r--r--ubuntu-online-accounts/cc-plugins/services/jabber-im.service16
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 192a378c1..c90caf72f 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 d416593d4..72254202a 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 000000000..fc07da468
--- /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 6452131a1..71901cd6b 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 000000000..dd6ab55b2
--- /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>