1 |
The GNOME team has committed the xdg-utils.eclass serving exactly |
2 |
the same purpose as fdo-mime.eclass, supposedly with the goal of |
3 |
replacing it. However, it seems that they have never bothered to |
4 |
actually hint the deprecation in the fdo-mime.eclass in any way. |
5 |
As a result, developers are still adding references to this eclass |
6 |
instead of using xdg-utils or xdg, and/or not working towards replacing |
7 |
them. |
8 |
|
9 |
Add an explicit deprecation notice to the fdo-mime.eclass to make it |
10 |
clear that the eclass should not be used in new packages, and what |
11 |
the replacement eclasses are. |
12 |
--- |
13 |
eclass/fdo-mime.eclass | 4 +++- |
14 |
1 file changed, 3 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/eclass/fdo-mime.eclass b/eclass/fdo-mime.eclass |
17 |
index b3b096d154e7..8e51d8a69df1 100644 |
18 |
--- a/eclass/fdo-mime.eclass |
19 |
+++ b/eclass/fdo-mime.eclass |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2011 Gentoo Foundation |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
# @ECLASS: fdo-mime.eclass |
26 |
@@ -7,6 +7,8 @@ |
27 |
# @AUTHOR: |
28 |
# Original author: foser <foser@g.o> |
29 |
# @BLURB: Utility eclass to update the desktop mime info as laid out in the freedesktop specs & implementations |
30 |
+# @DESCRIPTION: |
31 |
+# This eclass is DEPRECATED. Please use xdg-utils or xdg instead. |
32 |
|
33 |
# @FUNCTION: fdo-mime_desktop_database_update |
34 |
# @DESCRIPTION: |
35 |
-- |
36 |
2.13.1 |