Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] About using USE flags to pull in needed RDEPENDs being discouraged by devmanual
Date: Sat, 16 Jun 2012 18:00:35
Message-Id: 4FDCC878.90907@gentoo.org
In Reply to: [gentoo-dev] About using USE flags to pull in needed RDEPENDs being discouraged by devmanual by Pacho Ramos
1 On 06/16/2012 06:59 PM, Pacho Ramos wrote:
2 > This was noticed recently when getting:
3 > https://bugs.gentoo.org/show_bug.cgi?id=420569
4 >
5 > Also hit this problem today while trying to bump bluez and noticed we
6 > are using elog messages to tell people to manually install
7 > net-dialup/ppp if they want ppp working with bluez.
8 >
9 > I am unsure about the disadvantages of simply using, for example, "ppp"
10 > USE flag to do that. One important disadvantage of current "elog message
11 > way" is that:
12 > 1. We rely in people reading the message to get package working ok.
13 > 2. If user emerges ppp, it will be recorded in world file and, then, if
14 > in the future he removes bluez, emerge --depclean want clean no longer
15 > needed ppp and then, people end up with a lot of packages they needed to
16 > manually emerge some year but that they problem no longer need at all.
17 >
18 > Thanks for your thoughts
19 >
20
21 why not get this finally entirely out of the way:
22
23 suggested/recommended dependencies support, like SDEPEND,
24 http://bugs.gentoo.org/327701
25
26 as in, threat them as RDEPEND if user has the option to pull them in
27 enabled, otherwise print an uniformed postinst message
28
29 as a bonus, this solution would also allow USE dependencies to work and
30 would replace some cases of 'has_version foo/bar[use]'
31
32 - Samuli

Replies