Daevid Vincent wrote:
-----Original Message-----
From: Philip Webb [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 3:07 PM
To: [email protected]
Subject: Re: [gentoo-user] Why is portage trying to pull in
xorg when I don't use it...
060329 Daevid Vincent wrote:
I have a VMWare that I use for LAMP development.
I have never put Xorg on it nor do I ever want X windows on it.
Recently, when I do an 'emerge -Davut world', I see this:
-- snip --
[ebuild U ] www-client/links-2.1_pre20 [2.1_pre19] -X
-directfb -fbcon
+gpm -javascript +jpeg -livecd +png +sdl +ssl -svga +tiff
-unicode 3,768 kB
-- snip --
[ebuild N ] x11-terms/xterm-207 -Xaw3d -doc -toolbar
+truetype -unicode
727 kB
What is trying to bring in all those NEW x11 packages?
How can I prevent this annoyance?
It's clearer if you do 'emerge -etp links', which requires
all the GUI stuff
OMG! 'links' pulls in _92_ package dependencies?! That's silly.
What confuses me even more now, is that AFAIK, "links" is (according to the
man page) "lynx-like alternative character mode WWW browser", so why then
all the x11 dependencies and such. Shouldn't this thing, by definition, just
work in console mode without all that extra crap?
I "solved" this by adding this to /etc/portage/package.use:
www-client/links -X -directfb -fbcon gpm -javascript -jpeg -livecd -png -sdl
ssl -svga -tiff -unicode
But what seems silly to me is that why does this have jpeg, png, tiff
support if it's in console mode? Will "links" actually SHOW an image? I've
NEVER seen it do that (on any other linux box, even with X support)
Links has an optional (very basic) graphical browser, enabled when
compiled with USE="X" and started with the command line "links -g". I
often use it on systems early in the build process (I like to get rid of
the CD as soon as possible) while I'm still building GTK+ and Firefox.
The JPEG, PNG, and TIFF flags only have any effect when the X flag is
selected as well. In your case, it was pulling in X because you had SDL
enabled, and in turn OpenGL enabled for SDL. Since SDL and OpenGL are
both GUI libraries (SDL not entirely, I'll admit), you might as well add
'-sdl -opengl' to your global USE in /etc/make.conf since it's a no-X
installation.
HTH.
--
[email protected] mailing list