1 |
Daevid Vincent wrote: |
2 |
>> -----Original Message----- |
3 |
>> From: Philip Webb [mailto:purslow@×××××××××.ca] |
4 |
>> Sent: Wednesday, March 29, 2006 3:07 PM |
5 |
>> To: gentoo-user@l.g.o |
6 |
>> Subject: Re: [gentoo-user] Why is portage trying to pull in |
7 |
>> xorg when I don't use it... |
8 |
>> |
9 |
>> 060329 Daevid Vincent wrote: |
10 |
>> |
11 |
>>> I have a VMWare that I use for LAMP development. |
12 |
>>> I have never put Xorg on it nor do I ever want X windows on it. |
13 |
>>> Recently, when I do an 'emerge -Davut world', I see this: |
14 |
>>> |
15 |
>> -- snip -- |
16 |
>> |
17 |
>>> [ebuild U ] www-client/links-2.1_pre20 [2.1_pre19] -X |
18 |
>>> |
19 |
>> -directfb -fbcon |
20 |
>> |
21 |
>>> +gpm -javascript +jpeg -livecd +png +sdl +ssl -svga +tiff |
22 |
>>> |
23 |
>> -unicode 3,768 kB |
24 |
>> -- snip -- |
25 |
>> |
26 |
>>> [ebuild N ] x11-terms/xterm-207 -Xaw3d -doc -toolbar |
27 |
>>> |
28 |
>> +truetype -unicode |
29 |
>> |
30 |
>>> 727 kB |
31 |
>>> What is trying to bring in all those NEW x11 packages? |
32 |
>>> How can I prevent this annoyance? |
33 |
>>> |
34 |
>> It's clearer if you do 'emerge -etp links', which requires |
35 |
>> all the GUI stuff |
36 |
>> |
37 |
> |
38 |
> OMG! 'links' pulls in _92_ package dependencies?! That's silly. |
39 |
> |
40 |
> What confuses me even more now, is that AFAIK, "links" is (according to the |
41 |
> man page) "lynx-like alternative character mode WWW browser", so why then |
42 |
> all the x11 dependencies and such. Shouldn't this thing, by definition, just |
43 |
> work in console mode without all that extra crap? |
44 |
> |
45 |
> I "solved" this by adding this to /etc/portage/package.use: |
46 |
> |
47 |
> www-client/links -X -directfb -fbcon gpm -javascript -jpeg -livecd -png -sdl |
48 |
> ssl -svga -tiff -unicode |
49 |
> |
50 |
> But what seems silly to me is that why does this have jpeg, png, tiff |
51 |
> support if it's in console mode? Will "links" actually SHOW an image? I've |
52 |
> NEVER seen it do that (on any other linux box, even with X support) |
53 |
> |
54 |
> |
55 |
Links has an optional (very basic) graphical browser, enabled when |
56 |
compiled with USE="X" and started with the command line "links -g". I |
57 |
often use it on systems early in the build process (I like to get rid of |
58 |
the CD as soon as possible) while I'm still building GTK+ and Firefox. |
59 |
The JPEG, PNG, and TIFF flags only have any effect when the X flag is |
60 |
selected as well. In your case, it was pulling in X because you had SDL |
61 |
enabled, and in turn OpenGL enabled for SDL. Since SDL and OpenGL are |
62 |
both GUI libraries (SDL not entirely, I'll admit), you might as well add |
63 |
'-sdl -opengl' to your global USE in /etc/make.conf since it's a no-X |
64 |
installation. |
65 |
|
66 |
HTH. |
67 |
-- |
68 |
gentoo-user@g.o mailing list |