]> git.0d.be Git - empathy.git/commitdiff
add client and service file announcing the FileTransfer handler (#653575)
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 28 Jun 2011 14:49:47 +0000 (16:49 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 29 Jun 2011 08:57:04 +0000 (10:57 +0200)
data/.gitignore
data/Empathy.FileTransfer.client [new file with mode: 0644]
data/Makefile.am
data/org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service.in [new file with mode: 0644]

index dffae84662b2ab0a9c86295e3c53c908d349a061..e004da8edb0c22fef1dbffc35f008ce0bc290cb8 100644 (file)
@@ -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 (file)
index 0000000..70c9e12
--- /dev/null
@@ -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
index 24a7fb9d8013f14bd08571fc9d20d209cababb94..88de4f09b35d7af6b1131d7c86be42880c4a0826 100644 (file)
@@ -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 (file)
index 0000000..4e3870e
--- /dev/null
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.freedesktop.Telepathy.Client.Empathy.FileTransfer
+Exec=@bindir@/empathy -h