public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] What is causing x11-terms/xterm to be dragged in?
@ 2006-05-27  1:37 michael
  2006-05-27  3:23 ` Steven Susbauer
  0 siblings, 1 reply; 11+ messages in thread
From: michael @ 2006-05-27  1:37 UTC (permalink / raw
  To: gentoo-user

Hello,

I'm trying to remove any dependencies on x11 from my headless server. Thanks to
someone's help last week, I learned how to configure libdb to not use java,
which had dragged in the java IDE which dragged in x11.

That worked wonderfully, and I removed x11 and thought I was done.

As a sanity check, I checked to see what emerge world would do and was
surprised:

  # emerge -Duv --pretend --tree world

   [ebuild  N    ] x11-terms/xterm-207  -Xaw3d -doc -toolbar +truetype -unicode 0  kB
   [nomerge      ]  sys-apps/utempter-0.5.5.6
   [nomerge      ]   app-arch/rpm2targz-9.0-r3
   [ebuild  N    ]    virtual/x11-6.8  0 kB
   [ebuild  N    ]     x11-base/xorg-x11-6.8.2-r7  -3dfx -3dnow +bitmap-fonts
   -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal
   -mmx +nls -nocxx +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts
   (-uclibc) -xprint +xv 0 kB
   [ebuild  N    ]      x11-base/opengl-update-3.0.0  0 kB
   [ebuild  N    ]      x11-apps/ttmkfdir-3.0.9-r3  0 kB

How can I find out what is requiring x11-terms/xterm-207?

Thanks,
Michael
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] What is causing x11-terms/xterm to be dragged in?
  2006-05-27  3:23 ` Steven Susbauer
@ 2006-05-27  3:05   ` michael
  2006-05-27  4:19     ` Steven Susbauer
  2006-05-27  8:02     ` Neil Bothwick
  0 siblings, 2 replies; 11+ messages in thread
From: michael @ 2006-05-27  3:05 UTC (permalink / raw
  To: gentoo-user




On Fri, 26 May 2006, Steven Susbauer wrote:

> On Fri, 26 May 2006, michael@michaelshiloh.com wrote:
>
>> Hello,
>>
>> I'm trying to remove any dependencies on x11 from my headless server. Thanks
>> to
>> someone's help last week, I learned how to configure libdb to not use java,
>> which had dragged in the java IDE which dragged in x11.
>>
>> That worked wonderfully, and I removed x11 and thought I was done.
>>
>> As a sanity check, I checked to see what emerge world would do and was
>> surprised:
>>
>>  # emerge -Duv --pretend --tree world
>>
>>   [ebuild  N    ] x11-terms/xterm-207  -Xaw3d -doc -toolbar +truetype -unicode
>>   0  kB
>>   [nomerge      ]  sys-apps/utempter-0.5.5.6
>>   [nomerge      ]   app-arch/rpm2targz-9.0-r3
>>   [ebuild  N    ]    virtual/x11-6.8  0 kB
>>   [ebuild  N    ]     x11-base/xorg-x11-6.8.2-r7  -3dfx -3dnow +bitmap-fonts
>>   -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6
>>   -minimal
>>   -mmx +nls -nocxx +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts
>>   (-uclibc) -xprint +xv 0 kB
>>   [ebuild  N    ]      x11-base/opengl-update-3.0.0  0 kB
>>   [ebuild  N    ]      x11-apps/ttmkfdir-3.0.9-r3  0 kB
>>
>> How can I find out what is requiring x11-terms/xterm-207?
>>
>> Thanks,
>> Michael
>>
>
>
> What are your use flags from /etc/make.conf and /usr/portage/package.use?
> You have opengl as an enabled flag, for example, and that would pull in
> xorg if something reacts to it (as libsdl does on my system).
> --

I should have included that in my original email, of course:

$ grep USE  /etc/make.conf | grep -v "^#"
USE="berkdb innodb"

I have no /usr/portage/package.use

$ grep USE  /etc/make.profile/make.defaults
USE="alsa apm arts avi bitmap-fonts cups eds emboss encode fortran foomaticdb
gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod
motif mp3 mpeg ogg oggvorbis opengl oss pdflib png qt quicktime sdl spell
truetype truetype-fonts type1-fonts vorbis X xml2 xmms xv"

AHA!

but the man page for emerge says not to edit /etc/make.profile/make.defaults.
How do I get X out of there? If in fact that's the cause of my problem?

Michael
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] What is causing x11-terms/xterm to be dragged in?
  2006-05-27  1:37 [gentoo-user] What is causing x11-terms/xterm to be dragged in? michael
@ 2006-05-27  3:23 ` Steven Susbauer
  2006-05-27  3:05   ` michael
  0 siblings, 1 reply; 11+ messages in thread
From: Steven Susbauer @ 2006-05-27  3:23 UTC (permalink / raw
  To: gentoo-user

On Fri, 26 May 2006, michael@michaelshiloh.com wrote:

> Hello,
>
> I'm trying to remove any dependencies on x11 from my headless server. Thanks
> to
> someone's help last week, I learned how to configure libdb to not use java,
> which had dragged in the java IDE which dragged in x11.
>
> That worked wonderfully, and I removed x11 and thought I was done.
>
> As a sanity check, I checked to see what emerge world would do and was
> surprised:
>
>  # emerge -Duv --pretend --tree world
>
>   [ebuild  N    ] x11-terms/xterm-207  -Xaw3d -doc -toolbar +truetype -unicode
>   0  kB
>   [nomerge      ]  sys-apps/utempter-0.5.5.6
>   [nomerge      ]   app-arch/rpm2targz-9.0-r3
>   [ebuild  N    ]    virtual/x11-6.8  0 kB
>   [ebuild  N    ]     x11-base/xorg-x11-6.8.2-r7  -3dfx -3dnow +bitmap-fonts
>   -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6
>   -minimal
>   -mmx +nls -nocxx +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts
>   (-uclibc) -xprint +xv 0 kB
>   [ebuild  N    ]      x11-base/opengl-update-3.0.0  0 kB
>   [ebuild  N    ]      x11-apps/ttmkfdir-3.0.9-r3  0 kB
>
> How can I find out what is requiring x11-terms/xterm-207?
>
> Thanks,
> Michael
>


What are your use flags from /etc/make.conf and /usr/portage/package.use?
You have opengl as an enabled flag, for example, and that would pull in
xorg if something reacts to it (as libsdl does on my system).
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] What is causing x11-terms/xterm to be dragged in?
  2006-05-27  4:19     ` Steven Susbauer
@ 2006-05-27  4:07       ` Anthony E. Caudel
  2006-05-27  4:54         ` Steven Susbauer
  2006-05-27  8:01         ` Neil Bothwick
  2006-05-27  4:51       ` michael
  1 sibling, 2 replies; 11+ messages in thread
