[empathy] add client and service file announcing the FileTransfer handler (#653575)



commit da1da170a1365d12a5eeaee5c2b0e3285f268038
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Jun 28 16:49:47 2011 +0200

    add client and service file announcing the FileTransfer handler (#653575)

 data/.gitignore                                    |    1 +
 data/Empathy.FileTransfer.client                   |    7 +++++++
 data/Makefile.am                                   |    9 +++++++--
 ...elepathy.Client.Empathy.FileTransfer.service.in |    3 +++
 4 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/data/.gitignore b/data/.gitignore
index dffae84..e004da8 100644
--- a/data/.gitignore
+++ b/data/.gitignore
@@ -8,3 +8,4 @@ org.freedesktop.Telepathy.Client.Empathy.Call.service
 empathy-accounts.desktop
 empathy-accounts.desktop.in
 org.freedesktop.Telepathy.Client.Empathy.Auth.service
+org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service
diff --git a/data/Empathy.FileTransfer.client b/data/Empathy.FileTransfer.client
new file mode 100644
index 0000000..70c9e12
--- /dev/null
+++ b/data/Empathy.FileTransfer.client
@@ -0,0 +1,7 @@
+[org.freedesktop.Telepathy.Client]
+Interfaces=org.freedesktop.Telepathy.Client.Handler
+
+[org.freedesktop.Telepathy.Client.Handler.HandlerChannelFilter 0]
+org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.FileTransfer
+org.freedesktop.Telepathy.Channel.TargetHandleType u=1
+org.freedesktop.Telepathy.Channel.Requested b=false
diff --git a/data/Makefile.am b/data/Makefile.am
index 24a7fb9..88de4f0 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -29,7 +29,8 @@ servicefile_in_files = \
 	org.freedesktop.Telepathy.Client.Empathy.Chat.service.in \
 	org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service.in \
 	org.freedesktop.Telepathy.Client.Empathy.Auth.service.in \
-	org.freedesktop.Telepathy.Client.Empathy.Call.service.in
+	org.freedesktop.Telepathy.Client.Empathy.Call.service.in \
+	org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service.in
 
 servicefile_DATA = $(servicefile_in_files:.service.in=.service)
 
@@ -45,12 +46,16 @@ org.freedesktop.Telepathy.Client.Empathy.Auth.service: org.freedesktop.Telepathy
 org.freedesktop.Telepathy.Client.Empathy.Call.service: org.freedesktop.Telepathy.Client.Empathy.Call.service.in
 	$(AM_V_GEN)sed -e "s|[ ]libexecdir[@]|$(libexecdir)|" $< > $@
 
+org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service: org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service.in
+	$(AM_V_GEN)sed -e "s|[ ]bindir[@]|$(bindir)|" $< > $@
+
 clientfiledir = $(datarootdir)/telepathy/clients
 clientfile_DATA = \
 	Empathy.Chat.client \
 	Empathy.AudioVideo.client \
 	Empathy.Auth.client \
-	Empathy.Call.client
+	Empathy.Call.client \
+	Empathy.FileTransfer.client
 
 htmldir = $(datadir)/empathy
 html_DATA = Template.html
diff --git a/data/org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service.in b/data/org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service.in
new file mode 100644
index 0000000..4e3870e
--- /dev/null
+++ b/data/org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.freedesktop.Telepathy.Client.Empathy.FileTransfer
+Exec= bindir@/empathy -h



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