On Tue, Aug 11, 2015 at 9:19 AM, Sergey Popov <pinkb...@gentoo.org> wrote:
> 11.08.2015 16:11, James Le Cuirot пишет:
>> On Tue, 11 Aug 2015 15:58:49 +0300
>> Sergey Popov <pinkb...@gentoo.org> wrote:
>>
>>> If both of flags are not set - we stick to default.
>>> Should this be set in EVERY ebuild explicitly?
>>>
>>> Maybe provide some sugar like $(qt_use_default qtgui 5), where
>>> qt_use_default is the name of function, qtgui is the package and 5 is
>>> the slot for default choice, where either BOTH of flags(qt4, qt5) are
>>> enabled or disabled
>>
>> That sounds a little bit like what I suggested earlier.
>>
>> https://archives.gentoo.org/gentoo-dev/message/884257a2d924a51851d629b1dc9b30df
>>
>
> But without introducing brand new useless USE flag. Which makes huge
> difference to me :-)
>

If we want the typical user to not set either qt4 or qt5, are we
saying that any package that could use either always enable one of
them by default?  Then all users get a GUI by default, and then users
have to explicitly disable it?  That seems to be the opposite of how
we normally do things, but it does let you get away from having lots
of users turning on qt.

Normally we'd just turn them on in a profile, but you can't do this if
some packages need qt4, some need qt5, and some fail if both are
enabled.

-- 
Rich

Reply via email to