On Sun, Jan 4, 2009 at 10:28 PM, David Leverton <levert...@googlemail.com> wrote: > On Sunday 04 January 2009 16:48:38 Nirbheek Chauhan wrote: >> On the contrary, the reverse of what you say is true. A simple grep of >> the tree showed that: > > In how many of those ebuilds would the long form be > use1? ( cat/pkg[use2] ) > rather than > use1? ( cat/pkg[use2] ) !use1? ( cat/pkg ) > ? Obviously I didn't look through all the hits, but the former seems quite > common, and any possible shortcut would only save a few characters. >
Well, to get that info, you'd have to do even more shell-foo :) I believe that KDE-related packages often have dependencies of the former sort; for example use imlib && built_with_use dev-libs/imlib X I've personally encountered use-deps of the type: use cairo && built_with_use category/cairo X use avahi && built_with_use net-dns/avahi gtk etc. Also, the same logic would apply to the existing pkg[use?] deps too. However, pkg[use1?use2] seem to be (at the very least) common in relation to pkg[use?] deps. -- ~Nirbheek Chauhan