From ca867bcc34fa438c48e0632de7fe07db7c986fb8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 7 Jan 2018 18:04:57 -0800 Subject: app-text/calibre: call gnome2_icon_cache_update Closes: https://bugs.gentoo.org/643832 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- app-text/calibre/calibre-2.78.0.ebuild | 10 ++++++++-- app-text/calibre/calibre-3.15.0.ebuild | 5 ++++- app-text/calibre/calibre-3.3.0.ebuild | 7 +++++-- app-text/calibre/calibre-3.8.0.ebuild | 7 +++++-- 4 files changed, 22 insertions(+), 7 deletions(-) (limited to 'app-text') diff --git a/app-text/calibre/calibre-2.78.0.ebuild b/app-text/calibre/calibre-2.78.0.ebuild index b2d45db79e7c..1e03a38661bf 100644 --- a/app-text/calibre/calibre-2.78.0.ebuild +++ b/app-text/calibre/calibre-2.78.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="sqlite,ssl" -inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs python-single-r1 +inherit eutils fdo-mime bash-completion-r1 gnome2-utils multilib toolchain-funcs python-single-r1 DESCRIPTION="Ebook management application" HOMEPAGE="http://calibre-ebook.com/" @@ -240,12 +240,18 @@ src_install() { } +pkg_preinst() { + gnome2_icon_savelist +} + pkg_postinst() { fdo-mime_desktop_database_update fdo-mime_mime_database_update + gnome2_icon_cache_update } pkg_postrm() { fdo-mime_desktop_database_update fdo-mime_mime_database_update + gnome2_icon_cache_update } diff --git a/app-text/calibre/calibre-3.15.0.ebuild b/app-text/calibre/calibre-3.15.0.ebuild index ec7d26d14536..87d9fc995915 100644 --- a/app-text/calibre/calibre-3.15.0.ebuild +++ b/app-text/calibre/calibre-3.15.0.ebuild @@ -6,7 +6,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="sqlite,ssl" -inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs python-single-r1 +inherit eutils fdo-mime bash-completion-r1 gnome2-utils multilib toolchain-funcs python-single-r1 DESCRIPTION="Ebook management application" HOMEPAGE="http://calibre-ebook.com/" @@ -253,6 +253,7 @@ src_install() { } pkg_preinst() { + gnome2_icon_savelist # Indentify stray directories from upstream's "Binary install" # method (see bug 622728). CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre @@ -271,9 +272,11 @@ pkg_postinst() { done fdo-mime_desktop_database_update fdo-mime_mime_database_update + gnome2_icon_cache_update } pkg_postrm() { fdo-mime_desktop_database_update fdo-mime_mime_database_update + gnome2_icon_cache_update } diff --git a/app-text/calibre/calibre-3.3.0.ebuild b/app-text/calibre/calibre-3.3.0.ebuild index 46710a8a8454..8cf137759698 100644 --- a/app-text/calibre/calibre-3.3.0.ebuild +++ b/app-text/calibre/calibre-3.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="sqlite,ssl" -inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs python-single-r1 +inherit eutils fdo-mime bash-completion-r1 gnome2-utils multilib toolchain-funcs python-single-r1 DESCRIPTION="Ebook management application" HOMEPAGE="http://calibre-ebook.com/" @@ -250,6 +250,7 @@ src_install() { } pkg_preinst() { + gnome2_icon_savelist # Indentify stray directories from upstream's "Binary install" # method (see bug 622728). CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre @@ -268,9 +269,11 @@ pkg_postinst() { done fdo-mime_desktop_database_update fdo-mime_mime_database_update + gnome2_icon_cache_update } pkg_postrm() { fdo-mime_desktop_database_update fdo-mime_mime_database_update + gnome2_icon_cache_update } diff --git a/app-text/calibre/calibre-3.8.0.ebuild b/app-text/calibre/calibre-3.8.0.ebuild index e18eb11846bc..f57de91b6003 100644 --- a/app-text/calibre/calibre-3.8.0.ebuild +++ b/app-text/calibre/calibre-3.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="sqlite,ssl" -inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs python-single-r1 +inherit eutils fdo-mime bash-completion-r1 gnome2-utils multilib toolchain-funcs python-single-r1 DESCRIPTION="Ebook management application" HOMEPAGE="http://calibre-ebook.com/" @@ -251,6 +251,7 @@ src_install() { } pkg_preinst() { + gnome2_icon_savelist # Indentify stray directories from upstream's "Binary install" # method (see bug 622728). CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre @@ -269,9 +270,11 @@ pkg_postinst() { done fdo-mime_desktop_database_update fdo-mime_mime_database_update + gnome2_icon_cache_update } pkg_postrm() { fdo-mime_desktop_database_update fdo-mime_mime_database_update + gnome2_icon_cache_update } -- cgit v1.2.3-65-gdbad