Dear List,

I'm trying to install Gentoo on a headless machine. I want programs to
use the X libraries, so that I can SSH in from another machine and use X
over TCP, but I'm not too fond of installing the entire X package
(especially the X server) on it, since it won't ever be used.

However, I just tried to install a couple of program linking against GTK
(such avahi), and GTK, for some reason, tries to pull in lots of stuff
that I don't really want (among others, the X server). Looking in the
GTK ebuild, I found this:

RDEPEND="|| ( (
                        x11-libs/libXrender
                        x11-libs/libX11
                        x11-libs/libXi
                        x11-libs/libXt
                        x11-libs/libXext
                        x11-libs/libXcursor
                        x11-libs/libXrandr
                        x11-libs/libXfixes
                        xinerama? ( x11-libs/libXinerama ) )
                virtual/x11 )
        >=dev-libs/glib-2.10.1
        >=x11-libs/pango-1.9
        >=dev-libs/atk-1.10.1
        >=x11-libs/cairo-0.9.2
        media-libs/fontconfig
        x11-misc/shared-mime-info
        >=media-libs/libpng-1.2.1
        jpeg? ( >=media-libs/jpeg-6b-r2 )
        tiff? ( >=media-libs/tiff-3.5.7 )"

DEPEND="${RDEPEND}
        sys-devel/autoconf
        >=dev-util/pkgconfig-0.9
        =sys-devel/automake-1.7*
        || ( (
                        x11-proto/xextproto
                        x11-proto/xproto
                        x11-proto/inputproto
                        x11-proto/xineramaproto )
                virtual/x11 )
        doc? (
                >=dev-util/gtk-doc-1.4
                ~app-text/docbook-xml-dtd-4.1.2 )"

I even emerged all those X11 dependencies myself, but even then, it
wants to emerge xorg-server. The first few lines of the output of
"emerge -tvp gtk+" look like this:

[ebuild  N    ] x11-libs/gtk+-2.8.19  USE="X jpeg -debug -doc -tiff
                                      -xinerama" 12,015 kB 
[ebuild  N    ]  x11-misc/shared-mime-info-0.17-r2  558 kB 
[ebuild  N    ]   dev-libs/libxml2-2.6.26  USE="ipv6 python readline
                                      -debug -doc -test" 3,338 kB 
[ebuild  N    ]   dev-util/intltool-0.35.0  126 kB 
[ebuild  N    ]  x11-libs/pango-1.12.3  USE="-debug -doc" 1,197 kB 
[ebuild  N    ]  x11-base/xorg-server-1.0.2-r7  USE="dri ipv6 -debug
                                      -minimal -xprint" 8,716 kB 

I'm not an expert with portage, but the fact that xorg-server is
indented one space from gtk+ means that gtk+ depends on it directly,
doesn't it? If so, whence does that dependency come from (it's obviously
not on the DEPEND or RDEPEND variables)?

Please help me -- what should I do to make gtk+ only pull in the minimal
amount of deps?

Thanks for your time!

Fredrik Tolf


-- 
[email protected] mailing list

Reply via email to