Skip to content

Commit

Permalink
app-text/calibre: call gnome2_icon_cache_update
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/643832
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
zmedico committed Jan 8, 2018
1 parent 962787c commit ca867bc
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
10 changes: 8 additions & 2 deletions app-text/calibre/calibre-2.78.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

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/"
Expand Down Expand Up @@ -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
}
5 changes: 4 additions & 1 deletion app-text/calibre/calibre-3.15.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -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
Expand All @@ -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
}
7 changes: 5 additions & 2 deletions app-text/calibre/calibre-3.3.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

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/"
Expand Down Expand Up @@ -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
Expand All @@ -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
}
7 changes: 5 additions & 2 deletions app-text/calibre/calibre-3.8.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

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/"
Expand Down Expand Up @@ -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
Expand All @@ -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
}

0 comments on commit ca867bc

Please sign in to comment.