On Wed, Jun 10, 2009 at 2:53 PM, Mark Knecht<markkne...@gmail.com> wrote:
> On Wed, Jun 10, 2009 at 1:49 PM, Mark Knecht<markkne...@gmail.com> wrote:
> <SNIP>
>>
>> OK, market's closed and machine's back into Gentoo. Figure I might as
>> well post my complete /etc/make.conf file in case others see problems.
>>
>> I have a vague recollection that *maybe* I turned on the gnome and/or
>> kde flags sometime recently. (Last few months maybe?) That could
>> easily be a part of it. I also am wondering why I have some of this
>> flags anymore - probably been around quite awhile, but are they
>> required or used? - gimpprint, ppds, jack-tmpfs, v4l, v4l2,
>> xscreensaver, apache2. Those seem like things from some distanst past.
>>
>> Let me know what else might need to be looked at. Again, the question
>> I'd most like to answer at this point is why do I have 339 packages in
>> emerge -epv @system when it used to be <100.
>>
>> Thanks all!
>>
>> Cheers,
>> Mark
>>
>> # These settings were set by the catalyst build script that
>> automatically built this stage
>> CFLAGS="-march=k8 -O2 -pipe"
>> CHOST="x86_64-pc-linux-gnu"
>> CXXFLAGS="${CFLAGS}"
>> MAKEOPTS="-j2"
>> FEATURES="parallel-fetch distclean ccache"
>> USE="cdda cddb realmedia quicktime dri radeon mmx mmxext sse sse2
>> 3dnow 3dnowext gnome kde -esd -arts ladspa nptl nptlonly audiofile
>> gimp gimpprint ppds usb alsa cdr dvd dvdr dvdread jack jack-tmpfs
>> fluidsynth tcltk sndfile v4l v4l2 mysql flac xscreensaver -samba i8x0
>> mythtv apache2 -lirc mjpeg xvid xine cjk unicode vorbis ogg truetype
>> java -eds -dts a52 odbc"
>> ACCEPT_KEYWORDS="amd64"
>> ALSA_CARDS="hdsp9652 hdsp"
>> VIDEO_CARDS="radeon vesa fbdev"
>> INPUT_DEVICES="evdev"
>> LINGUAS="en"
>> PORTAGE_NICENESS=19
>> EMERGE_DEFAULT_OPTS="--with-bdeps y"
>> GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
>> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
>> source /usr/local/portage/layman/make.conf
>>
>>
>> lightning ~ # cat /etc/portage/package.use
>> #sys-devel/gcc gcj
>> app-cdr/k3b ffmpeg
>> gnome-extra/yelp firefox
>> media-sound/alsa-tools fltk
>> media-tv/mythtv frontendonly oss opengl -jack
>> media-sound/jack-audio-connection-kit -dbus
>> sys-libs/glibc userlocales
>> dev-java/sun-jdk nsplugin
>> www-client/mozilla-firefox gnome -ipv6
>> dev-util/subversion -apache2
>> dev-lang/python X tk
>> dev-libs/libcdio cddb
>> x11-libs/cairo X pdf
>> x11-libs/qt qt3support
>> www-plugins/mplayerplug-in -gtk
>> app-emulation/emul-linux-x86-soundlibs arts
>> media-libs/swfdec -oss
>> sys-block/gparted fat ntfs
>> dev-cpp/gtkmm accessibility
>> media-video/totem -bluetooth
>> lightning ~ #
>>
>> lightning ~ # eselect profile list
>> Available profile symlink targets:
>>  [1]   default/linux/amd64/2008.0
>>  [2]   default/linux/amd64/2008.0/desktop *
>>  [3]   default/linux/amd64/2008.0/developer
>>  [4]   default/linux/amd64/2008.0/no-multilib
>>  [5]   default/linux/amd64/2008.0/server
>>  [6]   hardened/amd64
>>  [7]   hardened/amd64/multilib
>>  [8]   selinux/2007.0/amd64
>>  [9]   selinux/2007.0/amd64/hardened
>>  [10]  hardened/linux/amd64
>> lightning ~ #
>>
>
> When I look through the emerge -epv --tree @system output I see a lot
> of stuff like the following. There are packages that look like they
> probably do below in @system - qt & gtk+ - but they have global flags
> for cups pulling in cups which starts grabbing more and more stuff.
>
> [nomerge      ]  x11-libs/qt-3.3.8b-r1  USE="cups ipv6 mysql odbc
> opengl -debug -doc -examples (-firebird
> ) -immqt -immqt-bc -nas -nis -postgres -sqlite -xinerama"
> [nomerge      ]   net-print/cups-1.3.10-r1  USE="X acl dbus java jpeg
> ldap pam perl png ppds python ssl t
> iff -avahi -gnutls -kerberos -php -samba -slp -static -xinetd
> -zeroconf" LINGUAS="en -de -es -et -fr -he
> -id -it -ja -pl -sv -zh_TW"
>
>
> [nomerge      ]  x11-libs/gtk+-2.14.7-r2  USE="X cups jpeg tiff -debug
> -doc -jpeg2k -vim-syntax -xinerama
> "
> [nomerge      ]   net-print/cups-1.3.10-r1  USE="X acl dbus java jpeg
> ldap pam perl png ppds python ssl t
> iff -avahi -gnutls -kerberos -php -samba -slp -static -xinetd
> -zeroconf" LINGUAS="en -de -es -et -fr -he
> -id -it -ja -pl -sv -zh_TW"
>
>
> Once something like cups gets pulled in then that leads to things like java:
>
> [ebuild   R   ]     net-print/cups-1.3.10-r1  USE="X acl dbus java
> jpeg ldap pam perl png ppds python ssl
>  tiff -avahi -gnutls -kerberos -php -samba -slp -static -xinetd
> -zeroconf" LINGUAS="en -de -es -et -fr -h
> e -id -it -ja -pl -sv -zh_TW" 3,691 kB
> [nomerge      ] gnome-base/libgnomeui-2.24.1  USE="-doc"
> [nomerge      ]  gnome-base/libbonoboui-2.24.1  USE="X -doc"
> [nomerge      ]   gnome-base/libgnome-2.24.1  USE="-debug -doc -esd"
> [nomerge      ]    gnome-base/gnome-vfs-2.24.0  USE="acl fam hal ipv6
> ssl -avahi -debug -doc -gnutls -ker
> beros -samba"
> [nomerge      ]     app-admin/gamin-0.1.10
> [nomerge      ]      dev-libs/libgamin-0.1.10-r2  USE="python -debug"
> [nomerge      ]       dev-lang/python-2.5.4-r2  USE="berkdb gdbm ipv6
> ncurses readline ssl threads tk xml
>  -build -doc -examples -sqlite -ucs2 -wininst"
> [ebuild   R   ]        sys-libs/gdbm-1.8.3-r3  USE="berkdb" 224 kB
> [ebuild   R   ]         sys-libs/db-4.6.21_p4  USE="java -doc -nocxx
> -tcl -test" 11,649 kB
> [ebuild   R   ]          dev-java/sun-jdk-1.6.0.13  USE="X alsa
> nsplugin odbc -doc -examples -jce" 78,406
>  kB
>
>
> And from there I get more and more.
>
> Turning off the gnome and kde flags helps - gets me down to 279 - but
> that's not enough.
>
> This all seems to be leading me toward really minimizing the number of
> flags I have in /etc/make.conf and putting only the ones I think I
> care about in package.use?
>
> - Mark
>

