Commit 9882d052 authored by David King's avatar David King Committed by Georges Basile Stavracas Neto

Install D-Bus service file

Without this, it is impossible to launch the application from the
desktop file.

https://bugzilla.redhat.com/show_bug.cgi?id=1266868
https://bugzilla.gnome.org/show_bug.cgi?id=755746
parent 3d0609d0
......@@ -29,6 +29,7 @@ AX_COMPILER_FLAGS([GNOME_TODO_WARN_CFLAGS], [GNOME_TODO_WARN_LDFLAGS])
AC_PROG_CC_C_O
AC_PROG_INSTALL
AC_PROG_SED
# enable libtool
LT_PREREQ([2.2.6])
......
......@@ -18,6 +18,13 @@ gsettings_SCHEMAS = org.gnome.todo.gschema.xml
@GSETTINGS_RULES@
%.service: %.service.in
$(AM_V_GEN)$(SED) -e "s|[@]bindir[@]|$(bindir)|" $< > $@
servicedir = $(datadir)/dbus-1/services
service_DATA = $(service_in_files:.service.in=.service)
service_in_files = org.gnome.Todo.service.in
EXTRA_DIST= \
appdata/org.gnome.Todo.appdata.xml \
org.gnome.Todo.desktop \
......@@ -39,7 +46,8 @@ EXTRA_DIST= \
theme/bg.svg \
$(appdata_in_files) \
$(desktop_in_files) \
$(gsettings_SCHEMAS)
$(gsettings_SCHEMAS) \
$(service_in_files)
CLEANFILES = \
$(service_DATA) \
......
[D-BUS Service]
Name=org.gnome.Todo
Exec=@bindir@/gnome-todo --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