summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorWill Thompson <resiak@soc.pidgin.im>2007-08-01 23:33:59 +0000
committerWill Thompson <resiak@soc.pidgin.im>2007-08-01 23:33:59 +0000
commitdcc3a08a6650457c71bef6b3e8f952d05da74809 (patch)
treebae3e5997b9cd531e792f1471f90b0ff54421c01 /data
parent195b483fddb8f61dabb7fb5ee8fa81f7413c53e7 (diff)
Add .manager and .service; fix up some autofoo.
I stole a lot of the autotools stuff in this patch verbatim from telepathy-gabble, and don't really understand it. :-) I tried and failed to make gabble's AS_AC_EXPAND macro work, but it seems like I can achieve the same goal with $(datadir)/dbus-1/services directly in the relevant Makefile.am. 20070801233359-984d1-3ec7025633a8c59e8f563284b4c476c06351873c.gz
Diffstat (limited to 'data')
-rw-r--r--data/.git-darcs-dir0
-rw-r--r--data/Makefile.am18
-rw-r--r--data/haze.manager68
-rw-r--r--data/org.freedesktop.Telepathy.ConnectionManager.haze.service.in3
4 files changed, 89 insertions, 0 deletions
diff --git a/data/.git-darcs-dir b/data/.git-darcs-dir
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/data/.git-darcs-dir
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..60f3ff9
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,18 @@
+# Telepathy manager file
+managerdir = $(datadir)/telepathy/managers
+dist_manager_DATA = haze.manager
+
+# Dbus service file
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.freedesktop.Telepathy.ConnectionManager.haze.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+
+BUILT_FILES = $(service_DATA)
+
+CLEANFILES = $(BUILT_FILES)
+
+EXTRA_DIST = $(service_in_files)
+
+# Rule to make the service file with bindir expanded
+$(service_DATA): $(service_in_files) Makefile
+ @sed -e "s|\@bindir\@|$(bindir)|" $< > $@
diff --git a/data/haze.manager b/data/haze.manager
new file mode 100644
index 0000000..aa4b509
--- /dev/null
+++ b/data/haze.manager
@@ -0,0 +1,68 @@
+[ConnectionManager]
+BusName=org.freedesktop.Telepathy.ConnectionManager.haze
+ObjectPath=/org/freedesktop/Telepathy/ConnectionManager/haze
+
+[Protocol aim]
+param-account=s required
+param-password=s required
+param-server=s
+
+[Protocol bonjour]
+param-account=s required
+param-password=s required
+param-server=s
+
+[Protocol gg]
+param-account=s required
+param-password=s required
+param-server=s
+
+[Protocol novell]
+param-account=s required
+param-password=s required
+param-server=s
+
+[Protocol icq]
+param-account=s required
+param-password=s required
+param-server=s
+
+[Protocol irc]
+param-account=s required
+param-password=s required
+param-server=s
+
+[Protocol msn]
+param-account=s required
+param-password=s required
+param-server=s
+
+[Protocol qq]
+param-account=s required
+param-password=s required
+param-server=s
+
+[Protocol simple]
+param-account=s required
+param-password=s required
+param-server=s
+
+[Protocol meanwhile]
+param-account=s required
+param-password=s required
+param-server=s
+
+[Protocol jabber]
+param-account=s required
+param-password=s required
+param-server=s
+
+[Protocol yahoo]
+param-account=s required
+param-password=s required
+param-server=s
+
+[Protocol zephyr]
+param-account=s required
+param-password=s required
+param-server=s
diff --git a/data/org.freedesktop.Telepathy.ConnectionManager.haze.service.in b/data/org.freedesktop.Telepathy.ConnectionManager.haze.service.in
new file mode 100644
index 0000000..42446bb
--- /dev/null
+++ b/data/org.freedesktop.Telepathy.ConnectionManager.haze.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.freedesktop.Telepathy.ConnectionManager.haze
+Exec=@bindir@/telepathy-haze