From: Anthony E. Caudel @ 2006-05-27  4:07 UTC (permalink / raw
  To: gentoo-user

Steven Susbauer wrote:
> 
> On Fri, 26 May 2006, michael@michaelshiloh.com wrote:
> 
> 
>>I should have included that in my original email, of course:
>>
>>$ grep USE  /etc/make.conf | grep -v "^#"
>>USE="berkdb innodb"
>>
>>I have no /usr/portage/package.use
>>
>>$ grep USE  /etc/make.profile/make.defaults
>>USE="alsa apm arts avi bitmap-fonts cups eds emboss encode fortran foomaticdb
>>gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod
>>motif mp3 mpeg ogg oggvorbis opengl oss pdflib png qt quicktime sdl spell
>>truetype truetype-fonts type1-fonts vorbis X xml2 xmms xv"
>>
>>AHA!
>>
>>but the man page for emerge says not to edit /etc/make.profile/make.defaults.
>>How do I get X out of there? If in fact that's the cause of my problem?
>>
>>Michael
>>
> 
> 
> Everything you put in /etc/make.conf should be based on the
> make.defaults, or possible things you want enabled.
> If X is in make.defaults, add -X to make.conf to disable it. You should
> probably add "-X -opengl -gnome -gtk -gtk2 -kde -qt" to /etc/make.conf at
> least, that should hopefully fix your issues.
> 
> -Steven
Curious that "X" should be in make.defaults.  Does that mean that the 
devs think that everyone wants X loaded?

Tony

-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] What is causing x11-terms/xterm to be dragged in?
  2006-05-27  3:05   ` michael
@ 2006-05-27  4:19     ` Steven Susbauer
  2006-05-27  4:07       ` Anthony E. Caudel
  2006-05-27  4:51       ` michael
  2006-05-27  8:02     ` Neil Bothwick
  1 sibling, 2 replies; 11+ messages in thread
From: Steven Susbauer @ 2006-05-27  4:19 UTC (permalink / raw
  To: gentoo-user



On Fri, 26 May 2006, michael@michaelshiloh.com wrote:

> I should have included that in my original email, of course:
>
> $ grep USE  /etc/make.conf | grep -v "^#"
> USE="berkdb innodb"
>
> I have no /usr/portage/package.use
>
> $ grep USE  /etc/make.profile/make.defaults
> USE="alsa apm arts avi bitmap-fonts cups eds emboss encode fortran foomaticdb
> gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod
> motif mp3 mpeg ogg oggvorbis opengl oss pdflib png qt quicktime sdl spell
> truetype truetype-fonts type1-fonts vorbis X xml2 xmms xv"
>
> AHA!
>
> but the man page for emerge says not to edit /etc/make.profile/make.defaults.
> How do I get X out of there? If in fact that's the cause of my problem?
>
> Michael
>

Everything you put in /etc/make.conf should be based on the
make.defaults, or possible things you want enabled.
If X is in make.defaults, add -X to make.conf to disable it. You should
probably add "-X -opengl -gnome -gtk -gtk2 -kde -qt" to /etc/make.conf at
least, that should hopefully fix your issues.

-Steven
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] What is causing x11-terms/xterm to be dragged in?
  2006-05-27  4:19     ` Steven Susbauer
  2006-05-27  4:07       ` Anthony E. Caudel
@ 2006-05-27  4:51       ` michael
  1 sibling, 0 replies; 11+ messages in thread
