diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-08-25 20:24:06 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-25 20:59:29 +0800 |
commit | 4ddcac7537e2fb2404f95d45349b64e93d906724 (patch) | |
tree | 4dd7ef28046d51bb74879de9a59aedc8c16d16d6 | |
parent | 0b21afc9c0dd2b3944637449cc36f3229e29275f (diff) | |
download | gsoc2013-empathy-4ddcac7537e2fb2404f95d45349b64e93d906724.tar.gz gsoc2013-empathy-4ddcac7537e2fb2404f95d45349b64e93d906724.tar.zst gsoc2013-empathy-4ddcac7537e2fb2404f95d45349b64e93d906724.zip |
Add client and service file for o.fd.Tp.Client.Empathy.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | data/.gitignore | 1 | ||||
-rw-r--r-- | data/Empathy.client | 6 | ||||
-rw-r--r-- | data/Makefile.am | 14 | ||||
-rw-r--r-- | data/org.freedesktop.Telepathy.Client.Empathy.service.in | 3 |
4 files changed, 23 insertions, 1 deletions
diff --git a/data/.gitignore b/data/.gitignore index fd8659a18..bf47a374f 100644 --- a/data/.gitignore +++ b/data/.gitignore @@ -1,3 +1,4 @@ empathy.desktop empathy.desktop.in empathy.schemas +org.freedesktop.Telepathy.Client.Empathy.service diff --git a/data/Empathy.client b/data/Empathy.client new file mode 100644 index 000000000..791813957 --- /dev/null +++ b/data/Empathy.client @@ -0,0 +1,6 @@ +[org.freedesktop.Telepathy.Client] +Interfaces=org.freedesktop.Telepathy.Client.Handler;org.freedesktop.Telepathy.Client.Interface.Requests + +[org.freedesktop.Telepathy.Client.Handler.HandlerChannelFilter 0] +org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.Text +org.freedesktop.Telepathy.Channel.TargetHandleType u=1 diff --git a/data/Makefile.am b/data/Makefile.am index 43c3bb66c..83a575c42 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -15,6 +15,16 @@ streamingprefs_DATA = \ codec-preferences \ element-properties +servicefiledir = `pkg-config --variable=session_bus_services_dir dbus-1` +servicefile_in_files = org.freedesktop.Telepathy.Client.Empathy.service.in +servicefile_DATA = $(servicefile_in_files:.service.in=.service) + +org.freedesktop.Telepathy.Client.Empathy.service: org.freedesktop.Telepathy.Client.Empathy.service.in + $(QUIET_GEN)sed -e "s|[@]bindir[@]|$(bindir)|" $< > $@ + +clientfiledir = $(datarootdir)/telepathy/clients +clientfile_DATA = Empathy.client + if GCONF_SCHEMAS_INSTALL install-data-local: if test -z "$(DESTDIR)" ; then \ @@ -35,7 +45,9 @@ EXTRA_DIST = \ $(schemas_in_files) \ $(schemas_DATA) \ $(streamingprefs_DATA) \ - $(html_DATA) + $(html_DATA) \ + $(clientfile_DATA) \ + $(servicefile_in_files) DISTCLEANFILES = \ $(desktop_DATA) \ diff --git a/data/org.freedesktop.Telepathy.Client.Empathy.service.in b/data/org.freedesktop.Telepathy.Client.Empathy.service.in new file mode 100644 index 000000000..909bd7cdf --- /dev/null +++ b/data/org.freedesktop.Telepathy.Client.Empathy.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.freedesktop.Telepathy.Client.Empathy +Exec=@bindir@/empathy |