[oe-commits] Jan Lübbe : menu-freesmartphone: create a simple XDG menu for illume which shows all applications

GIT User account git at amethyst.openembedded.net
Thu Mar 26 10:45:14 UTC 2009


Module: openembedded.git
Branch: jan/master
Commit: 03b733eb9e71661ba69225098c1628b4d25aa6e1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=03b733eb9e71661ba69225098c1628b4d25aa6e1

Author: Jan Lübbe <jluebbe at debian.org>
Date:   Thu Feb 26 17:19:17 2009 +0000

menu-freesmartphone: create a simple XDG menu for illume which shows all applications

---

 recipes/freesmartphone/menu-freesmartphone.bb      |   18 ++++++++++++++++++
 .../menu-freesmartphone/applications.menu          |   17 +++++++++++++++++
 2 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/recipes/freesmartphone/menu-freesmartphone.bb b/recipes/freesmartphone/menu-freesmartphone.bb
new file mode 100644
index 0000000..2d1f614
--- /dev/null
+++ b/recipes/freesmartphone/menu-freesmartphone.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "XDG menu file for the freesmartphone.org project"
+LICENSE = "PD"
+PV = "0.1"
+PR = "r0"
+
+SRC_URI = "file://applications.menu"
+
+do_install() {
+    install -d ${D}/${sysconfdir}/xdg/menus
+    install -m 644 ${WORKDIR}/applications.menu ${D}/${sysconfdir}/xdg/menus/
+}
+
+RPROVIDES_${PN} = "e-wm-menu"
+CONFFILES_${PN} = "${sysconfdir}/xdg/menus/applications.menu"
+FILES_${PN} = "${sysconfdir}/xdg/menus/applications.menu"
+
+PACKAGE_ARCH_${PN} = "all"
+
diff --git a/recipes/freesmartphone/menu-freesmartphone/applications.menu b/recipes/freesmartphone/menu-freesmartphone/applications.menu
new file mode 100644
index 0000000..58b6c1c
--- /dev/null
+++ b/recipes/freesmartphone/menu-freesmartphone/applications.menu
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://standards.freedesktop.org/menu-spec/menu-1.0.dtd">
+<Menu>
+  <Name>Applications</Name>
+
+  <!-- Read standard .directory and .desktop file locations -->
+  <DefaultAppDirs>/usr/share/applications</DefaultAppDirs>
+  <DefaultDirectoryDirs/>
+
+  <Menu>
+    <Name>All</Name>
+    <Include>
+      <All/>
+    </Include>
+  </Menu>
+</Menu>
+





More information about the Openembedded-commits mailing list