Install better looking icons
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 9 Jan 2012 21:42:10 +0000 (21:42 +0000)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 9 Jan 2012 21:42:10 +0000 (21:42 +0000)
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64

app-emulation/virtualbox-bin/ChangeLog
app-emulation/virtualbox-bin/Manifest
app-emulation/virtualbox-bin/virtualbox-bin-4.1.8.ebuild

index 5e3b2de9c59d82cbbb175f55b43f408acd955cc9..19df10338b03977dd708b4f3b848052d400b9348 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for app-emulation/virtualbox-bin
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.122 2011/12/20 12:40:26 polynomial-c Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.123 2012/01/09 21:42:10 polynomial-c Exp $
+
+  09 Jan 2012; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-bin-4.1.8.ebuild:
+  Install better looking icons. Thanks to cpglsn from IRC for testing.
 
 *virtualbox-bin-4.1.8 (20 Dec 2011)
 
index c1c8efe547b7d53e4ae0e7eab05a0e641878f69b..d2a0ec8b34e0f4fc92a81afdf636a327aba679fb 100644 (file)
@@ -21,23 +21,23 @@ DIST VirtualBoxSDK-4.1.6-74713.zip 8804355 RMD160 e635f4727575bae927bedb02ccca06
 DIST VirtualBoxSDK-4.1.8-75467.zip 8805659 RMD160 13e73b31cdd452a8c9262aea62afa3fbdf4a6f06 SHA1 f57fb944b1ea143ffc3130671e7c90b4d554957e SHA256 116d855456fa8661c6d7a3178fcd604d6994d1c8365e697368c25f638e588aff
 EBUILD virtualbox-bin-4.1.4.ebuild 10064 RMD160 2c06ad866ee548d57ab976b4b011bc926b84b6b0 SHA1 d9c34dc724c70ae8245ecdd31501595e75190dbe SHA256 968f28e310dfda5f40d8de0cb1b31fe6e0a0a0d7d3b2e4444d8189d251aec0ba
 EBUILD virtualbox-bin-4.1.6-r1.ebuild 10075 RMD160 3bcab5f9a070c2bc75a5d506f00f7e84ffff58a6 SHA1 e97133e56307763600b01f5d35a798c78336378f SHA256 5833fada051c02f75f351bd0b10d4f11b2de7b70f8804fcb3c7717a5c586df44
-EBUILD virtualbox-bin-4.1.8.ebuild 10069 RMD160 9e36433a80c24b114f33ed1c79b2ea81610b8b5d SHA1 d67f3e6b44ad3ee7d99c8b927027bab8a987eb10 SHA256 927550c4bf8aaca7f35608f59b74ef5efcd30344c19a847790f1424dab9decb0
-MISC ChangeLog 24532 RMD160 6701534c673eb7f63b62b8426c149727f3860be9 SHA1 b4a213d5b3755d5eb1002edceed32925d11462ed SHA256 42d4c28394957623758205442e0f00fabf3fe213dcfdc92a123ed6a01dca47b2
+EBUILD virtualbox-bin-4.1.8.ebuild 10468 RMD160 d327d1dab7a8a2327c255c0312603ba39faddd17 SHA1 f2bfa2143342538624b5b43bdaa664687d42249d SHA256 946d435282278fce13f06e5b4685b512cab02dca07a7a01a0b91d92788e81fae
+MISC ChangeLog 24689 RMD160 749d8dbc441141092cb38a0f64f59373cb962f2c SHA1 0048aa1b0cf36c47b1b88484e75b39f7483448aa SHA256 042478c1642e5175d3cf2b6bfbedb7485e07dcd98102a8e81fdbd61d0d420493
 MISC metadata.xml 755 RMD160 7f6826580082b19bfe9840bc3e5f7fb6c0187983 SHA1 7837cdcb901d76b933a0a5b5483c305d63cc3558 SHA256 bc86ac6086292fc36509d35b59b7872a70f0874ce07de68d26910450603b7ae2
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iQIcBAEBCgAGBQJO8IJAAAoJEPiazRVxLXTFYlsQAIB8b27yhIVoFhYA8Pci6a4j
-MUpXtXxy7ZXPPqIcg0/qihMeDYpkdITbbfjmea+3FWyf7o4yV35R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okuQa/wSdTHMMdZOi4q2X9KhKdQB3zKa
+piG1fxyzIMHl5XvvbWryo1MU5FrrmvnNXrrGxr+6aIlYHwW8NWejVSQKIbOKB6BT
+6FMKizCuBchLN45P6jebcf1dZ3VU0/j6GziplyTg34I1VCQ0imvwBW5iBqjNgVuW
+TJRqmW7hdWXNWwb4za+t4gD5T3obofeBjWejxCbX4/OHc+DWzZAtKU9fECp3oO8x
+DCYsGOBE4xV0t56dqU8uSA5l7FyMNr3Y5pM3j1/1ELFKVwT0sonMpJ0KFsO+w3Zn
+qAZXd9JgGBf1G5YmiznG
+=sRve
 -----END PGP SIGNATURE-----
index 943297fbfc29ee664f5c65eeaa4964e3a3f0a87d..2b2d63fd5912ae33a530d3c7608cd42cfac22cc5 100644 (file)
@@ -1,10 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.1.8.ebuild,v 1.1 2011/12/20 12:40:26 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.1.8.ebuild,v 1.2 2012/01/09 21:42:10 polynomial-c Exp $
 
 EAPI=2
 
-inherit eutils fdo-mime pax-utils
+inherit eutils fdo-mime gnome2 pax-utils
 
 MY_PV=${PV}-75467
 SDK_PV=${MY_PV}
@@ -171,13 +171,32 @@ src_unpack() {
        fi
 }
 
+src_configure() {
+       :;
+}
+
+src_compile() {
+       :;
+}
+
 src_install() {
        # create virtualbox configurations files
        insinto /etc/vbox
        newins "${FILESDIR}/${PN}-config" vbox.cfg
 
        if ! use headless ; then
-               newicon VBox.png ${PN}.png
+               pushd "${S}"/icons &>/dev/null || die
+               for size in * ; do
+                       if [ -f "${size}/virtualbox.png" ] ; then
+                               insinto "/usr/share/icons/hicolor/${size}/apps"
+                               newins "${size}/virtualbox.png" ${PN}.png
+                       fi
+               done
+               dodir /usr/share/pixmaps
+               cp "48x48/virtualbox.png" "${D}/usr/share/pixmaps/${PN}.png" \
+                       || die
+               popd &>/dev/null || die
+
                newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
        fi
 
@@ -303,6 +322,8 @@ src_install() {
 pkg_postinst() {
        fdo-mime_desktop_database_update
 
+       gnome2_icon_cache_update
+
        udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
 
        elog ""