matchbox-applet-startup-monitor 0.1: Try to support management using matchbox-panel...
authorPaul Sokolovsky <pmiscml@gmail.com>
Tue, 25 Dec 2007 20:33:12 +0000 (20:33 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Tue, 25 Dec 2007 20:33:12 +0000 (20:33 +0000)
* It seems this thing is standalone misfit which is supposed to be simply run
during session startup ;-\. Try to add at least bit of user configurability. With
this desktop file, it is at least possible to add it via context menu on
matchbox-panel. But it doesn't seem to get recorded in panel settings, so
cannot be removed via menu and its unclear if it will be restarted after
reboot ;-(.

packages/matchbox-applet-startup-monitor/files/.mtn2git_empty [new file with mode: 0644]
packages/matchbox-applet-startup-monitor/files/mb-applet-startup-monitor.desktop [new file with mode: 0644]
packages/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor_0.1.bb

diff --git a/packages/matchbox-applet-startup-monitor/files/.mtn2git_empty b/packages/matchbox-applet-startup-monitor/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
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
new file mode 100644 (file)
index 0000000..fa93f76
--- /dev/null
@@ -0,0 +1,7 @@
+[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;
index e956650..86a9959 100644 (file)
@@ -3,12 +3,17 @@ LICENSE = "GPL"
 DEPENDS = "libmatchbox startup-notification"
 SECTION = "x11/wm"
 
-PR = "r1"
+PR = "r2"
 
-SRC_URI = "http://projects.o-hand.com/matchbox/sources/mb-applet-startup-monitor/${PV}/mb-applet-startup-monitor-${PV}.tar.gz"
+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"
 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/
+}