On Fri, Mar 5, 2010 at 8:24 AM, Mark Knecht <[email protected]> wrote:
> On Thu, Mar 4, 2010 at 6:31 PM, James Ausmus <[email protected]> wrote:
>> To see bare system, do:
>> USE="-*" emerge -pev @system
>>
>
> Actually, this is a very good way to explore the effect of certain
> flags on the total package count. Thanks.
>
> As a minimum set your command shows
>
> USE="-*" emerge -pev @system -> Total: 86 packages
>
> I've got a long list of flags in make.conf. With them all I get
>
> emerge -epv @system -> Total: 242 packages
>
> Three or four flags, enabled globally, cause most of the increase:
>
> USE="-cups" emerge -epv @system -> Total: 178 packages
>
> USE="-cups -java" emerge -epv @system -> Total: 139 packages
>
> USE="-cups -java -X" emerge -epv @system -> Total: 131 packages
>
> The other big one at the system level is -pam but I'm __very__ unsure
> about removing that totally:
>
> USE="-cups -java -X -pam" emerge -epv @system -> Total: 102 packages
>
> Is it necessary to turn on pam features on every package on my system
> that might use them?
>
> Truly, for me it's not about package count but more about the time it
> takes to build or update @system and whether this stuff is really
> required. I figure pam is, I tend to think cups, java and possibly X
> aren't needed at the system level. X is three packages directly and
> then a few more that they seem to drag in
>
> [ebuild   R   ] sys-apps/dbus-1.2.3-r1  USE="-X* -debug -doc (-selinux)" 0 kB
> [ebuild   R   ] sys-apps/groff-1.20.1-r1  USE="-X* -examples"
> LINGUAS="(-ja)" 0 kB
> [ebuild   R   ] net-misc/openssh-5.2_p1-r3  USE="ldap pam tcpd -X*
> -X509 -hpn -kerberos -libedit -pkcs11 (-selinux) -skey -smartcard
> -static" 0 kB
>
> I'm guessing X for openssh is a good idea if you want to do ssh -X -Y
> etc. but why does one need X for groff or dbus? (Ah, 'user's vision'
> of the mysteries of Gentoo use flags and what devs do with them...)
> ;-)
>
> I'm personally thinking I'm in better shape with cups and java not in
> make.conf and then adding them to packages where I really think I want
> them. In the end it likely ends up with more or less the same things
> on the system but fewer of them in @system.
>
> Thanks,
> Mark
>
> P.s. - thanks to all that answered. Trying to keeping the thread count
> down by just answering back once.
>

One additional message about not selecting gdbm and berkdb together
ended up removing only 7 packages from the machine overall but reduced
@system from 242 packages to 138. I think that's a move in the right
direction for me anyway.

Final make.conf flag set:

USE="aac alsa cairo caps cdda cddb cdparanoia cdr dts dvd dvdr ffmpeg
flac fltk ftp gnome hal ieee1394 jack kde lame jpeg ladspa lame lash
libsamplerate mmx mp3 mp4 mpeg musepack nsplugin ogg semantic-desktop
sse sse2 ssse3 sse4 tifftruetype vorbis xine xv xvid vmware -bluetooth
-esound -timidity -cups -java -gdbm"

Packages removed by --depclean:

 kde-base/kppp
 dev-java/gjdoc
 media-libs/sdl-mixer
 sys-libs/gdbm
 dev-lang/tcl
 dev-java/antlr
 media-libs/libmikmod

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Packages installed:   1018
Packages in world:    71
Packages in system:   50
Required packages:    1011
Number to remove:     7
firefly ~ #

Additional flags added to package.use were:

gnome-base/gnome cups
=x11-libs/qt-3.3.8b-r2 cups
app-text/ghostscript-gpl cups
net-print/foomatic-filters cups
x11-libs/gtk+ cups
gnome-base/libgnomeprint cups
x11-libs/qt-gui cups
app-office/openoffice-bin java
www-client/mozilla-firefox java
net-print/cups java
dev-util/subversion java
net-libs/xulrunner java

The qt-3.3 package is just hanging around until I update MythTV.

Thanks all,
Mark

Reply via email to