From 8840cd25eeb52637ebc59ac859e627fc17f6243c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 22 Jan 2008 22:01:39 +0000 Subject: qemu-config: Add shutdown desktop file for qemu images git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3573 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/oh/qemu-config.bb | 12 ++++++++++-- meta/packages/oh/qemu-config/qemuarm/shutdown.desktop | 10 ++++++++++ meta/packages/oh/qemu-config/shutdown.desktop | 10 ++++++++++ meta/packages/oh/qemu-config/shutdown.png | Bin 0 -> 4823 bytes 4 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 meta/packages/oh/qemu-config/qemuarm/shutdown.desktop create mode 100644 meta/packages/oh/qemu-config/shutdown.desktop create mode 100644 meta/packages/oh/qemu-config/shutdown.png (limited to 'meta/packages') diff --git a/meta/packages/oh/qemu-config.bb b/meta/packages/oh/qemu-config.bb index 299aea2a7..d7c401eb2 100644 --- a/meta/packages/oh/qemu-config.bb +++ b/meta/packages/oh/qemu-config.bb @@ -1,11 +1,13 @@ DESCRIPTION = "Adds scripts to use distcc on the host system under qemu" LICENSE = "GPL" RDEPENDS = "distcc task-poky-nfs-server fakeroot" -PR = "r5" +PR = "r6" SRC_URI = "file://distcc.sh \ file://anjuta-remote-run \ - file://exports" + file://exports \ + file://shutdown.desktop \ + file://shutdown.png" S = "${WORKDIR}" @@ -20,4 +22,10 @@ do_install() { install -d ${D}${bindir} install -m 0755 anjuta-remote-run ${D}${bindir}/ + + install -d ${D}${datadir}/applications + install -m 0644 shutdown.desktop ${D}${datadir}/applications/ + + install -d ${D}${datadir}/pixmaps + install -m 0644 shutdown.png ${D}${datadir}/pixmaps/ } diff --git a/meta/packages/oh/qemu-config/qemuarm/shutdown.desktop b/meta/packages/oh/qemu-config/qemuarm/shutdown.desktop new file mode 100644 index 000000000..2a42af5dc --- /dev/null +++ b/meta/packages/oh/qemu-config/qemuarm/shutdown.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=Shutdown +Comment=Close down the machine safely +Exec=reboot +Icon=shutdown.png +Terminal=false +Categories=Utility; +StartupNotify=true \ No newline at end of file diff --git a/meta/packages/oh/qemu-config/shutdown.desktop b/meta/packages/oh/qemu-config/shutdown.desktop new file mode 100644 index 000000000..c1cb80569 --- /dev/null +++ b/meta/packages/oh/qemu-config/shutdown.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=Shutdown +Comment=Close down the machine safely +Exec=halt +Icon=shutdown.png +Terminal=false +Categories=Utility; +StartupNotify=true \ No newline at end of file diff --git a/meta/packages/oh/qemu-config/shutdown.png b/meta/packages/oh/qemu-config/shutdown.png new file mode 100644 index 000000000..abf3f790d Binary files /dev/null and b/meta/packages/oh/qemu-config/shutdown.png differ -- cgit v1.2.3