From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-dev+bounces-33938-garchives=archives.gentoo.org@lists.gentoo.org>) id 1LJkrw-000106-FW for garchives@archives.gentoo.org; Mon, 05 Jan 2009 08:31:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46611E03B3; Mon, 5 Jan 2009 08:31:25 +0000 (UTC) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.185]) by pigeon.gentoo.org (Postfix) with ESMTP id CEAB8E03B3 for <gentoo-dev@lists.gentoo.org>; Mon, 5 Jan 2009 08:31:24 +0000 (UTC) Received: by ti-out-0910.google.com with SMTP id u5so5698005tia.10 for <gentoo-dev@lists.gentoo.org>; Mon, 05 Jan 2009 00:31:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=uRQOlPP52lyVl0dL/s00l7NLKii1Xd33JeLzJEkTbIE=; b=uvPUBHkjOWTbL7POvPFwzxd5h01kaA01j0PkrnbWjq2xVyIICmznXzGfI2sespMvrh x7qhxTo6orFnTKjNsPbDfv61dfljvRa335Bsv2gi2IKi1d292Qp/4LiY9OuWFgG/ULIh RFFLUuO2IZAZz1N0H1QXeQu46vul7zb68fXPI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Ke6lCkkTmJG2gb73oB9fNLVr/f7E9+wha6JXu0Z/O7zNfaWTxUz0YbMXoCAC8CivFg DZ/+ieYNea4Tv/1hsNa1YVsdTWaXjGRLYv1L9GVoJVJleDL9AFd+uOlitO1eSk42IhI+ TyTseMp03DwqmrVbdJxBCF77EoOmX7GsGTtKk= Received: by 10.110.86.3 with SMTP id j3mr6994465tib.45.1231144283779; Mon, 05 Jan 2009 00:31:23 -0800 (PST) Received: by 10.110.47.7 with HTTP; Mon, 5 Jan 2009 00:31:23 -0800 (PST) Message-ID: <8b4c83ad0901050031v79d4068wa34db63a642fc6b7@mail.gmail.com> Date: Mon, 5 Jan 2009 14:01:23 +0530 From: "Nirbheek Chauhan" <nirbheek.chauhan@gmail.com> To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] USE dependencies In-Reply-To: <200901041658.56725.levertond@googlemail.com> Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20090104145426.30527441@terra.solaris> <20090104160845.40a17677@snowcone> <8b4c83ad0901040848m3f3a701fs63f6e1386911dd1b@mail.gmail.com> <200901041658.56725.levertond@googlemail.com> X-Archives-Salt: 15380d3c-444f-4f9b-b5e7-8b2292eadddb X-Archives-Hash: 7a8252de5240d48bb274b779ed81e2d9 On Sun, Jan 4, 2009 at 10:28 PM, David Leverton <levertond@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