summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-04-26 18:26:48 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-04-26 18:26:48 +0000
commit9bf47bb9935991ef58cb47e558d978785fa35a3d (patch)
treee80d897d07f0058d7a0d355611e26ff6885174c4 /mail-client
parentversion bump (diff)
downloadgentoo-2-9bf47bb9935991ef58cb47e558d978785fa35a3d.tar.gz
gentoo-2-9bf47bb9935991ef58cb47e558d978785fa35a3d.tar.bz2
gentoo-2-9bf47bb9935991ef58cb47e558d978785fa35a3d.zip
Use gnome2-utils.eclass to update the cache instead of calling gtk-update-icon-cache directly.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/claws-mail/ChangeLog6
-rw-r--r--mail-client/claws-mail/claws-mail-3.7.9.ebuild12
2 files changed, 13 insertions, 5 deletions
diff --git a/mail-client/claws-mail/ChangeLog b/mail-client/claws-mail/ChangeLog
index c2ed69a3bc5e..e41a103c2473 100644
--- a/mail-client/claws-mail/ChangeLog
+++ b/mail-client/claws-mail/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-client/claws-mail
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.173 2011/04/17 14:39:01 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.174 2011/04/26 18:26:48 ssuominen Exp $
+
+ 26 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> claws-mail-3.7.9.ebuild:
+ Use gnome2-utils.eclass to update the cache instead of calling
+ gtk-update-icon-cache directly.
17 Apr 2011; Christian Faulhammer <fauli@gentoo.org>
claws-mail-3.7.9.ebuild:
diff --git a/mail-client/claws-mail/claws-mail-3.7.9.ebuild b/mail-client/claws-mail/claws-mail-3.7.9.ebuild
index ba96cf000b01..a1dc2b053978 100644
--- a/mail-client/claws-mail/claws-mail-3.7.9.ebuild
+++ b/mail-client/claws-mail/claws-mail-3.7.9.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.7.9.ebuild,v 1.2 2011/04/17 14:39:01 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.7.9.ebuild,v 1.3 2011/04/26 18:26:48 ssuominen Exp $
EAPI="2"
-inherit eutils multilib
+inherit eutils multilib gnome2-utils
DESCRIPTION="An email client (and news reader) based on GTK+"
HOMEPAGE="http://www.claws-mail.org/"
@@ -114,8 +114,12 @@ src_install() {
rm -f "${D}"/usr/lib*/${PN}/plugins/*.{la,a}
}
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
pkg_postinst() {
- gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor
+ gnome2_icon_cache_update
UPDATE_PLUGINS=""
for x in ${PLUGIN_NAMES}; do
@@ -133,5 +137,5 @@ pkg_postinst() {
}
pkg_postrm() {
- gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor
+ gnome2_icon_cache_update
}