On Saturday 12 August 2006 21:18, J'raxis 270145 wrote:
> At 2006-08-12T00:05:48+0000, <[EMAIL PROTECTED]> wrote:

> > A good plan for trimming: for each flag in make.conf, do "USE=-flag
> > emerge -DNvp world".  If only one or two installed packages use that
> > flag, move it it package.use.  You also get a chance to possibly
> > rebuild some things without those flags to eliminate some
> > dependancies.
>
> You can also use equery to determine this, for example:
>
>       # equery hasuse ldap
>
>       [ Searching for USE flag ldap in all categories among: ]
>       * installed packages
>       [I--] [  ] app-admin/sudo-1.6.8_p9-r2 (0)
>       [I--] [  ] net-proxy/squid-2.5.12-r1 (0)
>       [I--] [  ] dev-libs/cyrus-sasl-2.1.21-r2 (2)
>       [I--] [  ] dev-libs/apr-util-0.9.12 (0)
>       [I--] [  ] net-fs/samba-3.0.22-r3 (0)
>       [I--] [  ] net-dns/bind-9.3.2 (0)
>       [I--] [  ] net-misc/openssh-4.3_p2-r1 (0)
>       [I--] [  ] net-misc/curl-7.15.1-r1 (0)
>
> (equery is part of app-portage/gentoolkit.)

I think it should be supplemented with a tool that would scan the entire 
database of packages, not just the ones installed. Whenever I'm considering 
a change, of whatever sort, I want to know the consequences.

Unless I'm mistaken, there's no way to find out what USE flags a package 
uses without installing it first. I recently discovered gentoo-portage.com, 
which is useful but it's organised the other way around, naturally enough, 
so it still involves much scanning.

-- 
Rgds
Peter
-- 
[email protected] mailing list

Reply via email to