From: michael @ 2006-05-27  4:51 UTC (permalink / raw
  To: gentoo-user




On Fri, 26 May 2006, Steven Susbauer wrote:

>
>
> On Fri, 26 May 2006, michael@michaelshiloh.com wrote:
>
>> I should have included that in my original email, of course:
>>
>> $ grep USE  /etc/make.conf | grep -v "^#"
>> USE="berkdb innodb"
>>
>> I have no /usr/portage/package.use
>>
>> $ grep USE  /etc/make.profile/make.defaults
>> USE="alsa apm arts avi bitmap-fonts cups eds emboss encode fortran foomaticdb
>> gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod
>> motif mp3 mpeg ogg oggvorbis opengl oss pdflib png qt quicktime sdl spell
>> truetype truetype-fonts type1-fonts vorbis X xml2 xmms xv"
>>
>> AHA!
>>
>> but the man page for emerge says not to edit /etc/make.profile/make.defaults.
>> How do I get X out of there? If in fact that's the cause of my problem?
>>
>> Michael
>>
>
> Everything you put in /etc/make.conf should be based on the
> make.defaults, or possible things you want enabled.
> If X is in make.defaults, add -X to make.conf to disable it. You should
> probably add "-X -opengl -gnome -gtk -gtk2 -kde -qt" to /etc/make.conf at
> least, that should hopefully fix your issues.
>
> -Steven

Thanks. That makes perfect sense. I presume I should do emerge update with --newuse ?

Michael
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] What is causing x11-terms/xterm to be dragged in?
  2006-05-27  4:07       ` Anthony E. Caudel
@ 2006-05-27  4:54         ` Steven Susbauer
  2006-05-27  8:01         ` Neil Bothwick
  1 sibling, 0 replies; 11+ messages in thread
From: Steven Susbauer @ 2006-05-27  4:54 UTC (permalink / raw
  To: gentoo-user



On Fri, 26 May 2006, Anthony E. Caudel wrote:

> Steven Susbauer wrote:
> >
> > On Fri, 26 May 2006, michael@michaelshiloh.com wrote:
> >
> >
> > >I should have included that in my original email, of course:
> > >
> > >$ grep USE  /etc/make.conf | grep -v "^#"
> > >USE="berkdb innodb"
> > >
> > >I have no /usr/portage/package.use
> > >
> > >$ grep USE  /etc/make.profile/make.defaults
> > >USE="alsa apm arts avi bitmap-fonts cups eds emboss encode fortran
> > >foomaticdb
> > >gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++ libwww mad
> > >mikmod
> > >motif mp3 mpeg ogg oggvorbis opengl oss pdflib png qt quicktime sdl spell
> > >truetype truetype-fonts type1-fonts vorbis X xml2 xmms xv"
> > >
> > >AHA!
> > >
> > >but the man page for emerge says not to edit
> > >/etc/make.profile/make.defaults.
> > >How do I get X out of there? If in fact that's the cause of my problem?
> > >
> > >Michael
> > >
> >
> >
> > Everything you put in /etc/make.conf should be based on the
> > make.defaults, or possible things you want enabled.
> > If X is in make.defaults, add -X to make.conf to disable it. You should
> > probably add "-X -opengl -gnome -gtk -gtk2 -kde -qt" to /etc/make.conf at
> > least, that should hopefully fix your issues.
> >
> > -Steven
> Curious that "X" should be in make.defaults.  Does that mean that the devs
> think that everyone wants X loaded?
>
> Tony
>

I think the basic default use flags are meant to be for a "general
purpose" system, which would usually include X. If you are lazy and don't
want to change your use flags, chances are you won't have to, at least not
very much, to have all of your programs work. If you're able to use the
system without X installed, it's most likely assumed you can add -X to
make.conf.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] What is causing x11-terms/xterm to be dragged in?
  2006-05-27  4:07       ` Anthony E. Caudel
  2006-05-27  4:54         ` Steven Susbauer
@ 2006-05-27  8:01         ` Neil Bothwick
  1 sibling, 0 replies; 11+ messages in thread
From: Neil Bothwick @ 2006-05-27  8:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 338 bytes --]

On Fri, 26 May 2006 23:07:41 -0500, Anthony E. Caudel wrote:

> Curious that "X" should be in make.defaults.  Does that mean that the 
> devs think that everyone wants X loaded?

No, that's why it is called make.defaults and has several files which
will override it.

-- 
Neil Bothwick

Anyone able to feel pain is trainable.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] What is causing x11-terms/xterm to be dragged in?
  2006-05-27  3:05   ` michael
  2006-05-27  4:19     ` Steven Susbauer
@ 2006-05-27  8:02     ` Neil Bothwick
  2006-05-28 16:35       ` Walter Dnes
  1 sibling, 1 reply; 11+ messages in thread
From: Neil Bothwick @ 2006-05-27  8:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 856 bytes --]

On Fri, 26 May 2006 20:05:34 -0700 (PDT), michael@michaelshiloh.com wrote:

> $ grep USE  /etc/make.conf | grep -v "^#"
> USE="berkdb innodb"
> 
> I have no /usr/portage/package.use
> 
> $ grep USE  /etc/make.profile/make.defaults
> USE="alsa apm arts avi bitmap-fonts cups eds emboss encode fortran
> foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++
> libwww mad mikmod motif mp3 mpeg ogg oggvorbis opengl oss pdflib png qt
> quicktime sdl spell truetype truetype-fonts type1-fonts vorbis X xml2
> xmms xv"

