public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Need help with USE options.
@ 2005-12-31  7:54 Dale
  2005-12-31 14:22 ` Neil Bothwick
  2005-12-31 14:36 ` Holly Bostick
  0 siblings, 2 replies; 9+ messages in thread
From: Dale @ 2005-12-31  7:54 UTC (permalink / raw
  To: gentoo-user

Hi again,

I read a thread that was talking about the global USE pulling some 
things a user may not want installed.  I am going to do a reinstall and 
mostly copy some things over from my current install but I do want to 
change my USE line.  I am a bit worried about using the option they 
posted, the "-*" at the beginning of the USE line.  I may disable 
something that I need then.

I use KDE for my desktop.  I plan to have OOc installed along with java 
and that sort of thing.  I don't have any database software installed, 
that I know of anyway.   I want to make this a reasonable install this 
time.  I have a lot of gnome stuff installed right now and I don't use 
gnome at all.  I tried it, it's not for me.  No offense to Gnome users.

This is my current USE line:

> USE="acl acpi alsa amd arts artsd artswrappersuid -bonobo cdr chroot 
> clanJavaScript -crypt dbus doc -eds ethereal f-prot fdftk gaim gcj 
> gimpprint gkrellm -gnome gphoto2 gtk -gtkhtml hal hbci hpijs gif 
> innodb java javascript jbig justify kde mmx mozdomi mozilla nsplugin 
> ofx offensive openoffice -oss parse-clocks ppds pysol scanner scribus 
> sse tcltk tiff tkinter truetype tuxracer udev usb X xml xprint yahoo 
> 3dnow "


As far as I know, they are in alphabetical order as well.  I'm a 
recovering perfectionist OK.  LOL  I'm not recovering to well either.  
Is there anything that I should add to make it remove gnome or other 
software that I may not be using anyway?  That includes things I may 
need to have the "-" in front of to override the global settings.

While I am at it, have a look at these lines as well.  I like fast but 
stable:

> LDFLAGS='-Wl,-z,now'


> CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer 
> -momit-leaf-frame-pointer -fno-ident -pipe"


I have a AMD Athlon XP 2500+ CPU with 1GB of ram.  Let me know if you 
see something wrong with those.  So far they are stable at least.

I plan to work on my servers next. 

Thanks for the help.

Dale
:-)





-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.  Named Smoker
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.  Named Swifty
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB drive.  Named Pokey
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.  Named Putput

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Need help with USE options.
  2005-12-31  7:54 [gentoo-user] Need help with USE options Dale
@ 2005-12-31 14:22 ` Neil Bothwick
  2006-01-01  9:18   ` Dale
  2005-12-31 14:36 ` Holly Bostick
  1 sibling, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2005-12-31 14:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]

On Sat, 31 Dec 2005 01:54:06 -0600, Dale wrote:

> I read a thread that was talking about the global USE pulling some 
> things a user may not want installed.

That's why you can change USE flags on a per-package basis,
in /etc/portage/package.use.

> I am going to do a reinstall and 
> mostly copy some things over from my current install but I do want to 
> change my USE line.

There's no need to reinstall for this. Change your USE flags and do 
"emerge -uavDN world". To re-emerge anything affected by the changes.
Then do "emerge -a depclean" to remove packages that are no longer needed.

> I am a bit worried about using the option they 
> posted, the "-*" at the beginning of the USE line.  I may disable 
> something that I need then.

You will also disable, and never know about, any new or changed USE
flags. USE="-*..." is not a good idea for general use.

Incidentally, you can see which USE flags are set, including defaults,
with "emerge --info".


-- 
Neil Bothwick

I am ready to meet my Maker. Whether my Maker is prepared for the great
ordeal of meeting me is another matter. - Sir Winston Churchill
(1874-1965)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Need help with USE options.
  2005-12-31  7:54 [gentoo-user] Need help with USE options Dale
  2005-12-31 14:22 ` Neil Bothwick
