Gentoo Archives: gentoo-user

From: Fredrik Tolf <fredrik@×××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Too many X modules pulled in
Date: Sun, 20 Aug 2006 14:26:05
Message-Id: 1156083714.22753.10.camel@pc7.dolda2000.com
1 Dear List,
2
3 I'm trying to install Gentoo on a headless machine. I want programs to
4 use the X libraries, so that I can SSH in from another machine and use X
5 over TCP, but I'm not too fond of installing the entire X package
6 (especially the X server) on it, since it won't ever be used.
7
8 However, I just tried to install a couple of program linking against GTK
9 (such avahi), and GTK, for some reason, tries to pull in lots of stuff
10 that I don't really want (among others, the X server). Looking in the
11 GTK ebuild, I found this:
12
13 RDEPEND="|| ( (
14 x11-libs/libXrender
15 x11-libs/libX11
16 x11-libs/libXi
17 x11-libs/libXt
18 x11-libs/libXext
19 x11-libs/libXcursor
20 x11-libs/libXrandr
21 x11-libs/libXfixes
22 xinerama? ( x11-libs/libXinerama ) )
23 virtual/x11 )
24 >=dev-libs/glib-2.10.1
25 >=x11-libs/pango-1.9
26 >=dev-libs/atk-1.10.1
27 >=x11-libs/cairo-0.9.2
28 media-libs/fontconfig
29 x11-misc/shared-mime-info
30 >=media-libs/libpng-1.2.1
31 jpeg? ( >=media-libs/jpeg-6b-r2 )
32 tiff? ( >=media-libs/tiff-3.5.7 )"
33
34 DEPEND="${RDEPEND}
35 sys-devel/autoconf
36 >=dev-util/pkgconfig-0.9
37 =sys-devel/automake-1.7*
38 || ( (
39 x11-proto/xextproto
40 x11-proto/xproto
41 x11-proto/inputproto
42 x11-proto/xineramaproto )
43 virtual/x11 )
44 doc? (
45 >=dev-util/gtk-doc-1.4
46 ~app-text/docbook-xml-dtd-4.1.2 )"
47
48 I even emerged all those X11 dependencies myself, but even then, it
49 wants to emerge xorg-server. The first few lines of the output of
50 "emerge -tvp gtk+" look like this:
51
52 [ebuild N ] x11-libs/gtk+-2.8.19 USE="X jpeg -debug -doc -tiff
53 -xinerama" 12,015 kB
54 [ebuild N ] x11-misc/shared-mime-info-0.17-r2 558 kB
55 [ebuild N ] dev-libs/libxml2-2.6.26 USE="ipv6 python readline
56 -debug -doc -test" 3,338 kB
57 [ebuild N ] dev-util/intltool-0.35.0 126 kB
58 [ebuild N ] x11-libs/pango-1.12.3 USE="-debug -doc" 1,197 kB
59 [ebuild N ] x11-base/xorg-server-1.0.2-r7 USE="dri ipv6 -debug
60 -minimal -xprint" 8,716 kB
61
62 I'm not an expert with portage, but the fact that xorg-server is
63 indented one space from gtk+ means that gtk+ depends on it directly,
64 doesn't it? If so, whence does that dependency come from (it's obviously
65 not on the DEPEND or RDEPEND variables)?
66
67 Please help me -- what should I do to make gtk+ only pull in the minimal
68 amount of deps?
69
70 Thanks for your time!
71
72 Fredrik Tolf
73
74
75 --
76 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Too many X modules pulled in Donnie Berkholz <dberkholz@g.o>