The correct way to see which USE flags are in operation is

emerge --info | grep USE

This shows the combined effect of your profile and make.conf (but not
per-package settings from /etc/portage).


-- 
Neil Bothwick

Sex is hereditary. If your parents never had it, chances are you wont
either. -

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] What is causing x11-terms/xterm to be dragged in?
  2006-05-27  8:02     ` Neil Bothwick
@ 2006-05-28 16:35       ` Walter Dnes
  2006-05-28 18:25         ` Neil Bothwick
  0 siblings, 1 reply; 11+ messages in thread
From: Walter Dnes @ 2006-05-28 16:35 UTC (permalink / raw
  To: gentoo-user

On Sat, May 27, 2006 at 09:02:25AM +0100, Neil Bothwick wrote

> The correct way to see which USE flags are in operation is
> 
> emerge --info | grep USE
> 
> This shows the combined effect of your profile and make.conf (but not
> per-package settings from /etc/portage).

  One question about that.  In my /etc/make.conf

[m3000][root][~] grep USE /etc/make.conf
USE="-* 3dnow X a52 aac alsa bzip2 cdr dga dio divx4linux dri dvd dvdr dvdread encode exif ffmpeg flac fortran gb gif gtk2 imlib jpeg maildir mikmod mime mmap mmx mng mp3 mpeg ncurses nptl nptlonly nsplugin offensive ogg opengl plotutils png posix quicktime readline sdl sharedmem slang sockets sse sse2 theora threads tiff truetype vcd vorbis win32codecs wmf xpm xv zlib"

  The flags actually in use are...

[m3000][root][~] emerge --info | grep USE
USE="x86 3dnow X a52 aac alsa bzip2 cdr dga dio divx4linux dri dvd dvdr dvdread encode exif ffmpeg flac fortran gb gif gtk2 imlib jpeg maildir mikmod mime mmap mmx mng mp3 mpeg ncurses nptl nptlonly nsplugin offensive ogg opengl plotutils png posix quicktime readline sdl sharedmem slang sockets sse sse2 theora threads tiff truetype vcd vorbis win32codecs wmf xpm xv zlib userland_GNU kernel_linux elibc_glibc"

  What do the flags "userland_GNU kernel_linux elibc_glibc" do?  I'm
sure the developers have some reason to put them in.  Mind you, I don't
always agree with the developers, but that's another story.

-- 
Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] What is causing x11-terms/xterm to be dragged in?
  2006-05-28 16:35       ` Walter Dnes
@ 2006-05-28 18:25         ` Neil Bothwick
  0 siblings, 0 replies; 11+ messages in thread
From: Neil Bothwick @ 2006-05-28 18:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 548 bytes --]

On Sun, 28 May 2006 12:35:21 -0400, Walter Dnes wrote:

>   What do the flags "userland_GNU kernel_linux elibc_glibc" do?

Not show up with the latest portage :)

> I'm
> sure the developers have some reason to put them in.  Mind you, I don't
> always agree with the developers, but that's another story.

As i understand it, they are there because portage can now be used on
other than GNU/Linux systems based on glibc.


-- 
Neil Bothwick

Outside of a dog, a book is man's best friend. Inside of a dog, it's
too dark to read.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-05-28 18:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-27  1:37 [gentoo-user] What is causing x11-terms/xterm to be dragged in? michael
2006-05-27  3:23 ` Steven Susbauer
2006-05-27  3:05   ` michael
2006-05-27  4:19     ` Steven Susbauer
2006-05-27  4:07       ` Anthony E. Caudel
2006-05-27  4:54         ` Steven Susbauer
2006-05-27  8:01         ` Neil Bothwick
2006-05-27  4:51       ` michael
2006-05-27  8:02     ` Neil Bothwick
2006-05-28 16:35       ` Walter Dnes
2006-05-28 18:25         ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox