From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5C03E139694 for ; Mon, 19 Jun 2017 13:20:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B504FE0C5C; Mon, 19 Jun 2017 13:20:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C2DBE0BA0 for ; Mon, 19 Jun 2017 13:20:32 +0000 (UTC) Received: from localhost.localdomain (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 9388833E1CB; Mon, 19 Jun 2017 13:20:30 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH] fdo-mime.eclass: Mark the eclass as deprecated Date: Mon, 19 Jun 2017 15:20:19 +0200 Message-Id: <20170619132019.11142-1-mgorny@gentoo.org> X-Mailer: git-send-email 2.13.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: 72b8b4f8-ceec-4bab-b7d9-fb8dce9169ef X-Archives-Hash: a0633aaaf76e17fb2602e798d776c533 The GNOME team has committed the xdg-utils.eclass serving exactly the same purpose as fdo-mime.eclass, supposedly with the goal of replacing it. However, it seems that they have never bothered to actually hint the deprecation in the fdo-mime.eclass in any way. As a result, developers are still adding references to this eclass instead of using xdg-utils or xdg, and/or not working towards replacing them. Add an explicit deprecation notice to the fdo-mime.eclass to make it clear that the eclass should not be used in new packages, and what the replacement eclasses are. --- eclass/fdo-mime.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/fdo-mime.eclass b/eclass/fdo-mime.eclass index b3b096d154e7..8e51d8a69df1 100644 --- a/eclass/fdo-mime.eclass +++ b/eclass/fdo-mime.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: fdo-mime.eclass @@ -7,6 +7,8 @@ # @AUTHOR: # Original author: foser # @BLURB: Utility eclass to update the desktop mime info as laid out in the freedesktop specs & implementations +# @DESCRIPTION: +# This eclass is DEPRECATED. Please use xdg-utils or xdg instead. # @FUNCTION: fdo-mime_desktop_database_update # @DESCRIPTION: -- 2.13.1