Gentoo Archives: gentoo-amd64

From: Peter Humphrey <prh@××××××××××.uk>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] recommended USE flags
Date: Sun, 13 Aug 2006 08:59:13
Message-Id: 200608130957.23335.prh@gotadsl.co.uk
In Reply to: Re: [gentoo-amd64] recommended USE flags by J'raxis 270145
1 On Saturday 12 August 2006 21:18, J'raxis 270145 wrote:
2 > At 2006-08-12T00:05:48+0000, <bigfish@××××××××××.org> wrote:
3
4 > > A good plan for trimming: for each flag in make.conf, do "USE=-flag
5 > > emerge -DNvp world". If only one or two installed packages use that
6 > > flag, move it it package.use. You also get a chance to possibly
7 > > rebuild some things without those flags to eliminate some
8 > > dependancies.
9 >
10 > You can also use equery to determine this, for example:
11 >
12 > # equery hasuse ldap
13 >
14 > [ Searching for USE flag ldap in all categories among: ]
15 > * installed packages
16 > [I--] [ ] app-admin/sudo-1.6.8_p9-r2 (0)
17 > [I--] [ ] net-proxy/squid-2.5.12-r1 (0)
18 > [I--] [ ] dev-libs/cyrus-sasl-2.1.21-r2 (2)
19 > [I--] [ ] dev-libs/apr-util-0.9.12 (0)
20 > [I--] [ ] net-fs/samba-3.0.22-r3 (0)
21 > [I--] [ ] net-dns/bind-9.3.2 (0)
22 > [I--] [ ] net-misc/openssh-4.3_p2-r1 (0)
23 > [I--] [ ] net-misc/curl-7.15.1-r1 (0)
24 >
25 > (equery is part of app-portage/gentoolkit.)
26
27 I think it should be supplemented with a tool that would scan the entire
28 database of packages, not just the ones installed. Whenever I'm considering
29 a change, of whatever sort, I want to know the consequences.
30
31 Unless I'm mistaken, there's no way to find out what USE flags a package
32 uses without installing it first. I recently discovered gentoo-portage.com,
33 which is useful but it's organised the other way around, naturally enough,
34 so it still involves much scanning.
35
36 --
37 Rgds
38 Peter
39 --
40 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] recommended USE flags Simon Stelling <blubb@g.o>