Gentoo Archives: gentoo-dev

From: Craig Joly <craig@×××××××××××××××.org>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Portage2 super USE flag suggestin
Date: Thu, 18 Jul 2002 10:10:57
Message-Id: 20020718150528.GA25187@dante.taipan.mudshark.org
1 A complaint that I've seen in the comments section of every single
2 Gentoo review is "I tried to emerge VIM on my server and it wants to
3 install X. Gentoo sucks!" or something along those lines. At first,
4 the answer seems obvious:
5 USE="-X" emerge vim
6 It doesn't work, unless you happen to have the rest of your USE flags
7 set exactly right. When you look at the dependancies in the ebuild,
8 you find that it also can depend on gtk. All right:
9 USE="-X -gtk" emerge vim
10 Still wants to install X. Now, we start digging. And discover that
11 python is causing the problem because it can depend on tcltk, which
12 depends on X.
13 USE="-X -gtk -tcltk" emerge vim
14 This should work in all cases. As far as I can tell.
15 Same problem with nethack and a few other programs. It's not a big
16 deal for those of us who are willing to dig through all of the ebuilds
17 looking for a stray dependency, just a pain in the ass, but it really
18 sucks for new users who just want to set up a server.
19
20 A possible solution: super USE flags, for want of a better name.
21 Something along the lines of USE="noX", where
22 noX=-X -gtk -gtk2 -qt -qtmt -tcltk -fltk -gnome -gnome-libs -kde -bonobo -xv -dga (any other toolkits, etc)
23 nodb=-postgres -mysql -berkdb -gdbm -innodb (any other databases)
24 nosound=-als -oss -esd -arts -oggvorbis (any other sound stuff)
25 nofb=-directfb fbcon
26 noscript=-perl -python -ruby -tcltk -guile
27
28 I think you get the idea. That way, if you want to guarantee
29 installing vim without X support:
30 USE="noX" emerge vim
31
32 What do you guys think.
33
34 --
35 Some mistakes are too much fun to only make once.

Replies

Subject Author
Re: [gentoo-dev] Portage2 super USE flag suggestin David Mallwitz <dave@×××××××××.net>
Re: [gentoo-dev] Portage2 super USE flag suggestin Vitaly Kushneriuk <vitaly_kushneriuk@×××××.com>
Re: [gentoo-dev] Portage2 super USE flag suggestin Christian Axelsson <smiler@××××××××××.nu>