Gentoo Archives: gentoo-dev

From: Gilles Dartiguelongue <eva@g.o>
To: "Rémi Cardona" <remi@g.o>, Mike Gilbert <floppym@g.o>, gentoo-dev@l.g.o
Cc: freedesktop-bugs@g.o
Subject: [gentoo-dev] Re: [PATCH 3/5] xdg.eclass: move deps to RDEPEND
Date: Mon, 01 Oct 2018 12:27:27
Message-Id: 1538396835.9799.2.camel@gentoo.org
In Reply to: [gentoo-dev] Re: [PATCH 3/5] xdg.eclass: move deps to RDEPEND by "Rémi Cardona"
1 Le lundi 01 octobre 2018 à 07:40 +0200, Rémi Cardona a écrit :
2 > Le 01/10/2018 à 00:50, Mike Gilbert a écrit :
3 > > update-desktop-database and update-mime-database are called from
4 > > ROOT in
5 > > pkg functions, so the related dependenices belong in RDEPEND.
6 > >
7 > > Signed-off-by: Mike Gilbert <floppym@g.o>
8 >
9 > As far as the eclass goes, this is correct. But AFAIR, this was
10 > needed
11 > because some packages look for those tools at build time. It was ages
12 > ago so maybe it no longer applies.
13 >
14 > Rémi
15 >
16
17 A lot of autotools based packages do explicitly search for it. I don't
18 think they fail if it is missing though but a tinderbox run would be
19 welcome.
20
21 The reason why it is in DEPEND though is that none of these tools are
22 required at runtime. They are needed at postinst and postrm stages
23 which afaik makes them DEPEND on EAPI previous to EAPI 7 and BDEPEND in
24 EAPI 7 if I'm not mistaken.
25
26 --
27 Gilles Dartiguelongue <eva@g.o>
28 Gentoo

Replies

Subject Author
[gentoo-dev] Re: [PATCH 3/5] xdg.eclass: move deps to RDEPEND Mike Gilbert <floppym@g.o>