summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-03-11 14:03:40 +0100
committerMichał Górny <mgorny@gentoo.org>2017-03-18 08:33:15 +0100
commit650a1ebe8f63d3750908142e2117b24a8efc9403 (patch)
tree98ac14df60e82bc3fea2120f2e953cb3c5aaa4aa /eclass
parentmedia-libs/ladspa-sdk: remove 1.13-r1 (diff)
downloadgentoo-650a1ebe8f63d3750908142e2117b24a8efc9403.tar.gz
gentoo-650a1ebe8f63d3750908142e2117b24a8efc9403.tar.bz2
gentoo-650a1ebe8f63d3750908142e2117b24a8efc9403.zip
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.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index e398aafc464a..ac6a4854d17b 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"