@ 2005-12-31 14:36 ` Holly Bostick
  2006-01-02 11:31   ` Dale
  2006-01-04 22:45   ` Dale
  1 sibling, 2 replies; 9+ messages in thread
From: Holly Bostick @ 2005-12-31 14:36 UTC (permalink / raw
  To: gentoo-user

Dale schreef:
> Hi again,
> 
> I read a thread that was talking about the global USE pulling some 
> things a user may not want installed.  I am going to do a reinstall 
> and mostly copy some things over from my current install but I do 
> want to change my USE line.  I am a bit worried about using the 
> option they posted, the "-*" at the beginning of the USE line.  I may
>  disable something that I need then.

The first thing you need to understand is that USE flags enable/disable
*optional* support for supplemental applications. USE flags will never
affect anything that you "need" (to run the system), though it may
affect things that you "want" (for your own ease and comfort).

For example:

I run fvwm-crystal (not KDE, thus, and also not GNOME, though GNOME is
installed). However, I do use the KDE program K3b for CD burning.


 emerge -pv k3b

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-cdr/k3b-0.12.10  +alsa -arts +css -debug +dvdr
+encode +ffmpeg +flac +hal -kde +kdeenablefinal +mp3 +musepack
+musicbrainz +sndfile +vcd +vorbis -xinerama 0 kB


As you can see, I have kde and arts support diasabled. Since I do not
use KDE (or even have more than a minimal KDE installed), adding such
support would be pointless (bloat), since enabling the "arts" USE flag
would bring in aRTs (the KDE sound server, which I wouldn't use even if
I did use KDE), and enabling the "kde" USE flag would bring in
"k3bSetup2", which is a nice little utility to correct the permissions
on the CD/DVD burner if necessary, but it's not really "mission
critical" enough to warrant bringing in the additional KDE backend
required to support it (if the permissions need to be changed, I can do
it myself in 15 seconds, I don't need a GUI from a DE that I don't even
use just to do that).

But you can see from the dependency list that in order to install K3b, I
must install kde-env, kdebase, kdelibs, and kdesu; those are /hard/
dependencies, requried by the application in order for it to run at all;
the applications/libraries installed by the *USE* flags noted are optional:

Runtime Dependencies
k3b-0.12.9

|    >= app-cdr/cdrdao - 1.1.7-r3
    kde-base/kde-env3
    kde-base/kdebase
|    >= kde-base/kdelibs - 3.3
    kde-base/kdesu
    media-libs/libsamplerate
    media-libs/taglib
 |   >= media-sound/cdparanoia - 3.9.8
    media-sound/normalize
    = x11-libs/qt - 3.3*
    *css* media-libs/libdvdcss
    *encode* media-sound/lame
    *encode* media-sound/sox
    *ffmpeg* media-video/ffmpeg
    *flac* media-libs/flac
    *hal* sys-apps/dbus
    *mp3* media-libs/libmad
    *musepack* media-libs/libmpcdec
    *musicbrainz* media-libs/musicbrainz
    *sndfile* media-libs/libsndfile
    *vcd* media-video/vcdimager
    *vorbis* media-libs/libvorbis
    virtual/cdrtools
    *alsa* media-libs/alsalib
    *dvdr* app-cdr/dvd+rwtools

So the necessary KDE backend for the program to run is installed, just
not any "extras" that I don't necessarily want to use. That's what USE
flags do.

> 
> I use KDE for my desktop.  I plan to have OOc installed along with 
> java and that sort of thing.  I don't have any database software 
> installed, that I know of anyway.   I want to make this a reasonable 
> install this time.  I have a lot of gnome stuff installed right now 
> and I don't use gnome at all.

So, add "-gnome" to your global USE flags-- oh, I see you already do--
and then do an emerge -uaDNtv world (to recompile all apps compiled with
"gnome" support without it), and then an emerge depclean -p  and then an
emerge depclean (or unmerge various packages individually) to remove the
now-unnecessary GNOME libs that were previously installed. You might
also want to disable "gtk", and "gtk2".

When you say you "have a lot of gnome stuff installed", what precisely
do you mean, anyway? You seem to have -gnome in your USE flags, so it's
not as if  you have applications installing unnecessary (for you) GNOME
libs and such. And surely you did not explicitly install GNOME-- or did
you? If so, unmerge it (if you emerged gnome or gnome-light, this will
only unmerge the meta packages, not the applications installed by the
meta packages), and then do an emerge depclean -p (and then an emerge
depclean, or unmerge the packages individually) to remove the
now-orphaned GNOME dependencies.

But you may have a number of packages that depend natively on GNOME/GTK
libs; and if so, then you're just stuck with those, in the same way I'm
stuck with kdebase and qt if I want to use K3b. If that's a real problem
for you, investigate what programs those may be and see if you can find
a KDE or generic X-based alternative (for example, if you use gcolor2, a
GTK/GNOME color-chooser, you may want to switch to kcoloredit, the KDE
color chooser).


> This is my current USE line:
> 
>> USE="acl acpi alsa amd arts artsd artswrappersuid -bonobo cdr 
>> chroot clanJavaScript -crypt dbus doc -eds ethereal f-prot fdftk 
>> gaim gcj gimpprint gkrellm -gnome gphoto2 gtk -gtkhtml hal hbci 
>> hpijs gif innodb java javascript jbig justify kde mmx mozdomi 
>> mozilla nsplugin ofx offensive openoffice -oss parse-clocks ppds 
>> pysol scanner scribus sse tcltk tiff tkinter truetype tuxracer udev
>>  usb X xml xprint yahoo 3dnow "

This means nothing to me, since I have no idea what your system does or
what you do with it.

Do you need optional "java" and "javascript" support globally, for
example? Do you develop java or javascript? Maybe you do; I don't know--
at least then having the "gcj" USE flag enabled would make sense (since
"gcj" is the gcc support for a java compiler, afaik).

Myself, I don't, so I disabled that globally, and only enabled it in
/etc/portage/package.use for those programs I know I want java and
javascript support for (firefox, basically).

Do you do desktop publishing? Do you even use scribus? Do all
applications you may or may not have installed that *can* use Scribus
actually *need* to have *optional* "scribus" support enabled?

And if you don't use a database, why do you have the innodb USE flag
enabled?

USE flags customize your system to your personal needs, and I cannot
know your personal needs-- only you can.

So I would suggest reading through /usr/portage/profiles/use.desc and
/usr/portage/profiles/use.local.desc to understand what the USE flags
you have enabled actually do. Myself, I have an alias in ~/.bashrc,
"stolen" from this list, to quickly scan USE flag definitions:

alias useflag="grep /usr/portage/profiles/use.*desc -e"

So if I do an emerge -uaDNtv world and see a USE flag I don't
understand, I can just do a
(taken from the k3b USE flags above):

 useflag sndfile
/usr/portage/profiles/use.desc:sndfile - Adds support for libsndfile

and make my own decision about whether I want libsndfile support enabled
or not.

I've gotta say, that when I install Gentoo, the longest part of the
installation for me is in fact not the kernel compilation (that's the
second longest), but the scanning of the USE flags and reading of the
notes, to make sure I disable what I don't want and enable what I do. I
could, of course, just leave everything be, and then fix it all later as
you are now doing (that's easy enough), but I'm a recovering
perfectionist as well, so I like to take the time and get it closer to
right the first time.

My USE flags are pretty generic

USE="-kde -arts -eds -esd 16bit 3dnow acpi -apm audiofile -berkdb
bigger-fonts caps cddb dbus dga dv dvd fbcon firefox font-server
gimpprint glut gtkhtml gnutls hal iconv inkjar -ipv6 jack jikes
kdeenablefinal kdexdeltas lcms libcaca maildir mmx mng -mozilla mpi nfs
nptl offensive openexr -pam pic portaudio povray sndfile socks5 sqlite
sse -sse2 svg threads toolbar unicode v4l wmf xprint xvid yv12"

but my /etc/portage/package.use is 115 lines.

I'm happy with that because even looking at it now, I can see that my
global USE flags really */are/* global, enabling support for things I
don't want to have to worry about (I want everything that could have
unicode support to actually have it enabled without me worrying about
it) and disabling support for things I know I don't want (if any package
I may choose to compile could have KDE
support, I know I don't want it, without having to worry about it, and I
don't think I even have ipv6, so I know I don't want that), and
so I know the reason that my package.use is so long is because it
enables/disables *specific* options in *specific* applications, which is
what it's supposed to do.

Such as

media-video/ffmpeg -mmx

Globally, I want mmx support, but ffmpeg won't compile on my system if
such support is enabled, so the support is disabled for that particular
program.

On the other hand, "extra" documentation support (the "doc" USE flag) is
usually disabled by default if it appears at all, but I've enabled it
for imagemagick:

media-gfx/imagemagick doc

because I consider imagemagick complex enough that I want to have the
docs available (because I will surely need them).

I use Samba, but I don't necessarily want everything that can have Samba
support to have Samba support, so for certain packages, "samba" is
specifically enabled in package.use, but not globally.

That's the way it's supposed to work, afaik. It does mean you have to
buckle down and think about what you specifically want/need, but
"customization" always requires that, whether it's because you're
detailing your hotrod (I've clearly seen too much "American Chopper",
"Pimp My Ride" and "Wheeler Dealers" this week, damn boyfriend, damn
Discovery and MTV) or because you're fine-tuning Gentoo.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Need help with USE options.
  2005-12-31 14:22 ` Neil Bothwick
