[notification-daemon] add back regular .desktop file



commit fee6ff0cf33ce5bd4c0ac0280cf9dfffcec4b94b
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Nov 24 20:43:01 2014 +0200

    add back regular .desktop file

 configure.ac                           |    1 +
 data/Makefile.am                       |   14 +++++++++++---
 data/notification-daemon.desktop.in.in |    7 +++++++
 po/POTFILES.in                         |    1 +
 po/POTFILES.skip                       |    1 +
 5 files changed, 21 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index add768e..5f80092 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,6 +142,7 @@ AC_SUBST([AM_CXXFLAGS])
 AC_CONFIG_FILES([
 Makefile
 data/Makefile
+data/notification-daemon.desktop.in
 data/notification-daemon-autostart.desktop.in
 po/Makefile.in
 src/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index aa83361..e232cf4 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -5,13 +5,21 @@ autostart_DATA        = $(autostart_in_files:.desktop.in=.desktop)
 
 @INTLTOOL_DESKTOP_RULE@
 
+desktopdir          = $(datadir)/applications
+desktop_in_in_files = notification-daemon.desktop.in.in
+desktop_in_files    = notification-daemon.desktop.in
+desktop_DATA        = $(desktop_in_files:.desktop.in=.desktop)
+
 EXTRA_DIST = \
-       $(autostart_in_in_files)
+       $(autostart_in_in_files) \
+       $(desktop_in_in_files)
 
 CLEANFILES = \
-       $(autostart_DATA)
+       $(autostart_DATA) \
+       $(desktop_DATA)
 
 DISTCLEANFILES = \
-       $(autostart_in_files)
+       $(autostart_in_files) \
+       $(desktop_in_files)
 
 -include $(top_srcdir)/git.mk
diff --git a/data/notification-daemon.desktop.in.in b/data/notification-daemon.desktop.in.in
new file mode 100644
index 0000000..e13b8fe
--- /dev/null
+++ b/data/notification-daemon.desktop.in.in
@@ -0,0 +1,7 @@
+[Desktop Entry]
+_Name=Notification Daemon
+_Comment=Display notifications
+Exec= LIBEXECDIR@/notification-daemon
+Terminal=false
+Type=Application
+NoDisplay=true
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d836fcb..76caf57 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,5 @@
 src/daemon.c
 src/nd-queue.c
 src/sound.c
+data/notification-daemon.desktop.in.in
 data/notification-daemon-autostart.desktop.in.in
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index a8463ee..9418776 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -1 +1,2 @@
+data/notification-daemon.desktop.in
 data/notification-daemon-autostart.desktop.in


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]