Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: zmedico@g.o
Subject: Re: [gentoo-dev] add global useflag: webkit
Date: Tue, 08 May 2012 04:07:38
Message-Id: 20120508060722.7f8e6124@pomiocik.lan
In Reply to: Re: [gentoo-dev] add global useflag: webkit by Zac Medico
1 On Mon, 07 May 2012 20:58:18 -0700
2 Zac Medico <zmedico@g.o> wrote:
3
4 > -----BEGIN PGP SIGNED MESSAGE-----
5 > Hash: SHA1
6 >
7 > On 05/07/2012 08:50 PM, Michał Górny wrote:
8 > > On Mon, 07 May 2012 14:41:33 -0700 Zac Medico <zmedico@g.o>
9 > > wrote:
10 > >
11 > >> On 05/07/2012 01:43 PM, Michał Górny wrote:
12 > >>> On Mon, 07 May 2012 13:24:31 -0700 Zac Medico
13 > >>> <zmedico@g.o> wrote:
14 > >>>
15 > >>>> On 05/07/2012 12:18 PM, Ulrich Mueller wrote:
16 > >>>>>>>>>> On Mon, 7 May 2012, Ciaran McCreesh wrote:
17 > >>>>>
18 > >>>>>> I propose:
19 > >>>>>
20 > >>>>>> REQUIRED_USE="== ( qt webkit )"
21 > >>>>>
22 > >>>>> But this just means that the ebuild has redundant USE
23 > >>>>> flags, so one of them shouldn't be in IUSE, in the first
24 > >>>>> place.
25 > >>>>
26 > >>>> It serves to convey meaning, such that a user who has
27 > >>>> disabled the qt USE flag will get a meaningful prompt if that
28 > >>>> flag is required for webkit support. This kind of information
29 > >>>> could be useful to some people, and it may be preferable to
30 > >>>> having a separate webkit-qt flag.
31 > >>>
32 > >>> If 'qt' flag is required for webkit support, it's 'webkit? ( qt
33 > >>> )'.
34 > >>
35 > >> What if '!webkit? ( !qt )' also applies though? As an alternative
36 > >> to listing both constraints separately, you could combine them as
37 > >> '^^ ( webkit !qt )', or add support for '== ( qt webkit )' to
38 > >> make the expression easier to read.
39 > >
40 > > Then it's pointless to have the 'webkit' flag which doesn't
41 > > control anything.
42 >
43 > Generalize the discussion to be about two abstract flags "x" and "y"
44 > that have the same kind of relationship, where each one actually does
45 > control something, but the two features are intertwined in a
46 > particular package such that they must both be enabled or disabled in
47 > unison.
48
49 Then please show me an example of that.
50
51 --
52 Best regards,
53 Michał Górny

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] add global useflag: webkit Zac Medico <zmedico@g.o>