And then adding -cups in make.conf gets me down to 137:

lightning ~ # emerge -epv @system

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

Calculating dependencies... done!
[ebuild   R   ] sys-apps/portage-2.2_rc33  USE="-build -doc -epydoc
(-selinux)" LINGUAS="-pl" 866 kB
[ebuild   R   ] virtual/libintl-0  0 kB
[ebuild   R   ] sys-libs/zlib-1.2.3-r1  416 kB
[ebuild   R   ] sys-devel/gnuconfig-20080928  41 kB
[ebuild   R   ] virtual/libiconv-0  0 kB

<SNIP>

[ebuild   R   ] sys-libs/db-4.5.20_p2-r1  USE="java -doc -nocxx -tcl
-test" 9,068 kB
[ebuild   R   ] sys-libs/gdbm-1.8.3-r3  USE="berkdb" 224 kB
[ebuild   R   ] sys-devel/libperl-5.8.8-r2  USE="berkdb gdbm -debug
-ithreads" 0 kB
[ebuild   R   ] sys-libs/glibc-2.8_p20080602-r1  USE="(multilib) nls
-debug -gd -glibc-omitfp (-hardened) -profile (-selinux) -vanilla"
16,415 kB
[ebuild   R   ] sys-devel/gcc-4.3.2-r3  USE="fortran gtk mudflap
(multilib) nls openmp (-altivec) -bootstrap -build -doc (-fixed-point)
-gcj (-hardened) -ip28 -ip32r10k -libffi -multislot (-n32) (-n64)
-nocxx -nopie -objc -objc++ -objc-gc -test -vanilla" 57,645 kB

Total: 137 packages (137 reinstalls), Size of downloads: 325,330 kB
lightning ~ #

That seems to be about right to me. Comments?

- Mark

Reply via email to