Re: [gentoo-user] Need help with USE options.
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
Re: [gentoo-user] Need help with USE options.
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 [EMAIL PROTECTED] / # 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
Re: [gentoo-user] Need help with USE options.
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 Z then maybe some more zzz. 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
Re: [gentoo-user] Need help with USE options.
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. [EMAIL PROTECTED] / # 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. signature.asc Description: PGP signature
Re: [gentoo-user] Need help with USE options.
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. [EMAIL PROTECTED] / # 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
Re: [gentoo-user] Need help with USE options.
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) signature.asc Description: PGP signature
Re: [gentoo-user] Need help with USE options.
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
[gentoo-user] Need help with USE options.
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