@ 2006-01-01  9:18   ` Dale
  2006-01-01 10:09     ` Neil Bothwick
  0 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2006-01-01  9:18 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:

>
>That's why you can change USE flags on a per-package basis,
>in /etc/portage/package.use.
>  
>


I have used that file before.  I am still a bit new to this.  I'm 
learning though, slowly.



>There's no need to reinstall for this. Change your USE flags and do 
>"emerge -uavDN world". To re-emerge anything affected by the changes.
>Then do "emerge -a depclean" to remove packages that are no longer needed.
>  
>

How's this look?  Anything going to break?  I'm not worried about 
removing KDE 3.4.  3.5 seems stable anyway.  I like that WARNING though.


> root@smoker / # emerge -p depclean
>
> *** WARNING ***  --depclean is known to be broken. It is highly 
> recommended
> *** WARNING ***  that `emerge --update --newuse --deep world` be ran 
> before
> *** WARNING ***  commencing. However, using --depclean may still break 
> link
> *** WARNING ***  level consistency within your system. `revdep-rebuild`
> *** WARNING ***  from app-portage/gentoolkit can help to detect breakage.
> *** WARNING ***
> *** WARNING ***  Also study the list of packages to be cleaned for any
> *** WARNING ***  obvious mistakes. Packages can be manually added to the
> *** WARNING ***  world list by running `emerge --noreplace <atom>`.
> *** WARNING ***
> *** WARNING ***  Make sure you have a backup.
>
> Calculating dependencies ... done!
>
> >>> These are the packages that I would unmerge:
>
>  app-crypt/hashalot
>     selected: 0.3-r1
>    protected: none
>      omitted: none
>
>  media-libs/tunepimp
>     selected: 0.3.0-r1
>    protected: none
>      omitted: none
>
>  x11-themes/gnome-themes
>     selected: 2.10.2
>    protected: none
>      omitted: none
>
>  sys-devel/bin86
>     selected: 0.16.16
>    protected: none
>      omitted: none
>
>  media-libs/win32codecs
>     selected: 20050216
>    protected: none
>      omitted: none
>
>  x11-themes/gnome-icon-theme
>     selected: 2.10.1
>    protected: none
>      omitted: none
>
>  x11-themes/hicolor-icon-theme
>     selected: 0.8
>    protected: none
>      omitted: none
>
>  sys-apps/miscfiles
>     selected: 1.3-r1
>    protected: none
>      omitted: none
>
>  dev-cpp/libgnomemm
>     selected: 2.6.0
>    protected: none
>      omitted: none
>
>  kde-base/kdepim
>     selected: 3.4.1-r2
>    protected: none
>      omitted: none
>
>  gnome-base/libgnomeprintui
>     selected: 2.10.2
>    protected: none
>      omitted: none
>
>  media-video/vcdimager
>     selected: 0.7.21
>    protected: none
>      omitted: none
>
>  gnome-base/libbonoboui
>     selected: 2.10.1
>    protected: none
>      omitted: none
>
>  app-shells/sash
>     selected: 3.7
>    protected: none
>      omitted: none
>
>  kde-base/kdewebdev
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
>  dev-libs/libtasn1
>     selected: 0.2.13
>    protected: none
>      omitted: none
>
>  dev-libs/lzo
>     selected: 1.08-r1
>    protected: none
>      omitted: none
>
>  gnome-extra/evolution-data-server
>     selected: 1.2.3
>    protected: none
>      omitted: none
>
>  kde-base/kdeadmin
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
>  kde-base/kdeedu
>     selected: 3.4.1-r1
>    protected: none
>      omitted: none
>
>  sys-fs/cryptsetup-luks
>     selected: 1.0.1-r1
>    protected: none
>      omitted: none
>
>  media-video/avifile
>     selected: 0.7.41.20041001-r1
>    protected: none
>      omitted: none
>
>  dev-libs/libcdio
>     selected: 0.73
>    protected: none
>      omitted: none
>
>  dev-cpp/gconfmm
>     selected: 2.6.1
>    protected: none
>      omitted: none
>
>  media-sound/madplay
>     selected: 0.15.2b
>    protected: none
>      omitted: none
>
>  dev-cpp/libglademm
>     selected: 2.4.1
>    protected: none
>      omitted: none
>
>  app-arch/ncompress
>     selected: 4.2.4-r1
>    protected: none
>      omitted: none
>
>  net-print/libgnomecups
>     selected: 0.2.0
>    protected: none
>      omitted: none
>
>  x11-themes/gtk-engines
>     selected: 2.6.5
>    protected: none
>      omitted: none
>
>  kde-base/kdeaddons
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
>  gnome-base/libglade
>     selected: 2.5.1
>    protected: none
>      omitted: none
>
>  gnome-base/gnome-mime-data
>     selected: 2.4.2
>    protected: none
>      omitted: none
>
>  sys-libs/lib-compat
>     selected: 1.4
>    protected: none
>      omitted: none
>
>  dev-cpp/gnome-vfsmm
>     selected: 2.6.1
>    protected: none
>      omitted: none
>
>  gnome-base/gnome-vfs
>     selected: 2.10.1-r2
>    protected: none
>      omitted: none
>
>  gnome-base/libgnome
>     selected: 2.10.1-r1
>    protected: none
>      omitted: none
>
>  sys-fs/device-mapper
>     selected: 1.01.03
>    protected: none
>      omitted: none
>
>  gnome-base/libgnomeui
>     selected: 2.10.1
>    protected: none
>      omitted: none
>
>  gnome-base/gnome-keyring
>     selected: 0.4.4
>    protected: none
>      omitted: none
>
>  net-libs/libsoup
>     selected: 2.2.6.1
>    protected: none
>      omitted: none
>
>  kde-base/kdemultimedia
>     selected: 3.4.1-r1
>    protected: none
>      omitted: none
>
>  net-libs/gnutls
>     selected: 1.2.3
>    protected: none
>      omitted: none
>
>  app-crypt/opencdk
>     selected: 0.5.5
>    protected: none
>      omitted: none
>
>  kde-base/kdetoys
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
>  gnome-extra/libgtkhtml
>     selected: 2.6.3
>    protected: none
>      omitted: none
>
>  gnome-base/libgnomeprint
>     selected: 2.10.3
>    protected: none
>      omitted: none
>
>  dev-cpp/libgnomeuimm
>     selected: 2.6.0
>    protected: none
>      omitted: none
>
>  kde-base/kdegraphics
>     selected: 3.4.1-r1
>    protected: none
>      omitted: none
>
>  dev-cpp/libgnomecanvasmm
>     selected: 2.6.1
>    protected: none
>      omitted: none
>
>  gnome-base/libbonobo
>     selected: 2.10.1
>    protected: none
>      omitted: none
>
>  kde-base/kdenetwork
>     selected: 3.4.1-r1
>    protected: none
>      omitted: none
>
>  kde-base/kdegames
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
>  kde-base/kdeartwork
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
>  media-libs/libsndfile
>     selected: 1.0.11
>    protected: none
>      omitted: none
>
>  sys-apps/ed
>     selected: 0.2-r6
>    protected: none
>      omitted: none
>
>  kde-base/kdebase
>     selected: 3.4.1-r1
>    protected: none
>      omitted: none
>
>  media-libs/musicbrainz
>     selected: 2.1.1
>    protected: none
>      omitted: none
>
>  gnome-base/libgnomecanvas
>     selected: 2.10.2
>    protected: none
>      omitted: none
>
>  kde-base/kdeutils
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
> >>> 'Selected' packages are slated for removal.
> >>> 'Protected' and 'omitted' packages will not be removed.
>
>
> Packages installed:   677
> Packages in world:    90
> Packages in system:   59
> Unique package names: 618
> Required packages:    634
> Number to remove:     59
> root@smoker / #


