bug-desktop-icons: Add recipes for some bug desktop icons.
authorStefan Schmidt <stefan@buglabs.net>
Thu, 11 Nov 2010 13:58:26 +0000 (14:58 +0100)
committerStefan Schmidt <stefan@buglabs.net>
Thu, 16 Dec 2010 14:03:09 +0000 (15:03 +0100)
recipes/bug-desktop-icons/bug-reboot-icon.bb [new file with mode: 0644]
recipes/bug-desktop-icons/bug-shutdown-icon.bb [new file with mode: 0644]
recipes/bug-desktop-icons/bug-suspend-icon.bb [new file with mode: 0644]
recipes/bug-desktop-icons/files/bug-reboot.desktop [new file with mode: 0644]
recipes/bug-desktop-icons/files/bug-shutdown.desktop [new file with mode: 0644]
recipes/bug-desktop-icons/files/bug-suspend.desktop [new file with mode: 0644]
recipes/bug-desktop-icons/files/xeyes.desktop [new file with mode: 0644]
recipes/bug-desktop-icons/xeyes-icon.bb [new file with mode: 0644]

diff --git a/recipes/bug-desktop-icons/bug-reboot-icon.bb b/recipes/bug-desktop-icons/bug-reboot-icon.bb
new file mode 100644 (file)
index 0000000..64a6750
--- /dev/null
@@ -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 (file)
index 0000000..792da94
--- /dev/null
@@ -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 (file)
index 0000000..dfb644b
--- /dev/null
@@ -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 (file)
index 0000000..5ca9941
--- /dev/null
@@ -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 (file)
index 0000000..65cdbfa
--- /dev/null
@@ -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 (file)
index 0000000..9b02800
--- /dev/null
@@ -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 (file)
index 0000000..785284a
--- /dev/null
@@ -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 (file)
index 0000000..943e3ce
--- /dev/null
@@ -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/
+}