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 1MIzjP-0004mh-Ms for garchives@archives.gentoo.org; Tue, 23 Jun 2009 06:43:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8EF9E03BD; Tue, 23 Jun 2009 06:43:45 +0000 (UTC) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by pigeon.gentoo.org (Postfix) with ESMTP id 79385E03BD for ; Tue, 23 Jun 2009 06:43:45 +0000 (UTC) Received: by ewy7 with SMTP id 7so522689ewy.34 for ; Mon, 22 Jun 2009 23:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=dsLeKDt3jm0wUJ+XuW/6rJ7rRbnhQxEm7B/mx311yUQ=; b=F6PangD7otB1N3RhfTD8sLd/LyWLn/JxzAPZltWgVx7pgq54lQsQTqXM/u6wyWSRiv 1BV/85QlLWuKGiTTqrxjLJKQcZp3kTh90ieFuT7TPtuw5lU403b54e+4zWUeB8w3ERtB SKECaijaRKIHtUMRwdDS+a1IDCRoxqezJ1SxE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=DZwOYovpAZsY2RGbAYqEehxCKRo/K3GbG/NNisIZ85OGkbgghElNWtLtx1ZFxaMluA klP51x0Tewu1eJegGSnOXh+ZcUbaE5cykB1qFmVWyZBr6okXSp7zevDEttFvlSNPI3BY L1fJfei7+/NPIJBLyAP4jM0kh6vphwLPZW3QM= Received: by 10.210.58.17 with SMTP id g17mr8431073eba.36.1245739424569; Mon, 22 Jun 2009 23:43:44 -0700 (PDT) Received: from nazgul.localnet (196-210-153-123-rrdg-esr-2.dynamic.isadsl.co.za [196.210.153.123]) by mx.google.com with ESMTPS id 28sm1045546eyg.14.2009.06.22.23.43.43 (version=SSLv3 cipher=RC4-MD5); Mon, 22 Jun 2009 23:43:43 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: package.keywords Date: Tue, 23 Jun 2009 08:42:12 +0200 User-Agent: KMail/1.11.4 (Linux/2.6.30-gentoo-r1; KDE/4.2.4; x86_64; ; ) References: <20090622231743.1224f522@zaphod.digimed.co.uk> <4A4010FC.5050609@gmail.com> In-Reply-To: <4A4010FC.5050609@gmail.com> 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-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906230842.12270.alan.mckinnon@gmail.com> X-Archives-Salt: 6b486210-8959-448a-bbd8-a070395027d2 X-Archives-Hash: 9e3a89d31e3a8c48b77ded460a0c07a2 On Tuesday 23 June 2009 01:17:16 Dale wrote: > Neil Bothwick wrote: > > On Mon, 22 Jun 2009 15:51:31 +0000 (UTC), James wrote: > >> I'm mostly running stable with exceptions being enabled > >> via the /etc/portage file structure. Usually it's small, > >> but now with kde4, BLOAT is my modus operandi, > >> not by choice...... > > > > It's easier to manage if you make portage.keywords a directory then put > > the actual packages in files within that directory. That way you can > > separate the files needed to run KDE4 from any other group of packages. > > > > All package.* files in /etc/portage can be replaced a directories, then > > all the files in that directory are considered as a whole. > > For some reason, my light bulb has still not came on so here comes some > questions. I would create /etc/portage/package.keywords then inside > that another directory or a set of files? Say, one named KDE4 to put > all of KDE4 and it's little friends and then another for some other set > of packages? Is this sort of like the sets thing which I am still > curious about? Yes, precisely. If package.keywords is a single file, then all your keywords must be in that file. This is difficult for ebuilds to manipulate, and difficult for you to edit too. If I send you my list of KDE keywords, you have to copy paste the lot into a file and put comments at the start and end so you know what it all is. If package.keywords is a directory, then portage/ebuilds/tools/you can add and remove entire files easily, leaving everything else untouched. > Right now, package.keywords and friends are files not directories. > Maybe tarring up your portage directory and emailing me off list would > help? I need a light bulb moment here. :/ It's easy. As root: cd /etc/portage mv package.keywords package.keywords~ mkdir package.keywords mv package.keywords~ package.keywords/package.keywords The destination file in the last command can be named anything you like. Now, if you install enlightenment, create and edit /etc/portage/package.keywords/e17 If I send you my KDE keywords as an attachment, right-click, Save As, /etc/portage/package.keywords/kde4 Done, sorted. -- alan dot mckinnon at gmail dot com