* [gentoo-user] Why have a use-flag that can not be disabled?
@ 2011-06-28 12:52 Sebastian Beßler
2011-06-28 13:57 ` Alan McKinnon
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Sebastian Beßler @ 2011-06-28 12:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 321 bytes --]
Hello,
atm I play with some use-flags and found that amarok has the flag player
that can not be disabled.
#required by amarok (argument)
=media-sound/amarok-2.4.1 player
If this flag is required at all costs, why make a flag at all? What good
is a switch that can not be toggled?
Greetings
Sebastian
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Why have a use-flag that can not be disabled?
2011-06-28 12:52 [gentoo-user] Why have a use-flag that can not be disabled? Sebastian Beßler
@ 2011-06-28 13:57 ` Alan McKinnon
2011-06-28 14:01 ` Neil Bothwick
2011-06-28 14:01 ` Mark Knecht
2 siblings, 0 replies; 6+ messages in thread
From: Alan McKinnon @ 2011-06-28 13:57 UTC (permalink / raw
To: gentoo-user; +Cc: Sebastian Beßler
On Tuesday 28 June 2011 14:52:22 Sebastian Beßler did opine thusly:
> Hello,
>
> atm I play with some use-flags and found that amarok has the flag
> player that can not be disabled.
>
> #required by amarok (argument)
> =media-sound/amarok-2.4.1 player
>
> If this flag is required at all costs, why make a flag at all? What
> good is a switch that can not be toggled?
amarok and amarok-utils are now the same ebuild. You can do one or the
other.
You can disable the player flag, but then you must enable the utils
flag which means you want to build the utilities like
collectionscanner.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Why have a use-flag that can not be disabled?
2011-06-28 12:52 [gentoo-user] Why have a use-flag that can not be disabled? Sebastian Beßler
2011-06-28 13:57 ` Alan McKinnon
@ 2011-06-28 14:01 ` Neil Bothwick
2011-06-28 14:32 ` Sebastian Beßler
2011-06-28 14:01 ` Mark Knecht
2 siblings, 1 reply; 6+ messages in thread
From: Neil Bothwick @ 2011-06-28 14:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 618 bytes --]
On Tue, 28 Jun 2011 14:52:22 +0200, Sebastian Beßler wrote:
> atm I play with some use-flags and found that amarok has the flag player
> that can not be disabled.
>
> #required by amarok (argument)
> =media-sound/amarok-2.4.1 player
>
> If this flag is required at all costs, why make a flag at all? What good
> is a switch that can not be toggled?
As usual, the answer comes from reading the ebuild. You must have at
least one of player or utils in USE. -player works fine, as long as you
don't also have -utils.
--
Neil Bothwick
3 things happen as you age: 1) Your memory goes; 2) uh..um
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Why have a use-flag that can not be disabled?
2011-06-28 12:52 [gentoo-user] Why have a use-flag that can not be disabled? Sebastian Beßler
2011-06-28 13:57 ` Alan McKinnon
2011-06-28 14:01 ` Neil Bothwick
@ 2011-06-28 14:01 ` Mark Knecht
2 siblings, 0 replies; 6+ messages in thread
From: Mark Knecht @ 2011-06-28 14:01 UTC (permalink / raw
To: gentoo-user
On Tue, Jun 28, 2011 at 5:52 AM, Sebastian Beßler
<sebastian@darkmetatron.de> wrote:
> Hello,
>
> atm I play with some use-flags and found that amarok has the flag player
> that can not be disabled.
>
> #required by amarok (argument)
> =media-sound/amarok-2.4.1 player
>
> If this flag is required at all costs, why make a flag at all? What good
> is a switch that can not be toggled?
>
> Greetings
>
> Sebastian
You don't show what flag this is so it's hard to know exactly what you
are seeing. However having amarok is an option. I see it's somehow
associated with KDE but it's not on my system.
Maybe if amarok was not on your system then this flag could then be disabled?
- Mark
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Why have a use-flag that can not be disabled?
2011-06-28 14:01 ` Neil Bothwick
@ 2011-06-28 14:32 ` Sebastian Beßler
2011-06-28 15:44 ` Neil Bothwick
0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Beßler @ 2011-06-28 14:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 554 bytes --]
Am 28.06.2011 16:01, schrieb Neil Bothwick:
> As usual, the answer comes from reading the ebuild. You must have at
> least one of player or utils in USE. -player works fine, as long as you
> don't also have -utils.
Thanks all of you, that really helped.
The autounmask output looked like there was only that one option so I
was puzzled. It would have been better if it had printed both options
(player and/or utils) in this case.
I should really read the ebuild first before asking dumb questions :-)
Greetings
Sebastian Beßler
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Why have a use-flag that can not be disabled?
2011-06-28 14:32 ` Sebastian Beßler
@ 2011-06-28 15:44 ` Neil Bothwick
0 siblings, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2011-06-28 15:44 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 675 bytes --]
On Tue, 28 Jun 2011 16:32:38 +0200, Sebastian Beßler wrote:
> The autounmask output looked like there was only that one option so I
> was puzzled. It would have been better if it had printed both options
> (player and/or utils) in this case.
It seems that autounmask suggests the first option that will satisfy,
rather than giving a list of all the options. The latter would get
horrendously complicated with multiple flags each with multiple
dependencies.
--
Neil Bothwick
Give a man a fish and you have fed him for a day, but give him a case of
dynamite and soon the village will be showered with mud and seaweed and
unidentifiable chunks of fish.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-06-28 15:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-28 12:52 [gentoo-user] Why have a use-flag that can not be disabled? Sebastian Beßler
2011-06-28 13:57 ` Alan McKinnon
2011-06-28 14:01 ` Neil Bothwick
2011-06-28 14:32 ` Sebastian Beßler
2011-06-28 15:44 ` Neil Bothwick
2011-06-28 14:01 ` Mark Knecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox