From b8ce0dd69539f7eb0cbd2e5db10c41ed5609c550 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Thu, 11 Nov 2010 14:58:26 +0100 Subject: [PATCH] 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 +++++++++++++++++ .../bug-desktop-icons/files/bug-reboot.desktop | 9 +++++++++ .../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(+) create mode 100644 recipes/bug-desktop-icons/bug-reboot-icon.bb create mode 100644 recipes/bug-desktop-icons/bug-shutdown-icon.bb create mode 100644 recipes/bug-desktop-icons/bug-suspend-icon.bb create mode 100644 recipes/bug-desktop-icons/files/bug-reboot.desktop create mode 100644 recipes/bug-desktop-icons/files/bug-shutdown.desktop create mode 100644 recipes/bug-desktop-icons/files/bug-suspend.desktop create mode 100644 recipes/bug-desktop-icons/files/xeyes.desktop create mode 100644 recipes/bug-desktop-icons/xeyes-icon.bb 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 0000000000..64a6750cb4 --- /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 0000000000..792da94b34 --- /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 0000000000..dfb644bd16 --- /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 0000000000..5ca994115a --- /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 0000000000..65cdbfaa5f --- /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 0000000000..9b02800730 --- /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 0000000000..785284ad20 --- /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 0000000000..943e3cea53 --- /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/ +} -- 2.39.5