From 7fa458a913a48ba8a3ac407ff7264dda80a4304b Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 5 Dec 2011 22:03:41 +0000 Subject: [PATCH] Ebuild improvements Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64 --- www-client/firefox-bin/ChangeLog | 5 ++++- www-client/firefox-bin/firefox-bin-8.0.ebuild | 13 +++++++++++-- www-client/seamonkey-bin/ChangeLog | 5 ++++- .../seamonkey-bin/seamonkey-bin-2.5.ebuild | 18 ++++++++++++++++-- 4 files changed, 35 insertions(+), 6 deletions(-) diff --git a/www-client/firefox-bin/ChangeLog b/www-client/firefox-bin/ChangeLog index fbabf7eb06f9..03bba5ada05a 100644 --- a/www-client/firefox-bin/ChangeLog +++ b/www-client/firefox-bin/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for www-client/firefox-bin # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/ChangeLog,v 1.73 2011/11/29 22:51:59 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/ChangeLog,v 1.74 2011/12/05 22:03:41 polynomial-c Exp $ + + 05 Dec 2011; Lars Wendler firefox-bin-8.0.ebuild: + Ebuild improvements. 29 Nov 2011; Tony Vroon firefox-bin-8.0.ebuild: Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo, diff --git a/www-client/firefox-bin/firefox-bin-8.0.ebuild b/www-client/firefox-bin/firefox-bin-8.0.ebuild index 23940105930d..f38fffba98c3 100644 --- a/www-client/firefox-bin/firefox-bin-8.0.ebuild +++ b/www-client/firefox-bin/firefox-bin-8.0.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/www-client/firefox-bin/firefox-bin-8.0.ebuild,v 1.3 2011/11/29 22:51:59 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/firefox-bin-8.0.ebuild,v 1.4 2011/12/05 22:03:41 polynomial-c Exp $ EAPI="3" -inherit eutils mozilla-launcher multilib mozextension pax-utils +inherit eutils mozilla-launcher multilib mozextension pax-utils fdo-mime gnome2-utils # Can be updated using scripts/get_langs.sh from mozilla overlay LANGS=(af ak ar ast be bg bn-BD bn-IN br bs ca cs cy da de el en en-GB en-US @@ -154,6 +154,10 @@ src_install() { pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/{firefox,firefox-bin,plugin-container} } +pkg_preinst() { + gnome2_icon_savelist +} + pkg_postinst() { if ! has_version 'gnome-base/gconf' || ! has_version 'gnome-base/orbit' \ || ! has_version 'net-misc/curl'; then @@ -168,8 +172,13 @@ pkg_postinst() { einfo "if you have curl emerged with the nss USE-flag" einfo fi + + # Update mimedb for the new .desktop file + fdo-mime_desktop_database_update + gnome2_icon_cache_update } pkg_postrm() { update_mozilla_launcher_symlinks + gnome2_icon_cache_update } diff --git a/www-client/seamonkey-bin/ChangeLog b/www-client/seamonkey-bin/ChangeLog index 0ae385ab485e..9a614fca3cda 100644 --- a/www-client/seamonkey-bin/ChangeLog +++ b/www-client/seamonkey-bin/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for www-client/seamonkey-bin # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.108 2011/11/23 23:01:00 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.109 2011/12/05 22:01:56 polynomial-c Exp $ + + 05 Dec 2011; Lars Wendler seamonkey-bin-2.5.ebuild: + Ebuild improvements. 23 Nov 2011; Lars Wendler seamonkey-bin-2.5.ebuild: Use nsplugins.eclass to handle the plugins directory. diff --git a/www-client/seamonkey-bin/seamonkey-bin-2.5.ebuild b/www-client/seamonkey-bin/seamonkey-bin-2.5.ebuild index 46da44f2d618..6f1823913beb 100644 --- a/www-client/seamonkey-bin/seamonkey-bin-2.5.ebuild +++ b/www-client/seamonkey-bin/seamonkey-bin-2.5.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/www-client/seamonkey-bin/seamonkey-bin-2.5.ebuild,v 1.2 2011/11/23 23:01:00 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.5.ebuild,v 1.3 2011/12/05 22:01:56 polynomial-c Exp $ EAPI="4" -inherit eutils mozilla-launcher multilib mozextension pax-utils nsplugins +inherit eutils mozilla-launcher multilib mozextension pax-utils nsplugins fdo-mime gnome2-utils LANGS=(be ca cs de en-GB en-US es-AR es-ES fi fr gl hu it ja lt nb-NO nl pl pt-PT ru sk sv-SE tr zh-CN) @@ -142,3 +142,17 @@ EOF # Required in order to use plugins and even run seamonkey on hardened. pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container} } + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + # Update mimedb for the new .desktop file + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} -- 2.26.2