public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Craig Joly <craig@taipan.mudshark.org>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Portage2 super USE flag suggestin
Date: Thu, 18 Jul 2002 09:05:28 -0600	[thread overview]
Message-ID: <20020718150528.GA25187@dante.taipan.mudshark.org> (raw)

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.


             reply	other threads:[~2002-07-18 15:10 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020718150528.GA25187@dante.taipan.mudshark.org \
    --to=craig@taipan.mudshark.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox