[oe-commits] Stefan Schmidt : bug-desktop-icons: Add recipes for some bug desktop icons.
git version control
git at git.openembedded.org
Thu Dec 16 14:05:16 UTC 2010
Module: openembedded.git
Branch: master
Commit: b8ce0dd69539f7eb0cbd2e5db10c41ed5609c550
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b8ce0dd69539f7eb0cbd2e5db10c41ed5609c550
Author: Stefan Schmidt <stefan at buglabs.net>
Date: Thu Nov 11 14:58:26 2010 +0100
bug-desktop-icons: Add recipes for some bug desktop icons.
---
recipes/bug-desktop-icons/bug-reboot-icon.bb | 17 +++++++++++++++++
recipes/bug-desktop-icons/bug-shutdown-icon.bb | 17 +++++++++++++++++
recipes/bug-desktop-icons/bug-suspend-icon.bb | 17 +++++++++++++++++
recipes/bug-desktop-icons/files/bug-reboot.desktop | 9 +++++++++
.../bug-desktop-icons/files/bug-shutdown.desktop | 9 +++++++++
.../bug-desktop-icons/files/bug-suspend.desktop | 9 +++++++++
recipes/bug-desktop-icons/files/xeyes.desktop | 9 +++++++++
recipes/bug-desktop-icons/xeyes-icon.bb | 17 +++++++++++++++++
8 files changed, 104 insertions(+), 0 deletions(-)
diff --git a/recipes/bug-desktop-icons/bug-reboot-icon.bb b/recipes/bug-desktop-icons/bug-reboot-icon.bb
new file mode 100644
index 0000000..64a6750
--- /dev/null
+++ b/recipes/bug-desktop-icons/bug-reboot-icon.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "A desktop icon for system reboot."
+DEPENDS = "matchbox-desktop"
+
+PR = "r0"
+PACKAGE_ARCH = "all"
+
+SRC_URI = "file://bug-reboot.desktop"
+
+S = "${WORKDIR}"
+
+PACKAGE_ARCH = "all"
+FILES_${PN} += "/usr/share/applications/bug-reboot.desktop"
+
+do_install() {
+ install -m 0755 -d ${D}/usr/share/applications
+ install -m 0644 ${S}/bug-reboot.desktop ${D}/usr/share/applications/
+}
diff --git a/recipes/bug-desktop-icons/bug-shutdown-icon.bb b/recipes/bug-desktop-icons/bug-shutdown-icon.bb
new file mode 100644
index 0000000..792da94
--- /dev/null
+++ b/recipes/bug-desktop-icons/bug-shutdown-icon.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "A desktop icon for system shutdown."
+DEPENDS = "matchbox-desktop"
+
+PR = "r0"
+PACKAGE_ARCH = "all"
+
+SRC_URI = "file://bug-shutdown.desktop"
+
+S = "${WORKDIR}"
+
+PACKAGE_ARCH = "all"
+FILES_${PN} += "/usr/share/applications/bug-shutdown.desktop"
+
+do_install() {
+ install -m 0755 -d ${D}/usr/share/applications
+ install -m 0644 ${S}/bug-shutdown.desktop ${D}/usr/share/applications/
+}
diff --git a/recipes/bug-desktop-icons/bug-suspend-icon.bb b/recipes/bug-desktop-icons/bug-suspend-icon.bb
new file mode 100644
index 0000000..dfb644b
--- /dev/null
+++ b/recipes/bug-desktop-icons/bug-suspend-icon.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "A desktop icon for system suspend."
+DEPENDS = "matchbox-desktop"
+
+PR = "r0"
+PACKAGE_ARCH = "all"
+
+SRC_URI = "file://bug-suspend.desktop"
+
+S = "${WORKDIR}"
+
+PACKAGE_ARCH = "all"
+FILES_${PN} += "/usr/share/applications/bug-suspend.desktop"
+
+do_install() {
+ install -m 0755 -d ${D}/usr/share/applications
+ install -m 0644 ${S}/bug-suspend.desktop ${D}/usr/share/applications/
+}
diff --git a/recipes/bug-desktop-icons/files/bug-reboot.desktop b/recipes/bug-desktop-icons/files/bug-reboot.desktop
new file mode 100644
index 0000000..5ca9941
--- /dev/null
+++ b/recipes/bug-desktop-icons/files/bug-reboot.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Reboot
+Comment=Reboot the BUG.
+Exec=/sbin/reboot
+Icon=system-restart.png
+Terminal=false
+Categories=Utility;
+StartupNotify=false
diff --git a/recipes/bug-desktop-icons/files/bug-shutdown.desktop b/recipes/bug-desktop-icons/files/bug-shutdown.desktop
new file mode 100644
index 0000000..65cdbfa
--- /dev/null
+++ b/recipes/bug-desktop-icons/files/bug-shutdown.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Shutdown
+Comment=Shutdown the BUG.
+Exec=/sbin/shutdown 0 -h
+Icon=system-shutdown.png
+Terminal=false
+Categories=Utility;
+StartupNotify=false
diff --git a/recipes/bug-desktop-icons/files/bug-suspend.desktop b/recipes/bug-desktop-icons/files/bug-suspend.desktop
new file mode 100644
index 0000000..9b02800
--- /dev/null
+++ b/recipes/bug-desktop-icons/files/bug-suspend.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Suspend
+Comment=Suspend the BUG.
+Exec=/usr/bin/apm -s
+Icon=system-suspend.png
+Terminal=false
+Categories=Utility;
+StartupNotify=false
diff --git a/recipes/bug-desktop-icons/files/xeyes.desktop b/recipes/bug-desktop-icons/files/xeyes.desktop
new file mode 100644
index 0000000..785284a
--- /dev/null
+++ b/recipes/bug-desktop-icons/files/xeyes.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Xeyes
+Comment=The ultimate desktop application.
+Exec=/usr/bin/xeyes
+Icon=gtk-media-stop.png
+Terminal=false
+Categories=Utility;
+StartupNotify=false
diff --git a/recipes/bug-desktop-icons/xeyes-icon.bb b/recipes/bug-desktop-icons/xeyes-icon.bb
new file mode 100644
index 0000000..943e3ce
--- /dev/null
+++ b/recipes/bug-desktop-icons/xeyes-icon.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "A desktop icon for xeyes."
+DEPENDS = "xeyes matchbox-desktop"
+
+PR = "r0"
+PACKAGE_ARCH = "all"
+
+SRC_URI = "file://xeyes.desktop"
+
+S = "${WORKDIR}"
+
+PACKAGE_ARCH = "all"
+FILES_${PN} += "/usr/share/applications/xeyes.desktop"
+
+do_install() {
+ install -m 0755 -d ${D}/usr/share/applications
+ install -m 0644 ${S}/xeyes.desktop ${D}/usr/share/applications/
+}
More information about the Openembedded-commits
mailing list