public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [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

* Re: [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
  1 sibling, 0 replies; 7+ messages in thread
From: Gontran @ 2001-11-25 19:33 UTC (permalink / raw
  To: gentoo-dev

* Tom von Schwerdtner (tvon@etria.org) wrote:
> 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?

Hey Tom,

I've heard these requests too; however, adding more complexity doesn't
seem, to me, like the thing to do.  Why not the user read the ebuild prior
to emerging, and modify her USE variables to taste?  I thought this was
standard practice, in fact.

The current state encourages ebuild reading prior to merging, understanding
of how Portage works, and maintains existing elegance.  

More practically, would it even be feasable to add such a feature to
Portage at this stage in its lifecycle?

Very Best Regards,
Gontran


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

* Re: [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
  1 sibling, 0 replies; 7+ messages in thread
From: Nathaniel Grady @ 2001-11-25 21:02 UTC (permalink / raw
  To: gentoo-dev

gaim is one example - i *hate* having it built with gnome support because it ends up as a pannel applet then. Otherwise i use gnomesupport for everything else :)

--Nate Grady

On Sun, Nov 25, 2001 at 06:04:06PM +0100, Tom von Schwerdtner wrote:
> 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
> 
> 
> 
> 
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev


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

* 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 14:42 [gentoo-dev] USE settings for specific apps Sean Mitchell
@ 2001-11-26 15:09 ` Chad Huneycutt
  0 siblings, 0 replies; 7+ messages in thread
From: Chad Huneycutt @ 2001-11-26 15:09 UTC (permalink / raw
  To: gentoo-dev

On Mon, 2001-11-26 at 09:42, Sean Mitchell wrote:
> 
> >     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.
>
> I don't like the idea of making app-specific settings in a global file. 

Agreed.

> 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.

Chad


^ 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

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

On Mon, 2001-11-26 at 08:21, Sean Mitchell wrote:
> 
> > > 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
I think this is the best way of doing this. In other words, I seconds
this approach.

> Makes it easier for a GUI frontend too....
> 
> 
> Sean
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev




^ 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