Commit 21df75d2 authored by Giovanni Campagna's avatar Giovanni Campagna

Add telepathy service and data files

We need to claim the Telepathy name as activatable in order
to be started by mission control when there is a channel
request to handle.

We claim we support all channels of type text, with all
handle types, like empathy-chat does. If we see a channel
of type != irc, we'll return an error and mission control
will transparently move to the next handler.

https://bugzilla.gnome.org/show_bug.cgi?id=745418
parent 68213ad4
...@@ -8,9 +8,10 @@ desktop_in_files = $(APP_ID).desktop.in ...@@ -8,9 +8,10 @@ desktop_in_files = $(APP_ID).desktop.in
servicedir = $(datadir)/dbus-1/services servicedir = $(datadir)/dbus-1/services
service_DATA = $(service_in_files:.service.in=.service) service_DATA = $(service_in_files:.service.in=.service)
service_in_files = $(APP_ID).service.in service_in_files = $(APP_ID).service.in \
org.freedesktop.Telepathy.Client.Polari.service.in
$(APP_ID).service: $(APP_ID).service.in Makefile %.service: %.service.in Makefile
$(AM_V_GEN) sed -e "s|\@bindir\@|$(bindir)|" $< > $@ $(AM_V_GEN) sed -e "s|\@bindir\@|$(bindir)|" $< > $@
check-local: check-local:
...@@ -26,6 +27,9 @@ resource_DATA=$(APP_ID).data.gresource ...@@ -26,6 +27,9 @@ resource_DATA=$(APP_ID).data.gresource
gsettings_SCHEMAS = $(APP_ID).gschema.xml gsettings_SCHEMAS = $(APP_ID).gschema.xml
@GSETTINGS_RULES@ @GSETTINGS_RULES@
clientdir=$(datadir)/telepathy/clients
dist_client_DATA = Polari.client
EXTRA_DIST = \ EXTRA_DIST = \
$(desktop_in_files) \ $(desktop_in_files) \
$(service_in_files) \ $(service_in_files) \
......
[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.Text
org.freedesktop.Telepathy.Channel.TargetHandleType u=0
[org.freedesktop.Telepathy.Client.Handler.HandlerChannelFilter 1]
org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.Text
org.freedesktop.Telepathy.Channel.TargetHandleType u=1
[org.freedesktop.Telepathy.Client.Handler.HandlerChannelFilter 2]
org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.Text
org.freedesktop.Telepathy.Channel.TargetHandleType u=2
[D-BUS Service]
Name=org.freedesktop.Telepathy.Client.Polari
Exec=@bindir@/polari --gapplication-service
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment