public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] OT - Why does gcc depend on gtk+?
@ 2007-01-07 18:56 Michael Sullivan
  2007-01-07 19:31 ` Richard Fish
  2007-01-07 19:52 ` Etaoin Shrdlu
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Sullivan @ 2007-01-07 18:56 UTC (permalink / raw
  To: gentoo-user

I wanted to free up some space on my server box.  I was going through
trying to find what packages could be safely removed.  I don't have any
graphical apps on my server box except gvim, which is built with -gtk.
When I ran equery depends gtk+, it came up with gcc:

bullet ~ # equery depends gtk+
[ Searching for packages depending on gtk+... ]
app-text/ghostscript-esp-8.15.3
sys-devel/gcc-3.4.6-r2
sys-devel/gcc-3.3.6

Why is this?  I ran emerge -pv gcc:

bullet ~ # emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-3.4.6-r2  USE="fortran (-altivec)
-bootstrap -boundschecking -build -doc -gcj -gtk (-hardened) -ip28
-ip32r10k (-multilib) -multislot (-n32) (-n64) -nls -nocxx -nopie -nossp
-objc -test -vanilla" 0 kB 

Total size of downloads: 0 kB

Also -gtk.  Here's the USE line from make.conf:

USE="-rsvg -esound -esd mode-owner apache2 -oss apm -alsa -arts -avi
innodb berkdb bitmap-fonts -cdr crypt cups -doc encode fortran f77
foomaticdb gdbm gif gpm -gnome gstreamer -gtk -gtk2 imlib jpeg kde libg
++ libwww -mad mikmod -motif -mpeg ncurses -nls -oggvorbis -opengl pam
pdflib png ppds python -qt -qt3 -qt4 -quicktime readline samba sasl -sdl
spell ssl tcltk tcpd truetype usb -X xml xml2 -xmms -xv zlib x86 imap
tetex mysql threads ithreads pgsql virus-scan perl kerberos acl oav
libclamav offensive -ipv6 bind-mysql slp dhcp sendmail mpm-leader pcre
unicode session examples perlsuid pcre nptl nptlonly"

All -gtk.  I've recently completed an emerge -ND world (took all last
week), so why does gtk+ still  claim gcc?  Is this real?

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] OT - Why does gcc depend on gtk+?
  2007-01-07 18:56 [gentoo-user] OT - Why does gcc depend on gtk+? Michael Sullivan
@ 2007-01-07 19:31 ` Richard Fish
  2007-01-07 21:34   ` Bo Ørsted Andresen
  2007-01-07 19:52 ` Etaoin Shrdlu
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Fish @ 2007-01-07 19:31 UTC (permalink / raw
  To: gentoo-user

On 1/7/07, Michael Sullivan <michael@espersunited.com> wrote:
> I wanted to free up some space on my server box.  I was going through
> trying to find what packages could be safely removed.  I don't have any
> graphical apps on my server box except gvim, which is built with -gtk.
> When I ran equery depends gtk+, it came up with gcc:
>
> bullet ~ # equery depends gtk+

equery depends is broken.  It shows possible _dependancies_, without
taking USE flags into account.

Does gtk show up when you do a "emerge --depclean --pretend"?

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



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

* Re: [gentoo-user] OT - Why does gcc depend on gtk+?
  2007-01-07 18:56 [gentoo-user] OT - Why does gcc depend on gtk+? Michael Sullivan
  2007-01-07 19:31 ` Richard Fish
@ 2007-01-07 19:52 ` Etaoin Shrdlu
  1 sibling, 0 replies; 5+ messages in thread
From: Etaoin Shrdlu @ 2007-01-07 19:52 UTC (permalink / raw
  To: gentoo-user

On Sunday 7 January 2007 19:56, Michael Sullivan wrote:

> Why is this?  I ran emerge -pv gcc:

IIRC (corrections welcomed), it has something to do with building the 
java awt graphical toolkit. If you don't use gcc to compile java code, 
you don't need it.
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] OT - Why does gcc depend on gtk+?
  2007-01-07 19:31 ` Richard Fish
@ 2007-01-07 21:34   ` Bo Ørsted Andresen
  2007-01-08 23:37     ` Paul Varner
  0 siblings, 1 reply; 5+ messages in thread
From: Bo Ørsted Andresen @ 2007-01-07 21:34 UTC (permalink / raw
  To: gentoo-user

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

On Sunday 07 January 2007 20:31, Richard Fish wrote:
> > bullet ~ # equery depends gtk+
>
> equery depends is broken.  It shows possible _dependancies_, without
> taking USE flags into account.

Apparently this is finally fixed in svn now. Hopefully it'll be released in 
~arch soon... :)

https://bugs.gentoo.org/show_bug.cgi?id=81012

-- 
Bo Andresen

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

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

* Re: [gentoo-user] OT - Why does gcc depend on gtk+?
  2007-01-07 21:34   ` Bo Ørsted Andresen
@ 2007-01-08 23:37     ` Paul Varner
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Varner @ 2007-01-08 23:37 UTC (permalink / raw
  To: gentoo-user

On Sun, 2007-01-07 at 22:34 +0100, Bo Ørsted Andresen wrote:
> On Sunday 07 January 2007 20:31, Richard Fish wrote:
> > > bullet ~ # equery depends gtk+
> >
> > equery depends is broken.  It shows possible _dependancies_, without
> > taking USE flags into account.
> 
> Apparently this is finally fixed in svn now. Hopefully it'll be released in 
> ~arch soon... :)
> 
> https://bugs.gentoo.org/show_bug.cgi?id=81012
> 

This is what the output looks like:

pvarner@garath ~/svnroot-gentoo/gentoolkit/trunk/src/equery $ ./equery depends gtk+
[ Searching for packages depending on gtk+... ]
app-editors/gvim-7.0.174 (!aqua & gtk? >=x11-libs/gtk+-2.6)
app-text/acroread-7.0.8 (x86? >=x11-libs/gtk+-2.0)
app-text/ghostscript-esp-8.15.3-r1 (gtk? >=x11-libs/gtk+-2.0)
app-text/gnome-spell-1.0.7-r1 (>=x11-libs/gtk+-2.4)
app-text/gtkspell-2.0.11-r1 (>=x11-libs/gtk+-2)
...
sys-devel/gcc-4.1.1-r1 (!build & gcj & gtk? >=x11-libs/gtk+-2.2)
...

Which tells you that gcc depends upon any version of gtk+ greater than
or equal to gtk+-2.2 if the build USE flag is turned off and the gcj and
gtk USE flags are turned on.

Regards,
Paul

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2007-01-08 23:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-07 18:56 [gentoo-user] OT - Why does gcc depend on gtk+? Michael Sullivan
2007-01-07 19:31 ` Richard Fish
2007-01-07 21:34   ` Bo Ørsted Andresen
2007-01-08 23:37     ` Paul Varner
2007-01-07 19:52 ` Etaoin Shrdlu

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