From: Andreas Sturmlechner Date: Tue, 17 Mar 2020 09:56:49 +0000 (+0100) Subject: kde5.eclass: Add _kde5_really_dead eqawarn in pkg_setup, pkg_postinst X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d10085b7179b9bb9eb6559ad233cbfcf1e8a5bbe;p=gentoo.git kde5.eclass: Add _kde5_really_dead eqawarn in pkg_setup, pkg_postinst Signed-off-by: Andreas Sturmlechner --- diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index f886ef746525..0b8aa82ecf70 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -240,11 +240,16 @@ _kde5_strip_handbook_translations() { # @FUNCTION: cmake_use_find_package # @USAGE: # @DESCRIPTION: -# Compatibility alias for cmake.eclass -> cmake.eclass +# Compatibility alias for cmake-utils.eclass -> cmake.eclass cmake-utils_use_find_package() { cmake_use_find_package "$@" ; } +_kde5_really_dead() { + eqawarn "${CATEGORY}/${PN} is using DEAD kde5.eclass that will be removed" + eqawarn "on 2020-04-16. Read PORTING notes inside kde5.eclass and kde5-functions.eclass." +} + # @FUNCTION: kde5_pkg_pretend # @DESCRIPTION: # Checks if the active compiler meets the minimum version requirements. @@ -262,6 +267,7 @@ kde5_pkg_pretend() { # Checks if the active compiler meets the minimum version requirements. kde5_pkg_setup() { debug-print-function ${FUNCNAME} "$@" + _kde5_really_dead case ${KDE_AUTODEPS} in false) ;; *) ecm_pkg_setup ;; @@ -412,6 +418,7 @@ kde5_pkg_preinst() { # Updates the various XDG caches (icon, desktop, mime) if necessary. kde5_pkg_postinst() { debug-print-function ${FUNCNAME} "$@" + _kde5_really_dead case ${KDE_AUTODEPS} in false) xdg_pkg_postinst ;; *) ecm_pkg_postinst ;;