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 ) id 1LbXFT-0004M3-DD for garchives@archives.gentoo.org; Mon, 23 Feb 2009 09:37:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E2F1E03CA; Mon, 23 Feb 2009 09:37:14 +0000 (UTC) Received: from mail-fx0-f161.google.com (mail-fx0-f161.google.com [209.85.220.161]) by pigeon.gentoo.org (Postfix) with ESMTP id 0A814E03CA for ; Mon, 23 Feb 2009 09:37:13 +0000 (UTC) Received: by fxm5 with SMTP id 5so1510380fxm.10 for ; Mon, 23 Feb 2009 01:37:13 -0800 (PST) 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-disposition :message-id:content-type:content-transfer-encoding; bh=28phT06OMZJVlIOEWlE5DkN5mEXc3W0Zi7/ov8LZNJw=; b=IR5MovFSpwsktq79hp6/3Rl2DXeqtdF/N75kXxyadBDf2qlQ3qJX+fqL2ba44V76K0 gdcrtDHGikSxHucCVAbU4oiaiJdNNV9MyxOI+8Bf3LsdVJqSTwX2d2bOj8u1qd+kdJmO KDMPBzRQMP5lbnvV1l7TJnTesws5zapwBDbmw= 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-disposition:message-id:content-type :content-transfer-encoding; b=N6120Jo026cFbuIW1IYmfQ11LCB4nwG6sMrNl5fBgVGvcmRYLuaaRC3cLEuhVlHkSE hgK/i0V/IXx5kBi7KB9ss+U7O9zjRO9TKRVO8agWHGPXnVNTSZG1EBHjNJR8Kz10EXoQ Vznps2CP/o9vUl3A9vOM9WI/htGp+nvjOXAfA= Received: by 10.223.103.147 with SMTP id k19mr5085218fao.0.1235381833335; Mon, 23 Feb 2009 01:37:13 -0800 (PST) Received: from nazgul.localnet (196-210-153-117-rrdg-esr-2.dynamic.isadsl.co.za [196.210.153.117]) by mx.google.com with ESMTPS id 28sm6157842eyg.55.2009.02.23.01.37.12 (version=SSLv3 cipher=RC4-MD5); Mon, 23 Feb 2009 01:37:12 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Portage and sets Date: Mon, 23 Feb 2009 11:35:38 +0200 User-Agent: KMail/1.11.0 (Linux/2.6.28-gentoo; KDE/4.2.0; x86_64; ; ) References: <49A26817.2030609@gmail.com> In-Reply-To: <49A26817.2030609@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-Disposition: inline Message-Id: <200902231135.38636.alan.mckinnon@gmail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Archives-Salt: d7f35d80-53a0-42aa-9483-0a03063df146 X-Archives-Hash: c16d70696d24469c410bb5c88c44b1cf On Monday 23 February 2009 11:10:47 Dale wrote: > Hi > > I'm wanting to experiment a little with the new sets feature of > portage. I have searched around the forums, even looked at gentoo wiki > and read a few man pages. I can not find a good link to a how to for > sets. I would like to have a couple things if someone has them. 1) a > link to a good how to. 2) could someone send me a copy of a sets file > for something like KDE or something. Just something I can use for a > template if you would. > > Thanks much. Oh, yea, I may be about to break something. I got my > backups up to date tho. o_O Sets are easy :-) For kde, you get a ton of set files if you add the kde- testing overlay. For instance, the kde-4.2 set looks like this: $ cat /var/portage/local/layman/kde-testing/sets/kde-4.2 # We don't include kdesdk on the global set kde-base/kdelibs:4.2 kde-base/kdepimlibs:4.2 kde-base/kate:4.2 kde-base/kdeplasma-addons:4.2 kde-base/kde-l10n:4.2 @kdeaccessibility-4.2 @kdeadmin-4.2 @kdeartwork-4.2 @kdebase-4.2 @kdeedu-4.2 @kdegames-4.2 @kdegraphics-4.2 @kdemultimedia-4.2 @kdenetwork-4.2 @kdepim-4.2 @kdetoys-4.2 @kdeutils-4.2 #for developers #@kdebindings-4.2 #@kdesdk-4.2 #@kdewebdev-4.2 So it's nothing more than a bunch of conventional portage atoms, one per line. I made some of my own for enlightenment-17. The main set is e17 and looks like so: $ cat /etc/portage/sets/e17 @e17-libs @e17-apps @e17-modules @e17-odds A set can include other sets, that's what the leading '@' does. From the above I also have a set called 'e17-libs' which looks like so: $ cat /etc/portage/sets/e17-libs dev-db/edb media-libs/imlib2 dev-libs/eina dev-libs/eet x11-libs/evas x11-libs/e_dbus x11-libs/ecore dev-libs/efreet dev-libs/embryo media-libs/edje media-libs/epsilon x11-libs/esmart media-libs/emotion x11-libs/etk x11-libs/ewl dev-libs/exml dev-util/enhance Obviously, those ebuilds must all exist. I get to maintain them by myself and make sure they work, but that has nothing to do with sets :-) If you make your own sets, dump the files into /etc/portage/sets/ and emerge them like so: emerge -av @e17 Portage will record that you installed a set and remembers it, but the package names do not go into your world file. Think of them as being dependencies of the set, so an update picks up and changes and emerges things as normal. If you find that you need to remove the KDE set, just run 'emerge -C @kde-4.2' and portage will unmerge the whole lot. -- alan dot mckinnon at gmail dot com