app-text/calibre: call gnome2_icon_cache_update
authorZac Medico <zmedico@gentoo.org>
Mon, 8 Jan 2018 02:04:57 +0000 (18:04 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 8 Jan 2018 02:16:37 +0000 (18:16 -0800)
Closes: https://bugs.gentoo.org/643832
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-text/calibre/calibre-2.78.0.ebuild
app-text/calibre/calibre-3.15.0.ebuild
app-text/calibre/calibre-3.3.0.ebuild
app-text/calibre/calibre-3.8.0.ebuild

index b2d45db79e7c1c9d557f9279e893bae235846e0b..1e03a38661bfa0a11df32be92b4154470c8aa725 100644 (file)
@@ -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
 }
index ec7d26d14536555e385e980813938d9e162c71d0..87d9fc99591517ad786f1cb43199c38c18832079 100644 (file)
@@ -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
 }
index 46710a8a8454c3725248a5e9559d04f962cddb65..8cf1377596980aa1a283d44d72e0231845617cd1 100644 (file)
@@ -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
 }
index e18eb11846bc41c17c609286a26fd9d24e71a457..f57de91b60039bae89eee418d8c1d8780d12f21a 100644 (file)
@@ -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
 }