commit: 650a1ebe8f63d3750908142e2117b24a8efc9403
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 13:03:40 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 18 07:33:15 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=650a1ebe
eutils.eclass: Deprecate validate_desktop_entries
The validate_desktop_entries function is redundant to the built-in
.desktop file checks done by Portage directly. It is used in total by
two packages for both of which bugs have been filed.
eclass/eutils.eclass | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index e398aafc464..ac6a4854d17 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: eutils.eclass
@@ -883,6 +883,9 @@ _eutils_eprefix_init() {
# @DESCRIPTION:
# Validate desktop entries using desktop-file-utils
validate_desktop_entries() {
+ eqawarn "validate_desktop_entries is deprecated and should be not be
used."
+ eqawarn ".desktop file validation is done implicitly by Portage now."
+
_eutils_eprefix_init
if [[ -x "${EPREFIX}"/usr/bin/desktop-file-validate ]] ; then
einfo "Checking desktop entry validity"