pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xfce4-notifyd Install a desktop file so that notif...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e3e225b8118c
branches: trunk
changeset: 381100:e3e225b8118c
user: youri <youri%pkgsrc.org@localhost>
date: Tue May 29 14:21:58 2018 +0000
description:
Install a desktop file so that notifyd can autostart on non-systemd systems.
diffstat:
x11/xfce4-notifyd/Makefile | 13 ++++++++++++-
x11/xfce4-notifyd/files/xfce4-notifyd.desktop | 7 +++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (38 lines):
diff -r 7b81288a394e -r e3e225b8118c x11/xfce4-notifyd/Makefile
--- a/x11/xfce4-notifyd/Makefile Tue May 29 12:57:27 2018 +0000
+++ b/x11/xfce4-notifyd/Makefile Tue May 29 14:21:58 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2018/05/15 22:11:39 youri Exp $
+# $NetBSD: Makefile,v 1.12 2018/05/29 14:21:58 youri Exp $
#
.include "../../meta-pkgs/xfce4/Makefile.common"
@@ -15,6 +15,17 @@
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
+DESKTOP_FILE= xfce4-notifyd.desktop
+
+CONF_FILES+= ${FILESDIR}/${DESKTOP_FILE} \
+ ${PKG_SYSCONFDIR}/xdg/autostart/${DESKTOP_FILE}
+
+SUBST_CLASSES= prefix
+SUBST_MESSAGE.prefix= Fixing path
+SUBST_STAGE.prefix= post-install
+SUBST_FILES.prefix= ${FILESDIR}/${DESKTOP_FILE}
+SUBST_SED.prefix= -e 's,@PREFIX@,${PREFIX},'
+
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/libxfce4ui/buildlink3.mk"
.include "../../x11/xfce4-panel/buildlink3.mk"
diff -r 7b81288a394e -r e3e225b8118c x11/xfce4-notifyd/files/xfce4-notifyd.desktop
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xfce4-notifyd/files/xfce4-notifyd.desktop Tue May 29 14:21:58 2018 +0000
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=Notification Daemon
+Comment=Launch notification daemon
+Icon=preferences-system-notifications
+Exec=/usr/pkg/lib/xfce4/notifyd/xfce4-notifyd
+OnlyShowIn=XFCE;
Home |
Main Index |
Thread Index |
Old Index