I see gnome-vfs on the list.  That thing drives me nuts.  <clenches teeth >


>
>You will also disable, and never know about, any new or changed USE
>flags. USE="-*..." is not a good idea for general use.
>  
>

That's what I was worried about.  Those unintended consequences that 
makes thing break.

>Incidentally, you can see which USE flags are set, including defaults,
>with "emerge --info".
>
>
>  
>
Oh yeah.  Me forgot that one.  That's better than trying to sort them 
out manually.

Thanks.

Dale


-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.  Named Smoker
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.  Named Swifty
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB drive.  Named Pokey
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.  Named Putput

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Need help with USE options.
  2006-01-01  9:18   ` Dale
@ 2006-01-01 10:09     ` Neil Bothwick
  2006-01-01 10:23       ` Dale
  0 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2006-01-01 10:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1121 bytes --]

On Sun, 01 Jan 2006 03:18:57 -0600, Dale wrote:

> >There's no need to reinstall for this. Change your USE flags and do 
> >"emerge -uavDN world". To re-emerge anything affected by the changes.
> >Then do "emerge -a depclean" to remove packages that are no longer
> >needed.
> >  
> >
> 
> How's this look?  Anything going to break?  I'm not worried about 
> removing KDE 3.4.  3.5 seems stable anyway.  I like that WARNING though.
> 
> 
> > root@smoker / # emerge -p depclean
> >
> > Packages installed:   677
> > Packages in world:    90
> > Packages in system:   59
> > Unique package names: 618
> > Required packages:    634
> > Number to remove:     59

That's a lot of packages to remove in one go. I'd remove a few at a time,
running emerge -utvDN world after each run. As long as nothing not on the
depclean list ries to pull the removed packages back in, remove a few
more. It takes a bit longer, but makes it easier to identify the cause
if a problem occurs. I'd start with the non-library packages.


-- 
Neil Bothwick

This is a test of the emergency tagline stealing system.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Need help with USE options.
  2006-01-01 10:09     ` Neil Bothwick
@ 2006-01-01 10:23       ` Dale
  2006-01-03  8:19         ` Dale
  0 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2006-01-01 10:23 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:

>On Sun, 01 Jan 2006 03:18:57 -0600, Dale wrote:
>
>  
>
>>>There's no need to reinstall for this. Change your USE flags and do 
>>>"emerge -uavDN world". To re-emerge anything affected by the changes.
>>>Then do "emerge -a depclean" to remove packages that are no longer
>>>needed.
>>> 
>>>
>>>      
>>>
>>How's this look?  Anything going to break?  I'm not worried about 
>>removing KDE 3.4.  3.5 seems stable anyway.  I like that WARNING though.
>>
>>
>>    
>>
>>>root@smoker / # emerge -p depclean
>>>
>>>Packages installed:   677
>>>Packages in world:    90
>>>Packages in system:   59
>>>Unique package names: 618
>>>Required packages:    634
>>>Number to remove:     59
>>>      
>>>
>
>That's a lot of packages to remove in one go. I'd remove a few at a time,
>running emerge -utvDN world after each run. As long as nothing not on the
>depclean list ries to pull the removed packages back in, remove a few
>more. It takes a bit longer, but makes it easier to identify the cause
>if a problem occurs. I'd start with the non-library packages.
>
>
>  
>

That is how I remove old KDE after a big upgrade too, one at a time and 
then confirm with the -p at the end to make sure I got it all.  I'll go 
to work on it tomorrow.  I'm still half asleep and it may not be a good 
idea right now.

And to think I cleaned off a hard drive for the install.  o_O  And 
cleaned off my back-up to do that too.  O_O

Thanks
Dale
:-)

-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.  Named Smoker
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.  Named Swifty
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB drive.  Named Pokey
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.  Named Putput

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Need help with USE options.
  2005-12-31 14:36 ` Holly Bostick
@ 2006-01-02 11:31   ` Dale
  2006-01-04 22:45   ` Dale
  1 sibling, 0 replies; 9+ messages in thread
From: Dale @ 2006-01-02 11:31 UTC (permalink / raw
  To: gentoo-user


>
>That's the way it's supposed to work, afaik. It does mean you have to
>buckle down and think about what you specifically want/need, but
>"customization" always requires that, whether it's because you're
>detailing your hotrod (I've clearly seen too much "American Chopper",
>"Pimp My Ride" and "Wheeler Dealers" this week, damn boyfriend, damn
>Discovery and MTV) or because you're fine-tuning Gentoo.
>
>HTH,
>Holly
>  
>


Hi Holly,

I have not ignored your post just that there is a lot to say about it.  
I had to go out of town, New Years day is the day my dad died and to be 
honest, I'm not real big on anything at the moment.  I have folding 
running and that is about it.  I'll reply after I take me a nap.  I have 
been up for about 30 hours, 12 of them driving in the freaking fog.  :-(

Back in a while.  Stay safe,

Dale
Zzzzzzzzzzzzz then maybe some more zzzzzzzzzzz.  LOL 

-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.  Named Smoker
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.  Named Swifty
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB drive.  Named Pokey
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.  Named Putput

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Need help with USE options.
  2006-01-01 10:23       ` Dale
@ 2006-01-03  8:19         ` Dale
  0 siblings, 0 replies; 9+ messages in thread
From: Dale @ 2006-01-03  8:19 UTC (permalink / raw
  To: gentoo-user

Dale wrote:

>
>
> That is how I remove old KDE after a big upgrade too, one at a time 
> and then confirm with the -p at the end to make sure I got it all.  
> I'll go to work on it tomorrow.  I'm still half asleep and it may not 
> be a good idea right now.
>
> And to think I cleaned off a hard drive for the install.  o_O  And 
> cleaned off my back-up to do that too.  O_O
>
> Thanks
> Dale
> :-)
>


Well, tomorrow turned into a few days, long story.  This is what I got 
it cleaned down to so far:

> >>> These are the packages that I would unmerge:
>
>  gnome-base/libbonoboui
>     selected: 2.10.1
>    protected: none
>      omitted: none
>
>  dev-libs/libcdio
>     selected: 0.73
>    protected: none
>      omitted: none
>
>  dev-cpp/libgnomemm
>     selected: 2.6.0
>    protected: none
>      omitted: none
>
>  kde-base/kdepim
>     selected: 3.4.1-r2
>    protected: none
>      omitted: none
>
>  media-video/vcdimager
>     selected: 0.7.21
>    protected: none
>      omitted: none
>
>  app-shells/sash
>     selected: 3.7
>    protected: none
>      omitted: none
>
>  kde-base/kdewebdev
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
>  dev-libs/libtasn1
>     selected: 0.2.13
>    protected: none
>      omitted: none
>
>  dev-libs/lzo
>     selected: 1.08-r1
>    protected: none
>      omitted: none
>
>  app-arch/ncompress
>     selected: 4.2.4-r1
>    protected: none
>      omitted: none
>
>  kde-base/kdeadmin
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
>  kde-base/kdeedu
>     selected: 3.4.1-r1
>    protected: none
>      omitted: none
>
>  sys-fs/cryptsetup-luks
>     selected: 1.0.1-r1
>    protected: none
>      omitted: none
>
>  media-video/avifile
>     selected: 0.7.41.20041001-r1
>    protected: none
>      omitted: none
>
>  gnome-base/libgnomeprintui
>     selected: 2.10.2
>    protected: none
>      omitted: none
>
>  dev-cpp/libglademm
>     selected: 2.4.1
>    protected: none
>      omitted: none
>
>  gnome-base/libbonobo
>     selected: 2.10.1
>    protected: none
>      omitted: none
>
>  net-print/libgnomecups
>     selected: 0.2.0
>    protected: none
>      omitted: none
>
>  x11-themes/gtk-engines
>     selected: 2.6.5
>    protected: none
>      omitted: none
>
>  kde-base/kdeaddons
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
>  sys-libs/lib-compat
>     selected: 1.4
>    protected: none
>      omitted: none
>
>  gnome-base/libgnome
>     selected: 2.10.1-r1
>    protected: none
>      omitted: none
>
>  sys-fs/device-mapper
>     selected: 1.01.03
>    protected: none
>      omitted: none
>
>  gnome-base/libgnomeui
>     selected: 2.10.1
>    protected: none
>      omitted: none
>
>  net-libs/libsoup
>     selected: 2.2.6.1
>    protected: none
>      omitted: none
>
>  kde-base/kdemultimedia
>     selected: 3.4.1-r1
>    protected: none
>      omitted: none
>
>  net-libs/gnutls
>     selected: 1.2.3
>    protected: none
>      omitted: none
>
>  kde-base/kdetoys
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
>  gnome-extra/libgtkhtml
>     selected: 2.6.3
>    protected: none
>      omitted: none
>
>  gnome-base/libgnomeprint
>     selected: 2.10.3
>    protected: none
>      omitted: none
>
>  dev-cpp/libgnomeuimm
>     selected: 2.6.0
>    protected: none
>      omitted: none
>
>  kde-base/kdegraphics
>     selected: 3.4.1-r1
>    protected: none
>      omitted: none
>
>  dev-cpp/libgnomecanvasmm
>     selected: 2.6.1
>    protected: none
>      omitted: none
>
>  kde-base/kdenetwork
>     selected: 3.4.1-r1
>    protected: none
>      omitted: none
>
>  kde-base/kdegames
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
>  kde-base/kdeartwork
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
>  media-libs/libsndfile
>     selected: 1.0.11
>    protected: none
>      omitted: none
>
>  kde-base/kdebase
>     selected: 3.4.1-r1
>    protected: none
>      omitted: none
>
>  gnome-base/libgnomecanvas
>     selected: 2.10.2
>    protected: none
>      omitted: none
>
>  kde-base/kdeutils
>     selected: 3.4.1
>    protected: none
>      omitted: none
>
> >>> 'Selected' packages are slated for removal.
> >>> 'Protected' and 'omitted' packages will not be removed.
>
>
> Packages installed:   658
> Packages in world:    90
> Packages in system:   59
> Unique package names: 618
> Required packages:    634
> Number to remove:     40
> root@smoker / #



Is there anything on there that will break something?  I mean to a point 
where KDE won't start or I can't boot at all.  If so, please let me 
know.  I will not do the ones that have KDE in it though.  I plan to do 
this one or two packages at a time manually.

Oh, revdep-rebuild -p prints out a laundry list of broken stuff.  I 
think if I get rid of some of these it will clear that up though.  I 
think anyway.

Here is my USE line according to emerge info:

> USE="x86 3dnow X acl acpi alsa amd apm arts artsd artswrappersuid 
> audiofile avi berkdb bitmap-fonts bzip2 cdr chroot clanJavaScript cups 
> curl dbus doc emboss encode esd ethereal exif expat f-prot fam fdftk 
> ffmpeg foomaticdb fortran gaim gcj gd gdbm gif gimpprint gkrellm glut 
> gmp gphoto2 gpm gstreamer gtk gtk2 hal hbci hpijs idn imagemagick 
> imlib innodb ipv6 java javascript jbig jpeg justify kde lcms libg++ 
> libwww mad mikmod mmx mng motif mozdomi mozilla mp3 mpeg ncurses nls 
> nsplugin offensive ofx ogg oggvorbis opengl openoffice pam 
> parse-clocks pcre pdflib perl png ppds pysol python qt quicktime 
> readline scanner scribus sdl spell sse ssl tcltk tcpd tiff tkinter 
> truetype truetype-fonts tuxracer type1-fonts udev usb vorbis xml xml2 
> xmms xprint xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"


I assume that puts my line in make.conf and the global thing together.  
Some of those I didn't set.  See anything that needs changing??


Thanks for the help.  I'm still sleepy though.  I'll take another nap.  
What I need is a cure here. 

Dale
:-)


-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.  Named Smoker
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.  Named Swifty
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB drive.  Named Pokey
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.  Named Putput

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Need help with USE options.
  2005-12-31 14:36 ` Holly Bostick
  2006-01-02 11:31   ` Dale
@ 2006-01-04 22:45   ` Dale
  1 sibling, 0 replies; 9+ messages in thread
