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 AA61A138334 for ; Mon, 1 Oct 2018 12:27:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95703E0997; Mon, 1 Oct 2018 12:27:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B6C7E098A for ; Mon, 1 Oct 2018 12:27:23 +0000 (UTC) Received: from kanae.home (2a01cb0805c29b00922b34fffe302689.ipv6.abo.wanadoo.fr [IPv6:2a01:cb08:5c2:9b00:922b:34ff:fe30:2689]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: eva) by smtp.gentoo.org (Postfix) with ESMTPSA id 0A364335CE4; Mon, 1 Oct 2018 12:27:19 +0000 (UTC) Message-ID: <1538396835.9799.2.camel@gentoo.org> Subject: [gentoo-dev] Re: [PATCH 3/5] xdg.eclass: move deps to RDEPEND From: Gilles Dartiguelongue To: =?ISO-8859-1?Q?R=E9mi?= Cardona , Mike Gilbert , gentoo-dev@lists.gentoo.org Cc: freedesktop-bugs@gentoo.org Date: Mon, 01 Oct 2018 14:27:15 +0200 In-Reply-To: <2e0b1447-d520-c4cc-61f6-7a1ad1761684@gentoo.org> References: <20180930225035.25434-1-floppym@gentoo.org> <20180930225035.25434-3-floppym@gentoo.org> <2e0b1447-d520-c4cc-61f6-7a1ad1761684@gentoo.org> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 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 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: c246a19c-841a-4f5f-aa56-73e34b52a346 X-Archives-Hash: 865e577256f04692a0aa13a65c3c8ce9 Le lundi 01 octobre 2018 à 07:40 +0200, Rémi Cardona a écrit : > Le 01/10/2018 à 00:50, Mike Gilbert a écrit : > > update-desktop-database and update-mime-database are called from > > ROOT in > > pkg functions, so the related dependenices belong in RDEPEND. > > > > Signed-off-by: Mike Gilbert > > As far as the eclass goes, this is correct. But AFAIR, this was > needed > because some packages look for those tools at build time. It was ages > ago so maybe it no longer applies. > > Rémi > A lot of autotools based packages do explicitly search for it. I don't think they fail if it is missing though but a tinderbox run would be welcome. The reason why it is in DEPEND though is that none of these tools are required at runtime. They are needed at postinst and postrm stages which afaik makes them DEPEND on EAPI previous to EAPI 7 and BDEPEND in EAPI 7 if I'm not mistaken. -- Gilles Dartiguelongue Gentoo