Gentoo Archives: gentoo-dev

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

Attachments

File name MIME type
signature.asc application/pgp-signature