From facefa8a23aaa613f075703569f52f58b3c58c7e Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 30 Dec 2007 05:59:26 +0000 Subject: matchbox-applet-startup-monitor 0.1: Start from Xsession. * Apparently, OpenedHand design it to be started from session, not as a normal panel app via panel manager, and that can't be patched in easily. So, give up on that, and add Xsession.d file instead. --- .../files/85mb-applet-startup-monitor | 2 ++ .../files/mb-applet-startup-monitor.desktop | 7 ------- .../matchbox-applet-startup-monitor_0.1.bb | 10 ++++------ 3 files changed, 6 insertions(+), 13 deletions(-) create mode 100755 packages/matchbox-applet-startup-monitor/files/85mb-applet-startup-monitor delete mode 100644 packages/matchbox-applet-startup-monitor/files/mb-applet-startup-monitor.desktop (limited to 'packages') diff --git a/packages/matchbox-applet-startup-monitor/files/85mb-applet-startup-monitor b/packages/matchbox-applet-startup-monitor/files/85mb-applet-startup-monitor new file mode 100755 index 0000000000..2fb859650f --- /dev/null +++ b/packages/matchbox-applet-startup-monitor/files/85mb-applet-startup-monitor @@ -0,0 +1,2 @@ +#!/bin/sh +mb-applet-startup-monitor & diff --git a/packages/matchbox-applet-startup-monitor/files/mb-applet-startup-monitor.desktop b/packages/matchbox-applet-startup-monitor/files/mb-applet-startup-monitor.desktop deleted file mode 100644 index fa93f768db..0000000000 --- a/packages/matchbox-applet-startup-monitor/files/mb-applet-startup-monitor.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Name=Startup Monitor -Comment=Panel based startup monitor -Exec=mb-applet-startup-monitor -Type=PanelApp -Icon=hourglass-1.png -Categories=Panel;Utility;MB; diff --git a/packages/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor_0.1.bb b/packages/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor_0.1.bb index 86a9959753..dba5566834 100644 --- a/packages/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor_0.1.bb +++ b/packages/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor_0.1.bb @@ -3,17 +3,15 @@ LICENSE = "GPL" DEPENDS = "libmatchbox startup-notification" SECTION = "x11/wm" -PR = "r2" +PR = "r4" SRC_URI = "http://projects.o-hand.com/matchbox/sources/mb-applet-startup-monitor/${PV}/mb-applet-startup-monitor-${PV}.tar.gz \ - file://mb-applet-startup-monitor.desktop" + file://85mb-applet-startup-monitor" S = "${WORKDIR}/mb-applet-startup-monitor-${PV}" inherit autotools pkgconfig -FILES_${PN} = "${bindir}/* ${datadir}/applications ${datadir}/pixmaps" - do_install_append() { - install -d ${D}${datadir}/applications - install -m 0644 ${WORKDIR}/mb-applet-startup-monitor.desktop ${D}${datadir}/applications/ + install -d ${D}${sysconfdir}/X11/Xsession.d + install -m 0755 ${WORKDIR}/10mb-applet-startup-monitor ${D}${sysconfdir}/X11/Xsession.d/ } -- cgit v1.2.3