From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QwL1b-0004yh-97 for garchives@archives.gentoo.org; Wed, 24 Aug 2011 21:30:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AF2A21C2DE; Wed, 24 Aug 2011 21:29:26 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [94.23.166.77]) by pigeon.gentoo.org (Postfix) with ESMTP id 68F7721C447 for ; Wed, 24 Aug 2011 21:27:49 +0000 (UTC) Received: from weird.localnet (xdsl-87-79-193-31.netcologne.de [87.79.193.31]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id CB5D14A8014 for ; Wed, 24 Aug 2011 23:27:48 +0200 (CEST) From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Plasma-runtime compilation problems Date: Wed, 24 Aug 2011 23:27:46 +0200 Message-ID: <3527996.D1Z9rZX3YL@weird> Organization: Wonkology User-Agent: KMail/4.7.0 (Linux/2.6.38-pf8; KDE/4.7.0; x86_64; ; ) In-Reply-To: References: <1312947259.12939.4.camel@laptop.limeyworld> <1806444.ZDm6Jedacl@powerslave> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: X-Archives-Hash: 97804062c54fb997055c47590df7c2cd walt writes: > On 08/24/2011 01:05 AM, Yohan Pereira wrote: > > equery belongs /usr/include/plasma/service.h > > > > if you dont have the equery program install it by emerging > > > > app-portage/gentoolkit > > Seems there is always an alternate way of answering any portage question. > I know "qfile service.h" will do the same thing (emerge portage-utils). > > I'll bet there are still more ways that I don't know about yet. Anyone > have a different trick to do the same thing? wonko@weird ~ $ grep -r /usr/include/plasma/service.h /var/db/pkg/ /var/db/pkg/kde-base/kdelibs-4.7.0-r1/CONTENTS:obj /usr/include/plasma/service.h e9ddea9052c900f1f87c57025a0f36f0 1308840546 Emulating qfile as a shell function for nicer output: wonko@weird ~ $ myqfile() > { > grep -r "$1" /var/db/pkg | sed 's#/CONTENTS:.*##g' > } wonko@weird ~ $ myqfile /usr/include/plasma/service.h /var/db/pkg/kde-base/kdelibs-4.7.0-r1 Wonko