Re: [gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Dale

Andrey Moshbear wrote:

On Sun, Oct 2, 2011 at 00:17, Spideyspide...@gmail.com  wrote:

The question is in the subject: how to easily find out what USE flags are
redundant in make.conf and package.use?
Someone somewhere in this list suggested using some tool, I've tried that
but it was extremely verbose, and I'd had to toggle manually flags to see if
it affected or not.
If some tool to pinpoint redundant flags is not already done, one to echo my
flags separated by it's source (profile, make.conf, package.use, ebuild)
would help me a lot.

Look into app-portage/ufed.




Hey, cl.  That is some cool stuff.  Maybe I can use this to clean 
this up:


USE=3dnow 3dnowext X a52 aac acpi alsa amd64 aml apng automount avahi 
bash-completion berkdb bzip2 cairo cdda cddb cdr chroot cleartype cli 
clucene consolekit corefonts cracklib cups curl cxx dbus declarative dri 
dvd dvdr embedded emboss encode escreen esd exif fam ffmpeg firefox flac 
fortran gdbm gdu gif gimp gkrellm gnutls gphoto2 gpm gtk hbci hddtemp 
iconv ipv6 java javascript jbig jpeg jpeg2k justify kde kipi lcms 
libnotify libwww logrotate loop-aes mad mdnsresponder-compat melt mmx 
mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl 
nptlonly nsplugin offensive ofx ogg opengl openmp pam pango parport pcre 
pdf perl phonon plasma png policykit ppds ppp pppd python qt3 qt3support 
qt4 readline sasl sdl seamonkey semantic-desktop session sift smp spell 
sse sse2 ssl startup-notification svg sysfs syslog tcl tcpd threads tiff 
tk truetype type1 udev unicode usb vcd vorbis webkit wma wmf x264 xcb 
xcomposite xinerama xml xorg xscreensaver xv xvid yahoo zeroconf zlib


How's that for a USE line?  What does it look like if there is a USE 
flag that no longer exists?  I see ones I am not using and are using but 
can't figure out what it looks like if the USE flag is in make.conf but 
no longer exists in the tree.


Ahhh, for others to know.  If there is a flag in make.conf that isn't is 
use anymore, invalid I guess, it shows up as UNKNOWN in the 
description.  Just in case someone else is using ufed inside a Konsole, 
the page up/page down buttons work too.  There is a LOT of flags in the 
tree.  I knew there was a lot but I didn't know there was this many.  O_O


Dale

:-)  :-)



Re: [gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Neil Bothwick
On Sun, 2 Oct 2011 01:17:01 -0300, Spidey wrote:

 The question is in the subject: how to easily find out what USE flags
 are redundant in make.conf and package.use?

eix-test-obsolete finds this and more besides, it's great for
keeping /etc/portage cruft-free.


-- 
Neil Bothwick

Very funny Scotty.. now beam down my pants!


signature.asc
Description: PGP signature


Re: [gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread pk
On 2011-10-02 10:44, Dale wrote:

 How's that for a USE line?  What does it look like if there is a USE

Hm... this doesn't really answer the original question but I like to put
my USE flags (in make.conf) in a list (alphabetized [using sort]) like this:

USE=
3dnow
3dnowext
a52
aac
-accessibility
acl
acpi
...


To me, that's easier to maintain and get an overview of...

Best regards

Peter K



Re: [gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Dale

pk wrote:

On 2011-10-02 10:44, Dale wrote:


How's that for a USE line?  What does it look like if there is a USE

Hm... this doesn't really answer the original question but I like to put
my USE flags (in make.conf) in a list (alphabetized [using sort]) like this:

USE=
3dnow
3dnowext
a52
aac
-accessibility
acl
acpi
...


To me, that's easier to maintain and get an overview of...

Best regards

Peter K




Well, I used esue or something and my make.conf USE line now looks like 
this:


USE=3dnow 3dnowext X a52 acpi alsa aml apng automount avahi \
 bash-completion bzip2 cddb cdr chroot cleartype clucene corefonts 
cups \

 curl dbus declarative dri dvd dvdr embedded escreen esd exif \
 ffmpeg fortran gif gimp gkrellm gnutls gphoto2 gtk hbci hddtemp \
 ipv6 java javascript jbig jpeg2k justify kde libwww \
 logrotate loop-aes mdnsresponder-compat melt mmx mmxext mng mp3 \
 mplayer mysql nls nsplugin nvidia offensive ofx opengl parport pdf \
 policykit ppds ppp qt3support qt4 sasl seamonkey \
 semantic-desktop sift smp sse sse2 sse4a syslog tcl threads tiff tk \
 truetype type1 udev usb vcd webkit wma wmf yahoo zeroconf -acl \
 -bluetooth -branding -crypt -doc -dts -eds -fftw -gcj -gnome \
 -jabber -jingle -ldap -musepack -openldap -oss -otr -sqlite \
 -sqlite3 -theora -v41 -xulrunner

So, I guess you put the \ on the end and indent the next line and it 
sees it as one line.


I might also add that mine was in alphabetical order BEFORE I used euse 
or whatever that was that did the chicken scratch up there.


Want to try it?

Dale

:-)  :-)



Re: [gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread pk
On 2011-10-02 19:51, Dale wrote:

 So, I guess you put the \ on the end and indent the next line and it
 sees it as one line.

This is copy-paste (well, it's not all of it but I think you get the
idea) directly from my make.conf:
USE=
3dnow
3dnowext
a52
aac
-accessibility
acl
acpi
...


Portage interprets everything between the   as 'one' line; no need for \.

 Want to try it?

Thanks, I'll skip it for now... :-)

Best regards

Peter K



[gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-01 Thread Spidey
The question is in the subject: how to easily find out what USE flags are
redundant in make.conf and package.use?
Someone somewhere in this list suggested using some tool, I've tried that
but it was extremely verbose, and I'd had to toggle manually flags to see if
it affected or not.
If some tool to pinpoint redundant flags is not already done, one to echo my
flags separated by it's source (profile, make.conf, package.use, ebuild)
would help me a lot.

Claudio Roberto França Pereira (a.k.a. Spidey)
hardMOB - HTForum - @spideybr
Engenharia de Computação - UFES 2006/1


Re: [gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-01 Thread Andrey Moshbear
On Sun, Oct 2, 2011 at 00:17, Spidey spide...@gmail.com wrote:
 The question is in the subject: how to easily find out what USE flags are
 redundant in make.conf and package.use?
 Someone somewhere in this list suggested using some tool, I've tried that
 but it was extremely verbose, and I'd had to toggle manually flags to see if
 it affected or not.
 If some tool to pinpoint redundant flags is not already done, one to echo my
 flags separated by it's source (profile, make.conf, package.use, ebuild)
 would help me a lot.

Look into app-portage/ufed.