public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* RE: [gentoo-dev] USE settings for specific apps
@ 2001-11-26 14:42 Sean Mitchell
  2001-11-26 15:09 ` Chad Huneycutt
  0 siblings, 1 reply; 7+ messages in thread
From: Sean Mitchell @ 2001-11-26 14:42 UTC (permalink / raw
  To: 'gentoo-dev@gentoo.org'

>     Some people have suggested that they would like to be 
> able to set some
> USE variables for specific apps.....examples escape me, but I 
> know it has
> been brought up.
> 
>     Anyways, I was thinking something along these lines would work:
> 
> ----
> # Global settings
> USE = "this that other etc"
> 
> # App specific
> USE-mozilla = "!this !that foo"
> ----
> 
> Basicaly, the syntax would be "USE-<appname>".  This portion should be
> simple enough to impliment, however the variables pose more 
> of a problem
> since you dont want to have to repeat all of the normal USE 
> settings for a
> specific app and most of the time you just want to specify a 
> USE setting not
> to use (hence the !'s).  Special vars might be good here too, like
> "defaults" to inherit all the global USE settings...or 
> "no-defaults" to
> ignore them all...
> 
> .....thats the general idea....comments?

I don't like the idea of making app-specific settings in a global file. For
my money I think that a command line switch to emerge/ebuild to turn certain
USE variables on or off would be better. The idea that a user ALWAYS or
NEVER wants to use a particular thing seems a bit rigid to me.

Sean

------------------------------------------------------------------------
 Sean Mitchell                                        Software Engineer
 smitchell@phoenix-interactive.com       Phoenix Interactive Design Inc
 tel. 519-679-2913 x237                        4th Floor, 137 Dundas St
 fax. 519 679 6773                          London, ON, Canada  N6A 1E9
                           ICQ# 104246806
------------------------------------------------------------------------ 


^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: [gentoo-dev] USE settings for specific apps
@ 2001-11-26 16:21 Sean Mitchell
  2001-11-27 20:06 ` Taras
  0 siblings, 1 reply; 7+ messages in thread
From: Sean Mitchell @ 2001-11-26 16:21 UTC (permalink / raw
  To: 'gentoo-dev@gentoo.org'

> > For my money I think that a command line switch to emerge/ebuild to
> > turn certain USE variables on or off would be better. The idea that
> > a user ALWAYS or NEVER wants to use a particular thing seems a bit
> > rigid to me.
> 
> You can do this with BASH already.  just set the use variably as you
> like it and then emerge.  or
> 
> % USE="foo bar baz" emerge foo/bar
> 
> I am not up on the syntax, but you can also use += or -= to remove
> variables, I think.

That would work, but I'd rather see a non-shell specific like:

emerge --do-not-use=foo --do-not-use=bar --use=baz foo/bar

Makes it easier for a GUI frontend too....


Sean


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [gentoo-dev] USE settings for specific apps
@ 2001-11-25 17:04 Tom von Schwerdtner
  2001-11-25 19:33 ` Gontran
  2001-11-25 21:02 ` Nathaniel Grady
  0 siblings, 2 replies; 7+ messages in thread
From: Tom von Schwerdtner @ 2001-11-25 17:04 UTC (permalink / raw
  To: gentoo-dev

Hey all,

    Some people have suggested that they would like to be able to set some
USE variables for specific apps.....examples escape me, but I know it has
been brought up.

    Anyways, I was thinking something along these lines would work:

----
# Global settings
USE = "this that other etc"

# App specific
USE-mozilla = "!this !that foo"
----

Basicaly, the syntax would be "USE-<appname>".  This portion should be
simple enough to impliment, however the variables pose more of a problem
since you dont want to have to repeat all of the normal USE settings for a
specific app and most of the time you just want to specify a USE setting not
to use (hence the !'s).  Special vars might be good here too, like
"defaults" to inherit all the global USE settings...or "no-defaults" to
ignore them all...

.....thats the general idea....comments?

-Tom







^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-11-27  3:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-26 14:42 [gentoo-dev] USE settings for specific apps Sean Mitchell
2001-11-26 15:09 ` Chad Huneycutt
  -- strict thread matches above, loose matches on Subject: below --
2001-11-26 16:21 Sean Mitchell
2001-11-27 20:06 ` Taras
2001-11-25 17:04 Tom von Schwerdtner
2001-11-25 19:33 ` Gontran
2001-11-25 21:02 ` Nathaniel Grady

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox