Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Dev

add global useflag: webkit

 

 

First page Previous page 1 2 Next page Last page  View All Gentoo dev RSS feed   Index | Next | Previous | View Threaded


mgorny at gentoo

May 7, 2012, 9:07 PM

Post #26 of 28 (76 views)
Permalink
Re: add global useflag: webkit [In reply to]

On Mon, 07 May 2012 20:58:18 -0700
Zac Medico <zmedico [at] gentoo> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 05/07/2012 08:50 PM, Michał Górny wrote:
> > On Mon, 07 May 2012 14:41:33 -0700 Zac Medico <zmedico [at] gentoo>
> > wrote:
> >
> >> On 05/07/2012 01:43 PM, Michał Górny wrote:
> >>> On Mon, 07 May 2012 13:24:31 -0700 Zac Medico
> >>> <zmedico [at] gentoo> wrote:
> >>>
> >>>> On 05/07/2012 12:18 PM, Ulrich Mueller wrote:
> >>>>>>>>>> On Mon, 7 May 2012, Ciaran McCreesh wrote:
> >>>>>
> >>>>>> I propose:
> >>>>>
> >>>>>> REQUIRED_USE="== ( qt webkit )"
> >>>>>
> >>>>> But this just means that the ebuild has redundant USE
> >>>>> flags, so one of them shouldn't be in IUSE, in the first
> >>>>> place.
> >>>>
> >>>> It serves to convey meaning, such that a user who has
> >>>> disabled the qt USE flag will get a meaningful prompt if that
> >>>> flag is required for webkit support. This kind of information
> >>>> could be useful to some people, and it may be preferable to
> >>>> having a separate webkit-qt flag.
> >>>
> >>> If 'qt' flag is required for webkit support, it's 'webkit? ( qt
> >>> )'.
> >>
> >> What if '!webkit? ( !qt )' also applies though? As an alternative
> >> to listing both constraints separately, you could combine them as
> >> '^^ ( webkit !qt )', or add support for '== ( qt webkit )' to
> >> make the expression easier to read.
> >
> > Then it's pointless to have the 'webkit' flag which doesn't
> > control anything.
>
> Generalize the discussion to be about two abstract flags "x" and "y"
> that have the same kind of relationship, where each one actually does
> control something, but the two features are intertwined in a
> particular package such that they must both be enabled or disabled in
> unison.

Then please show me an example of that.

--
Best regards,
Michał Górny
Attachments: signature.asc (0.31 KB)


zmedico at gentoo

May 7, 2012, 9:35 PM

Post #27 of 28 (77 views)
Permalink
Re: add global useflag: webkit [In reply to]

On 05/07/2012 09:07 PM, Michał Górny wrote:
> On Mon, 07 May 2012 20:58:18 -0700
> Zac Medico <zmedico [at] gentoo> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 05/07/2012 08:50 PM, Michał Górny wrote:
>>> On Mon, 07 May 2012 14:41:33 -0700 Zac Medico <zmedico [at] gentoo>
>>> wrote:
>>>
>>>> On 05/07/2012 01:43 PM, Michał Górny wrote:
>>>>> On Mon, 07 May 2012 13:24:31 -0700 Zac Medico
>>>>> <zmedico [at] gentoo> wrote:
>>>>>
>>>>>> On 05/07/2012 12:18 PM, Ulrich Mueller wrote:
>>>>>>>>>>>> On Mon, 7 May 2012, Ciaran McCreesh wrote:
>>>>>>>
>>>>>>>> I propose:
>>>>>>>
>>>>>>>> REQUIRED_USE="== ( qt webkit )"
>>>>>>>
>>>>>>> But this just means that the ebuild has redundant USE
>>>>>>> flags, so one of them shouldn't be in IUSE, in the first
>>>>>>> place.
>>>>>>
>>>>>> It serves to convey meaning, such that a user who has
>>>>>> disabled the qt USE flag will get a meaningful prompt if that
>>>>>> flag is required for webkit support. This kind of information
>>>>>> could be useful to some people, and it may be preferable to
>>>>>> having a separate webkit-qt flag.
>>>>>
>>>>> If 'qt' flag is required for webkit support, it's 'webkit? ( qt
>>>>> )'.
>>>>
>>>> What if '!webkit? ( !qt )' also applies though? As an alternative
>>>> to listing both constraints separately, you could combine them as
>>>> '^^ ( webkit !qt )', or add support for '== ( qt webkit )' to
>>>> make the expression easier to read.
>>>
>>> Then it's pointless to have the 'webkit' flag which doesn't
>>> control anything.
>>
>> Generalize the discussion to be about two abstract flags "x" and "y"
>> that have the same kind of relationship, where each one actually does
>> control something, but the two features are intertwined in a
>> particular package such that they must both be enabled or disabled in
>> unison.
>
> Then please show me an example of that.

I don't see any offhand. I guess it's fairly uncommon, or non-existent.
--
Thanks,
Zac


ssuominen at gentoo

May 8, 2012, 12:22 AM

Post #28 of 28 (76 views)
Permalink
Re: add global useflag: webkit [In reply to]

On 05/07/2012 11:24 PM, Zac Medico wrote:
> On 05/07/2012 12:18 PM, Ulrich Mueller wrote:
>>>>>>> On Mon, 7 May 2012, Ciaran McCreesh wrote:
>>
>>> I propose:
>>
>>> REQUIRED_USE="== ( qt webkit )"
>>
>> But this just means that the ebuild has redundant USE flags, so one of
>> them shouldn't be in IUSE, in the first place.
>
> It serves to convey meaning, such that a user who has disabled the qt
> USE flag will get a meaningful prompt if that flag is required for
> webkit support. This kind of information could be useful to some people,
> and it may be preferable to having a separate webkit-qt flag.

ulm is right, it would still show up as an redudant USE flag as,
the preferable result is that even KDE/Qt4 users get webkit-gtk
installed if it's the rendering engine provided by the package.
GTK+ is just graphical toolkit and not directly GNOME (like KDE users
avoiding GNOME). By this same logic both USE="gtk qt4" are enabled in
the desktop profile.
I don't think we have any packages with *both* webkit-gtk and webkit-qt
supports in tree (do we?).

First page Previous page 1 2 Next page Last page  View All Gentoo dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.