From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from taro.utanet.at (taro.utanet.at [213.90.36.45]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j4C7jXZb007477 for ; Thu, 12 May 2005 07:45:34 GMT Received: from andrea.utanet.at ([213.90.36.55]) by taro.utanet.at with esmtp (Exim 4.41) id 1DW8O2-0007kS-0U for gentoo-dev@lists.gentoo.org; Thu, 12 May 2005 09:45:38 +0200 Received: from suedu2-232-206.utaonline.at ([212.152.232.206] helo=xxxxxxx) by andrea.utanet.at with smtp (Exim 4.50) id 1DW8O1-00021q-7J for gentoo-dev@lists.gentoo.org; Thu, 12 May 2005 09:45:37 +0200 Message-ID: <000b01c556c8$275384c0$8ed5a8c0@xxxxxxx> From: "Michael Haubenwallner" To: References: <42761B77.4030206@salomon.at> <20050502151356.6d9ca385@snowdrop> <20050503000229.GA10998@exodus.wit.org> <20050503151220.076cc62f@snowdrop> <20050505084849.GC13705@exodus.wit.org> <20050505150105.7fc5f5de@snowdrop> <20050506050958.GH13705@exodus.wit.org> <20050506142849.2aefb952@snowdrop> <20050507010518.GO13705@exodus.wit.org> <20050507023920.0d9d27a3@snowdrop> <427C9132.2060709@gentoo.org> Subject: Re: [gentoo-dev] new glep draft: Portage as a secondary package manager Date: Thu, 12 May 2005 09:56:48 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-DNSBL-Warning: listed at bogusmx.rfc-ignorant.org (Domain has demonstrably bogus MX records) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: 78e112fd-d59b-46fa-a96e-d95bf3960a65 X-Archives-Hash: 41cf4a77c556438a7b9770d04d944aec ----- Original Message ----- From: "Marius Mauch" > Ciaran McCreesh wrote: > As for the new metadata variable, I think it should be a complement to > RESTRICT (not limited to prefix). As the name for this var I suggest > SUPPORTS, so for an ebuild that can install into /usr, $PREFIX and $HOME > it would look like: > SUPPORTS="prefix prefix-home" (as /usr is implicit) For the values of the SUPPORTS-Variable (i like the name) i'd prefer some words pointing to the package-manager used (primary/secondary/home), fex "secondarypm homepm" or "2ndpm homepm" or the like (more ideas welcome), because /usr is a 'prefix' too. But here's just one point to think of how to avoid redundant information in ebuilds: The SUPPORTS-Variable _will_ be necessary for home-installation, sure. But when an ebuild has KEYWORDS='sparc' and SUPPORTS='2ndpm', this does not automatically imply that it compiles on a 'sparc-solaris' - this keyword has to be added explicitly. But how likely is it that on 'sparc-solaris' portage would be the primary pkg mgr installing into /usr ? So when an ebuild has 'sparc-solaris' in keywords, imo one can assume that it _does_ support "secondarypm" (also look at http://www.gentoo.org/proj/en/glep/glep-0022.html#reasonable-defaults). Or is this assumption too much implicit ? Well, right, this will break the bsd keyworded ebuilds when used with a secondary pm unless they support it, so this would not be a reasonable way to go, just a point to think of (imo installing into primary prefix with a secondary pkg mgr is sth. weird...) ~haubi PS: sorry for beeing offline most of the time, i'm on holiday until May 17, just sporadically reading mail, and completely offline from May 13 -- gentoo-dev@gentoo.org mailing list