From 50d4a5cc6d3021397707644c63ebb96cfe23c8cb Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 19 Feb 2014 23:12:07 -0600 Subject: Adding the Upstart XDG override --- data/Makefile.am | 2 +- data/upstart/Makefile.am | 12 ++++++++++++ data/upstart/indicator-messages.desktop.in | 8 ++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 data/upstart/Makefile.am create mode 100644 data/upstart/indicator-messages.desktop.in (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index 8752076..b991686 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = icons +SUBDIRS = icons upstart xdg_autostartdir = /etc/xdg/autostart xdg_autostart_DATA = indicator-messages.desktop diff --git a/data/upstart/Makefile.am b/data/upstart/Makefile.am new file mode 100644 index 0000000..c182438 --- /dev/null +++ b/data/upstart/Makefile.am @@ -0,0 +1,12 @@ + +xdg_autostartdir = $(datadir)/upstart/xdg/autostart +xdg_autostart_DATA = indicator-messages.desktop + +%.desktop: %.desktop.in + $(AM_V_GEN) sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@ + +EXTRA_DIST = \ + indicator-messages.desktop.in + +CLEANFILES = \ + $(xdg_autostart_DATA) diff --git a/data/upstart/indicator-messages.desktop.in b/data/upstart/indicator-messages.desktop.in new file mode 100644 index 0000000..dd0b1d6 --- /dev/null +++ b/data/upstart/indicator-messages.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Indicator Messages +Exec=@pkglibexecdir@/indicator-messages-service +StartupNotify=false +Terminal=false +OnlyShowIn=Unity; +Hidden=true -- cgit v1.2.3