gnome2_icon_savelist() and gnome2_icon_cache_update() are no longer
defined in EAPI 7. Use xdg_icon_cache_update as replacement.
Closes: https://bugs.gentoo.org/692520
Reported-by: Stephan Hartmann <stha09@googlemail.com>
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
EAPI=7
-inherit elisp-common desktop xdg-utils gnome2-utils readme.gentoo-r1
+inherit elisp-common desktop xdg-utils readme.gentoo-r1
DESCRIPTION="Common files needed by all GNU Emacs versions"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
doicon -s scalable emacs23.svg
newicon -s scalable emacs25.svg emacs.svg
popd
-
- gnome2_icon_savelist
fi
DOC_CONTENTS="All site initialisation for Gentoo-installed packages is
pkg_postinst() {
if use X; then
xdg_desktop_database_update
- gnome2_icon_cache_update
+ xdg_icon_cache_update
fi
readme.gentoo_print_elog
}
pkg_postrm() {
if use X; then
xdg_desktop_database_update
- gnome2_icon_cache_update
+ xdg_icon_cache_update
fi
}