From 2b6bb8fbc1a52cb0a4884f3ede1d8123cfc5260a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Thu, 21 Dec 2006 20:13:56 +0000 Subject: [PATCH] Install icons properly Package-Manager: portage-2.1.1-r2 --- net-im/amsn/ChangeLog | 5 ++++- net-im/amsn/Manifest | 24 ++++++++++++------------ net-im/amsn/amsn-0.96.ebuild | 21 +++++++++++++++------ 3 files changed, 31 insertions(+), 19 deletions(-) diff --git a/net-im/amsn/ChangeLog b/net-im/amsn/ChangeLog index 52a832e3092f..ba1393747da0 100644 --- a/net-im/amsn/ChangeLog +++ b/net-im/amsn/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-im/amsn # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.61 2006/11/24 15:40:11 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.62 2006/12/21 20:13:56 tester Exp $ + + 21 Dec 2006; Olivier Crête amsn-0.96.ebuild: + Install icons properly *amsn-0.96 (24 Nov 2006) diff --git a/net-im/amsn/Manifest b/net-im/amsn/Manifest index 7f44415452e2..c671793c9a8e 100644 --- a/net-im/amsn/Manifest +++ b/net-im/amsn/Manifest @@ -16,14 +16,14 @@ EBUILD amsn-0.95-r3.ebuild 1665 RMD160 86743804aefb5ec74d43503ee4ed559c9cdef49b MD5 4d55ab4a284c14c3e9631d5ff6b99173 amsn-0.95-r3.ebuild 1665 RMD160 86743804aefb5ec74d43503ee4ed559c9cdef49b amsn-0.95-r3.ebuild 1665 SHA256 31822114a3cf79c64239ddb4e63ed6c45722b7c73db081952c5e9fc673681bc0 amsn-0.95-r3.ebuild 1665 -EBUILD amsn-0.96.ebuild 1072 RMD160 07370cbdf76f6b3622a52dba3ade6cd4fae63ea5 SHA1 bc9a85adce20509c37df91c11adf24569136cb49 SHA256 aedabb0d7f0b97c3cbe5beaf42b2904f022d916a9132fc5a804c53fc3a6ddf38 -MD5 0395a81778668f966dfd31169b76b37f amsn-0.96.ebuild 1072 -RMD160 07370cbdf76f6b3622a52dba3ade6cd4fae63ea5 amsn-0.96.ebuild 1072 -SHA256 aedabb0d7f0b97c3cbe5beaf42b2904f022d916a9132fc5a804c53fc3a6ddf38 amsn-0.96.ebuild 1072 -MISC ChangeLog 7091 RMD160 f58747fba9f491c76b6238381c96e3e1a09d3947 SHA1 31b58c2710bc64e73f3c2b5d65dee750f3380ef2 SHA256 e513355ce2c58ea355ad89a31f6d06a38ccb3c753d1ae34adf048355534fdd87 -MD5 e1c48d5674e12c2548a338a5a024ae19 ChangeLog 7091 -RMD160 f58747fba9f491c76b6238381c96e3e1a09d3947 ChangeLog 7091 -SHA256 e513355ce2c58ea355ad89a31f6d06a38ccb3c753d1ae34adf048355534fdd87 ChangeLog 7091 +EBUILD amsn-0.96.ebuild 1259 RMD160 4c525be9e19c2d17f1aaa874f8e48bf23b62f390 SHA1 07738215deff94ff7a11a2d8f81e61681aecc7e4 SHA256 372fddfb82065f3b9526d6a9b3f2d94c0d2523666a8ddb0ec82e482f979e56e7 +MD5 d4f1253e4f65c0639f29475fa11ef605 amsn-0.96.ebuild 1259 +RMD160 4c525be9e19c2d17f1aaa874f8e48bf23b62f390 amsn-0.96.ebuild 1259 +SHA256 372fddfb82065f3b9526d6a9b3f2d94c0d2523666a8ddb0ec82e482f979e56e7 amsn-0.96.ebuild 1259 +MISC ChangeLog 7185 RMD160 572ea7add06e7256634657fa3383b3c956b9a01c SHA1 16397172bffe78d9f059928ba3f048e1d9872944 SHA256 5528b61ad60d1bc4f9d71f36c25defce04bb77a91b54860188f4c63192382e75 +MD5 a2e086cfe61f9d0443621bc12e3ef2de ChangeLog 7185 +RMD160 572ea7add06e7256634657fa3383b3c956b9a01c ChangeLog 7185 +SHA256 5528b61ad60d1bc4f9d71f36c25defce04bb77a91b54860188f4c63192382e75 ChangeLog 7185 MISC metadata.xml 228 RMD160 d75298dd38147e4c60991454366d6d9cc14985bb SHA1 9f2cadd0fee8f845e833c429f3e6d3a4e2a207b4 SHA256 0ca6e1352c0e4284a99ed8f0267b6835a5e33e2d8b94a08f1af6ad58fd72d942 MD5 0e256a8d05feddb125d5bf560873bea8 metadata.xml 228 RMD160 d75298dd38147e4c60991454366d6d9cc14985bb metadata.xml 228 @@ -38,9 +38,9 @@ MD5 1d9ca3daf1f3a4b1ce669e6b4e7db745 files/digest-amsn-0.96 235 RMD160 a6216860b810911c7d7f66ab3a9d09520d3019de files/digest-amsn-0.96 235 SHA256 bbfa8c75e53b358a9e91725edb90fe76a3b050c5408aa952bed9e881dd1a7048 files/digest-amsn-0.96 235 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFFZxJmmOfEJZHYOKcRAkPfAKCJfH+fXg9qBY7kc4kqfddgRUszlwCggCaH -QwOfPaGE8pzurasl6flwi8k= -=Mkcs +iD8DBQFFiusd+IXOQtHLm/gRAuPsAJ9s08bDq1aIoshHvM/EeYAiA/r4twCgi5Md +ZW7muSJBtfFPb+p6SxgmEWE= +=6iK4 -----END PGP SIGNATURE----- diff --git a/net-im/amsn/amsn-0.96.ebuild b/net-im/amsn/amsn-0.96.ebuild index 98a8362a1e25..4eb81fd2ee7d 100644 --- a/net-im/amsn/amsn-0.96.ebuild +++ b/net-im/amsn/amsn-0.96.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.96.ebuild,v 1.1 2006/11/24 15:40:11 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.96.ebuild,v 1.2 2006/12/21 20:13:56 tester Exp $ -inherit eutils fdo-mime +inherit eutils fdo-mime gnome2-utils MY_P=${P/_rc/RC} S="${WORKDIR}/${MY_P}" @@ -30,19 +30,28 @@ RDEPEND="${DEPEND}" src_install() { make rpm-install INSTALL_PREFIX=${D} + dodoc AGREEMENT TODO README FAQ CREDITS + domenu amsn.desktop + sed -i -e s:.png:: ${D}/usr/share/applications/amsn.desktop - dodir /usr/share/icons/hicolor - cp -r icons/* ${D}/usr/share/icons/hicolor - - dodoc AGREEMENT TODO README FAQ CREDITS + cd icons + for i in *; do + if [ -e ${i}/msn.png ]; then + insinto /usr/share/icons/hicolor/${i}/apps + doins ${i}/msn.png + fi + done } pkg_postinst() { fdo-mime_desktop_database_update + gnome2_icon_cache_update + ewarn "You might have to remove ~/.amsn prior to running as user if amsn hangs on start-up." } pkg_postrm() { fdo-mime_desktop_database_update + gnome2_icon_cache_update } -- 2.26.2