commit:     ca867bcc34fa438c48e0632de7fe07db7c986fb8
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  8 02:04:57 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 02:16:37 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca867bcc

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(-)

diff --git a/app-text/calibre/calibre-2.78.0.ebuild 
b/app-text/calibre/calibre-2.78.0.ebuild
index b2d45db79e7..1e03a38661b 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 ec7d26d1453..87d9fc99591 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 46710a8a845..8cf13775969 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 e18eb11846b..f57de91b600 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
 }

Reply via email to