public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-dev] Portage2 super USE flag suggestin
@ 2002-07-18 15:55 maciek
  2002-07-18 17:12 ` Alexander Gretencord
  0 siblings, 1 reply; 8+ messages in thread
From: maciek @ 2002-07-18 15:55 UTC (permalink / raw
  To: gentoo-dev

I like this idea!

However, a simpler solution would be to introduce some priority
of USE flags. "-X" would also say -gtk because gtk depends on X.
Then, we could eventually introduce f.e. "sound" use flag and make
alsa, oss... dependant on it.


/Maciek


Quoting Craig Joly <craig@taipan.mudshark.org>:
> [snip]
> A possible solution: super USE flags, for want of a better name.
> Something along the lines of USE="noX", where
> noX=-X -gtk -gtk2 -qt -qtmt -tcltk -fltk -gnome -gnome-libs -kde -bonobo -xv
> -dga (any other toolkits, etc)
> nodb=-postgres -mysql -berkdb -gdbm -innodb (any other databases)
> nosound=-als -oss -esd -arts -oggvorbis (any other sound stuff)
> nofb=-directfb fbcon
> noscript=-perl -python -ruby -tcltk -guile
> 
> I think you get the idea.  That way, if you want to guarantee
> installing vim without X support:
> USE="noX" emerge vim



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [gentoo-dev] Portage2 super USE flag suggestin
@ 2002-07-18 15:05 Craig Joly
  2002-07-18 15:54 ` David Mallwitz
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Craig Joly @ 2002-07-18 15:05 UTC (permalink / raw
  To: gentoo-dev

A complaint that I've seen in the comments section of every single
Gentoo review is "I tried to emerge VIM on my server and it wants to
install X.  Gentoo sucks!"  or something along those lines.  At first,
the answer seems obvious:
USE="-X" emerge vim
It doesn't work, unless you happen to have the rest of your USE flags
set exactly right.  When you look at the dependancies in the ebuild,
you find that it also can depend on gtk.  All right:
USE="-X -gtk" emerge vim
Still wants to install X.  Now, we start digging.  And discover that
python is causing the problem because it can depend on tcltk, which
depends on X.
USE="-X -gtk -tcltk" emerge vim
This should work in all cases.  As far as I can tell.
Same problem with nethack and a few other programs.  It's not a big
deal for those of us who are willing to dig through all of the ebuilds
looking for a stray dependency, just a pain in the ass, but it really
sucks for new users who just want to set up a server.

A possible solution: super USE flags, for want of a better name.
Something along the lines of USE="noX", where
noX=-X -gtk -gtk2 -qt -qtmt -tcltk -fltk -gnome -gnome-libs -kde -bonobo -xv -dga (any other toolkits, etc)
nodb=-postgres -mysql -berkdb -gdbm -innodb (any other databases)
nosound=-als -oss -esd -arts -oggvorbis (any other sound stuff)
nofb=-directfb fbcon
noscript=-perl -python -ruby -tcltk -guile

I think you get the idea.  That way, if you want to guarantee
installing vim without X support:
USE="noX" emerge vim

What do you guys think.

-- 
Some mistakes are too much fun to only make once.


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

end of thread, other threads:[~2002-07-18 18:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-18 15:55 [gentoo-dev] Portage2 super USE flag suggestin maciek
2002-07-18 17:12 ` Alexander Gretencord
2002-07-18 18:29   ` Matthew Walker
  -- strict thread matches above, loose matches on Subject: below --
2002-07-18 15:05 Craig Joly
2002-07-18 15:54 ` David Mallwitz
2002-07-18 16:07 ` Vitaly Kushneriuk
2002-07-18 16:44 ` Christian Axelsson
2002-07-18 17:09   ` Robert M. Zigweid

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