From: Dale @ 2006-01-04 22:45 UTC (permalink / raw
  To: gentoo-user

Holly Bostick wrote:

>
>
>The first thing you need to understand is that USE flags enable/disable
>*optional* support for supplemental applications. USE flags will never
>affect anything that you "need" (to run the system), though it may
>affect things that you "want" (for your own ease and comfort).
>  
>

That I knew but the global settings may enable support that I do not 
need/want, gnome being one of them.

> <snip>
>
>
>So, add "-gnome" to your global USE flags-- oh, I see you already do--
>and then do an emerge -uaDNtv world (to recompile all apps compiled with
>"gnome" support without it), and then an emerge depclean -p  and then an
>emerge depclean (or unmerge various packages individually) to remove the
>now-unnecessary GNOME libs that were previously installed. You might
>also want to disable "gtk", and "gtk2".
>
>When you say you "have a lot of gnome stuff installed", what precisely
>do you mean, anyway? You seem to have -gnome in your USE flags, so it's
>not as if  you have applications installing unnecessary (for you) GNOME
>libs and such. And surely you did not explicitly install GNOME-- or did
>you? If so, unmerge it (if you emerged gnome or gnome-light, this will
>only unmerge the meta packages, not the applications installed by the
>meta packages), and then do an emerge depclean -p (and then an emerge
>depclean, or unmerge the packages individually) to remove the
>now-orphaned GNOME dependencies.
>  
>

I just recently added that -gnome.  I didn't have it in there when I 
emerged everything else on my system.  Since I didn't know any better 
before, I want to correct that now.  I was going to just do a quick 
reinstall but I seemed to have it removed by seeing what depclean 
returned and removing things I didn't need manually, mostly gnome 
stuff.  If I did a reinstall, I was going to copy the kernel, kernels 
config, world file, and a few config files that I changed over and let 
it do its thing.  I did that a while back when I changed drives.  
Make.conf was one of those config files too.

>But you may have a number of packages that depend natively on GNOME/GTK
>libs; and if so, then you're just stuck with those, in the same way I'm
>stuck with kdebase and qt if I want to use K3b. If that's a real problem
>for you, investigate what programs those may be and see if you can find
>a KDE or generic X-based alternative (for example, if you use gcolor2, a
>GTK/GNOME color-chooser, you may want to switch to kcoloredit, the KDE
>color chooser).
>
>  
>
><snip>
>  
>

>This means nothing to me, since I have no idea what your system does or
>what you do with it.
>
>Do you need optional "java" and "javascript" support globally, for
>example? Do you develop java or javascript? Maybe you do; I don't know--
>at least then having the "gcj" USE flag enabled would make sense (since
>"gcj" is the gcc support for a java compiler, afaik).
>
>Myself, I don't, so I disabled that globally, and only enabled it in
>/etc/portage/package.use for those programs I know I want java and
>javascript support for (firefox, basically).
>  
>

I just know I use java so I stuck it in there.  I don't develope java 
stuff though.  Java works so I'm not beating it up.  It may break for 
spight.  (sp?)

>Do you do desktop publishing? Do you even use scribus? Do all
>applications you may or may not have installed that *can* use Scribus
>actually *need* to have *optional* "scribus" support enabled?
>  
>

I do use Scribus on occasion.  It's easier for me than OOo on some things.

>And if you don't use a database, why do you have the innodb USE flag
>enabled?
>  
>

I did install mysql once and then removed it.  I guess I missed that USE 
option when I removed mysql.  Thanks for pointing that out.  See, you 
did know something about that USE line.  LOL

>USE flags customize your system to your personal needs, and I cannot
>know your personal needs-- only you can.
>
>So I would suggest reading through /usr/portage/profiles/use.desc and
>/usr/portage/profiles/use.local.desc to understand what the USE flags
>you have enabled actually do. Myself, I have an alias in ~/.bashrc,
>"stolen" from this list, to quickly scan USE flag definitions:
>
>alias useflag="grep /usr/portage/profiles/use.*desc -e"
>
>So if I do an emerge -uaDNtv world and see a USE flag I don't
>understand, I can just do a
>(taken from the k3b USE flags above):
>
> useflag sndfile
>/usr/portage/profiles/use.desc:sndfile - Adds support for libsndfile
>
>and make my own decision about whether I want libsndfile support enabled
>or not.
>
>I've gotta say, that when I install Gentoo, the longest part of the
>installation for me is in fact not the kernel compilation (that's the
>second longest), but the scanning of the USE flags and reading of the
>notes, to make sure I disable what I don't want and enable what I do. I
>could, of course, just leave everything be, and then fix it all later as
>you are now doing (that's easy enough), but I'm a recovering
>perfectionist as well, so I like to take the time and get it closer to
>right the first time.
>  
>

I do regularly use the -v option and then look up the options for it.  
If I don't need it, I remove it or disable it one.  I'm learning.

>My USE flags are pretty generic
>
>USE="-kde -arts -eds -esd 16bit 3dnow acpi -apm audiofile -berkdb
>bigger-fonts caps cddb dbus dga dv dvd fbcon firefox font-server
>gimpprint glut gtkhtml gnutls hal iconv inkjar -ipv6 jack jikes
>kdeenablefinal kdexdeltas lcms libcaca maildir mmx mng -mozilla mpi nfs
>nptl offensive openexr -pam pic portaudio povray sndfile socks5 sqlite
>sse -sse2 svg threads toolbar unicode v4l wmf xprint xvid yv12"
>
>but my /etc/portage/package.use is 115 lines.
>  
>

Holy crap, that's a lot to keep up with.  Me not as genius as you are.  
o_O  I would have a lot of commented lines in there to help me remember 
what I did it for.   I'm getting to old I think.

>I'm happy with that because even looking at it now, I can see that my
>global USE flags really */are/* global, enabling support for things I
>don't want to have to worry about (I want everything that could have
>unicode support to actually have it enabled without me worrying about
>it) and disabling support for things I know I don't want (if any package
>I may choose to compile could have KDE
>support, I know I don't want it, without having to worry about it, and I
>don't think I even have ipv6, so I know I don't want that), and
>so I know the reason that my package.use is so long is because it
>enables/disables *specific* options in *specific* applications, which is
>what it's supposed to do.
>
>Such as
>
>media-video/ffmpeg -mmx
>
>Globally, I want mmx support, but ffmpeg won't compile on my system if
>such support is enabled, so the support is disabled for that particular
>program.
>
>On the other hand, "extra" documentation support (the "doc" USE flag) is
>usually disabled by default if it appears at all, but I've enabled it
>for imagemagick:
>
>media-gfx/imagemagick doc
>
>because I consider imagemagick complex enough that I want to have the
>docs available (because I will surely need them).
>
>I use Samba, but I don't necessarily want everything that can have Samba
>support to have Samba support, so for certain packages, "samba" is
>specifically enabled in package.use, but not globally.
>
>That's the way it's supposed to work, afaik. It does mean you have to
>buckle down and think about what you specifically want/need, but
>"customization" always requires that, whether it's because you're
>detailing your hotrod (I've clearly seen too much "American Chopper",
>"Pimp My Ride" and "Wheeler Dealers" this week, damn boyfriend, damn
>Discovery and MTV) or because you're fine-tuning Gentoo.
>
>HTH,
>Holly
>  
>


I have watched those shows too.  I do want to start to learn my rig and 
how to configure it correctly.  That package.use file has a line or two 
in it but it was because a package would not compile for me too. 

I'm tired again.  Looks like I'm going back to bed.  I think my skin is 
going through a cycle again.  I get up, fiddle around then go back to 
bed.  < sighs >  This sucks.

Dale
:-)

-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.  Named Smoker
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.  Named Swifty
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB drive.  Named Pokey
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.  Named Putput

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-01-04 22:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-31  7:54 [gentoo-user] Need help with USE options Dale
2005-12-31 14:22 ` Neil Bothwick
2006-01-01  9:18   ` Dale
2006-01-01 10:09     ` Neil Bothwick
2006-01-01 10:23       ` Dale
2006-01-03  8:19         ` Dale
2005-12-31 14:36 ` Holly Bostick
2006-01-02 11:31   ` Dale
2006-01-04 22:45   ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox