From: "David Mallwitz" <dave@dmallwitz.net>
To: <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] Portage2 super USE flag suggestin
Date: Thu, 18 Jul 2002 10:54:39 -0500 (EST) [thread overview]
Message-ID: <1046.68.100.207.230.1027007679.squirrel@pug.dmallwitz.net> (raw)
In-Reply-To: <20020718150528.GA25187@dante.taipan.mudshark.org>
Perhaps an easier solution would be to have more make.defaults for the
user to choose from. i.e...
make.defaults.server =
USE=" berkdb crypt cups encode gdbm ipv6 java libg++ libwww mikmod ncurses
nlspam pdflib python qtmt readline slang spell ssl tcpd xml2 "
make.defaults.workstation-full =
USE="apm arts avi berkdb crypt encode gdbm gif gpm gtk imlib
java jpeg kde libg++ libwww mikmod motif mpeg ncurses nls
oggvorbis opengl pam pdflib png python qt qtmt quicktime readline sdl
slang spell ssl svga tcpd truetype X xml2 xmms xv"
and some various subsets of the workstation profile...
make.defaults.workstation-minimal
make.defaults.workstation-gnome
make.defaults.workstation-kde
etc
This is just off the top of my head, not well researched.
Dave
Craig Joly said:
> 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.
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
next prev parent reply other threads:[~2002-07-18 15:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-18 15:05 [gentoo-dev] Portage2 super USE flag suggestin Craig Joly
2002-07-18 15:54 ` David Mallwitz [this message]
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=1046.68.100.207.230.1027007679.squirrel@pug.dmallwitz.net \
--to=dave@dmallwitz.net \
--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