Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Where is '@system'?
Date: Fri, 05 Mar 2010 18:02:34
Message-Id: 5bdc1c8b1003050912i3a385ffam32a9d908c35352b9@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Where is '@system'? by Mark Knecht
1 On Fri, Mar 5, 2010 at 8:24 AM, Mark Knecht <markknecht@×××××.com> wrote:
2 > On Thu, Mar 4, 2010 at 6:31 PM, James Ausmus <james.ausmus@×××××.com> wrote:
3 >> To see bare system, do:
4 >> USE="-*" emerge -pev @system
5 >>
6 >
7 > Actually, this is a very good way to explore the effect of certain
8 > flags on the total package count. Thanks.
9 >
10 > As a minimum set your command shows
11 >
12 > USE="-*" emerge -pev @system -> Total: 86 packages
13 >
14 > I've got a long list of flags in make.conf. With them all I get
15 >
16 > emerge -epv @system -> Total: 242 packages
17 >
18 > Three or four flags, enabled globally, cause most of the increase:
19 >
20 > USE="-cups" emerge -epv @system -> Total: 178 packages
21 >
22 > USE="-cups -java" emerge -epv @system -> Total: 139 packages
23 >
24 > USE="-cups -java -X" emerge -epv @system -> Total: 131 packages
25 >
26 > The other big one at the system level is -pam but I'm __very__ unsure
27 > about removing that totally:
28 >
29 > USE="-cups -java -X -pam" emerge -epv @system -> Total: 102 packages
30 >
31 > Is it necessary to turn on pam features on every package on my system
32 > that might use them?
33 >
34 > Truly, for me it's not about package count but more about the time it
35 > takes to build or update @system and whether this stuff is really
36 > required. I figure pam is, I tend to think cups, java and possibly X
37 > aren't needed at the system level. X is three packages directly and
38 > then a few more that they seem to drag in
39 >
40 > [ebuild   R   ] sys-apps/dbus-1.2.3-r1  USE="-X* -debug -doc (-selinux)" 0 kB
41 > [ebuild   R   ] sys-apps/groff-1.20.1-r1  USE="-X* -examples"
42 > LINGUAS="(-ja)" 0 kB
43 > [ebuild   R   ] net-misc/openssh-5.2_p1-r3  USE="ldap pam tcpd -X*
44 > -X509 -hpn -kerberos -libedit -pkcs11 (-selinux) -skey -smartcard
45 > -static" 0 kB
46 >
47 > I'm guessing X for openssh is a good idea if you want to do ssh -X -Y
48 > etc. but why does one need X for groff or dbus? (Ah, 'user's vision'
49 > of the mysteries of Gentoo use flags and what devs do with them...)
50 > ;-)
51 >
52 > I'm personally thinking I'm in better shape with cups and java not in
53 > make.conf and then adding them to packages where I really think I want
54 > them. In the end it likely ends up with more or less the same things
55 > on the system but fewer of them in @system.
56 >
57 > Thanks,
58 > Mark
59 >
60 > P.s. - thanks to all that answered. Trying to keeping the thread count
61 > down by just answering back once.
62 >
63
64 One additional message about not selecting gdbm and berkdb together
65 ended up removing only 7 packages from the machine overall but reduced
66 @system from 242 packages to 138. I think that's a move in the right
67 direction for me anyway.
68
69 Final make.conf flag set:
70
71 USE="aac alsa cairo caps cdda cddb cdparanoia cdr dts dvd dvdr ffmpeg
72 flac fltk ftp gnome hal ieee1394 jack kde lame jpeg ladspa lame lash
73 libsamplerate mmx mp3 mp4 mpeg musepack nsplugin ogg semantic-desktop
74 sse sse2 ssse3 sse4 tifftruetype vorbis xine xv xvid vmware -bluetooth
75 -esound -timidity -cups -java -gdbm"
76
77 Packages removed by --depclean:
78
79 kde-base/kppp
80 dev-java/gjdoc
81 media-libs/sdl-mixer
82 sys-libs/gdbm
83 dev-lang/tcl
84 dev-java/antlr
85 media-libs/libmikmod
86
87 >>> 'Selected' packages are slated for removal.
88 >>> 'Protected' and 'omitted' packages will not be removed.
89
90 Packages installed: 1018
91 Packages in world: 71
92 Packages in system: 50
93 Required packages: 1011
94 Number to remove: 7
95 firefly ~ #
96
97 Additional flags added to package.use were:
98
99 gnome-base/gnome cups
100 =x11-libs/qt-3.3.8b-r2 cups
101 app-text/ghostscript-gpl cups
102 net-print/foomatic-filters cups
103 x11-libs/gtk+ cups
104 gnome-base/libgnomeprint cups
105 x11-libs/qt-gui cups
106 app-office/openoffice-bin java
107 www-client/mozilla-firefox java
108 net-print/cups java
109 dev-util/subversion java
110 net-libs/xulrunner java
111
112 The qt-3.3 package is just hanging around until I update MythTV.
113
114 Thanks all,
115 Mark