Commit 1ad20d22 authored by Matthias Clasen's avatar Matthias Clasen

Don't use dbus activation

Dbus activation causes a race with gnome-shell at session startup.
Instead, install a regular desktop file, so we can make
notification-daemon a required component of the fallback session.
Finally, install notification-daemon in bindir to avoid fiddling
with libexecdir when generating the desktop file.
parent 8ccf0ae2
servicedir = $(DBUS_SERVICES_DIR)
service_DATA = org.freedesktop.Notifications.service
@INTLTOOL_DESKTOP_RULE@
desktopdir= $(datadir)/applications
desktop_in_files = notification-daemon.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
EXTRA_DIST = \
$(service_DATA)
$(desktop_in_files)
-include $(top_srcdir)/git.mk
[Desktop Entry]
_Name=Notification Daemon
_Comment=Display notifications
Exec=notification-daemon
Terminal=false
Type=Application
NoDisplay=true
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=@LIBEXECDIR@/notification-daemon
libexec_PROGRAMS = notification-daemon
bin_PROGRAMS = notification-daemon
notification_daemon_SOURCES = \
nd-notification.c \
......
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