diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-12-05 22:52:45 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-12-05 22:52:45 +0000 |
commit | c14d7006a37e112b98a33539a28718474501b75b (patch) | |
tree | 69c5117b0bb430c6c1d831f1b1601bc1f47e6773 /app-emulation/virtualbox | |
parent | Patched to use gtk-2. Bug #201214 (diff) | |
download | gentoo-2-c14d7006a37e112b98a33539a28718474501b75b.tar.gz gentoo-2-c14d7006a37e112b98a33539a28718474501b75b.tar.bz2 gentoo-2-c14d7006a37e112b98a33539a28718474501b75b.zip |
Some cosmetics to desktop file, thanks to betelgeuse in bug #196832
(Portage version: 2.1.4_rc7)
Diffstat (limited to 'app-emulation/virtualbox')
-rw-r--r-- | app-emulation/virtualbox/ChangeLog | 6 | ||||
-rw-r--r-- | app-emulation/virtualbox/files/virtualbox.desktop | 11 | ||||
-rw-r--r-- | app-emulation/virtualbox/virtualbox-1.5.2-r1.ebuild | 16 |
3 files changed, 18 insertions, 15 deletions
diff --git a/app-emulation/virtualbox/ChangeLog b/app-emulation/virtualbox/ChangeLog index c106c848c03f..2627a3887e0a 100644 --- a/app-emulation/virtualbox/ChangeLog +++ b/app-emulation/virtualbox/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/virtualbox # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.29 2007/11/03 15:08:51 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.30 2007/12/05 22:52:44 jokey Exp $ + + 05 Dec 2007; Markus Ullmann <jokey@gentoo.org> files/virtualbox.desktop, + virtualbox-1.5.2-r1.ebuild: + Some cosmetics to desktop file, thanks to betelgeuse in bug #196832 *virtualbox-1.5.2-r1 (03 Nov 2007) diff --git a/app-emulation/virtualbox/files/virtualbox.desktop b/app-emulation/virtualbox/files/virtualbox.desktop index 902b45d7ec16..1f009e95530d 100644 --- a/app-emulation/virtualbox/files/virtualbox.desktop +++ b/app-emulation/virtualbox/files/virtualbox.desktop @@ -1,11 +1,8 @@ [Desktop Entry] -Encoding=UTF-8 -Version= Name=Innotek VirtualBox Type=Application Comment=Run several virtual systems on a single host computer -Exec=virtualbox -TryExec=virtualbox -Path= -Icon=virtualbox.png -Categories=Application;Emulator;System; +Exec=VirtualBox +TryExec=VirtualBox +Icon=virtualbox +Categories=System;Emulator; diff --git a/app-emulation/virtualbox/virtualbox-1.5.2-r1.ebuild b/app-emulation/virtualbox/virtualbox-1.5.2-r1.ebuild index 45ee4ec338fc..8063801de066 100644 --- a/app-emulation/virtualbox/virtualbox-1.5.2-r1.ebuild +++ b/app-emulation/virtualbox/virtualbox-1.5.2-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-1.5.2-r1.ebuild,v 1.1 2007/11/03 15:08:51 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-1.5.2-r1.ebuild,v 1.2 2007/12/05 22:52:44 jokey Exp $ -inherit eutils flag-o-matic qt3 toolchain-funcs +inherit eutils flag-o-matic qt3 toolchain-funcs fdo-mime MY_P=VirtualBox-${PV}_OSE DESCRIPTION="Softwarefamily of powerful x86 virtualization" @@ -115,14 +115,12 @@ src_install() { dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxDeleteIF # desktop entry - insinto /usr/share/pixmaps - newins "${S}"/src/VBox/Frontends/VirtualBox/images/ico32x01.png ${PN}.png - insinto /usr/share/applications - doins "${FILESDIR}"/${PN}.desktop - dosed -e "s/Version=/Version=${PV}/" /usr/share/applications/${PN}.desktop + newicon "${S}"/src/VBox/Frontends/VirtualBox/images/ico32x01.png ${PN}.png + domenu "${FILESDIR}"/${PN}.desktop } pkg_postinst() { + fdo-mime_desktop_database_update elog "" elog "To launch VirtualBox just type: \"VirtualBox\"" elog "You must be in the vboxusers group to use VirtualBox," @@ -131,3 +129,7 @@ pkg_postinst() { elog "http://www.virtualbox.org/download/UserManual.pdf" elog "" } + +pkg_postrm() { + fdo-mime_desktop_database_update +} |