From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3BD79138010 for ; Fri, 31 Aug 2012 20:40:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D603FE064F; Fri, 31 Aug 2012 20:40:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E53CBE059C for ; Fri, 31 Aug 2012 20:39:22 +0000 (UTC) Received: from [192.168.1.2] (pool-72-89-250-138.nycmny.fios.verizon.net [72.89.250.138]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ryao) by smtp.gentoo.org (Postfix) with ESMTPSA id 45C6633D83D for ; Fri, 31 Aug 2012 20:39:22 +0000 (UTC) Message-ID: <504120FA.2030801@gentoo.org> Date: Fri, 31 Aug 2012 16:39:22 -0400 From: Richard Yao User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120628 Thunderbird/10.0.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] HDEPEND (host dependencies for cross-compilation) for EAPI 5? References: <50411874.4060204@gentoo.org> In-Reply-To: <50411874.4060204@gentoo.org> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6967FB0AA10F985A79B3A820" X-Archives-Salt: aecdfeb9-9e2c-4dc8-a6dd-4b12b747e71f X-Archives-Hash: 5f9294f744b8e0cae220b3923f44b75c This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6967FB0AA10F985A79B3A820 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 08/31/2012 04:03 PM, Zac Medico wrote: > For those who may not know, chromium-os currently uses a > hard-host-depends ebuild as a workaround for our lack of HDEPEND suppor= t > [1]. We could easily add HDEPEND in EAPI 5 if we want, since we already= > have a Portage patch attached to bug #317337 [2]. Here is a summary of > what that Portage patch will do: >=20 > In EAPI 5 or later, DEPEND has been divided into two parts: > DEPEND for build-time target dependencies, and HDEPEND for > build-time host dependencies. This division is designed > specifically to minimize difficulty in the process of > adapting ebuilds that were written for earlier EAPIs, > and therefore it also minimizes the adjustments that > ebuild developers will have to make to the thought > processes involved when writing ebuilds from scratch. In > an environment that does not involve cross-compilation, > HDEPEND behaves the same as DEPEND. When an ebuild is > converted from EAPI 4 or earlier to EAPI 5 or later, > in order to support cross-compilation environments, some > dependencies may need to be migrated to HDEPEND. >=20 > For ebuilds that have EAPI 5 or later, the emerge > --root-deps option has no effect since it is made obsolete > by division between DEPEND and HDEPEND. If EAPI 4 or > earlier ebuilds are used in combination with EAPI 5 or > later ebuilds, the --root-deps behavior will still be > applied to the EAPI 4 or earlier ebuilds (there is no > behavior change for ebuilds having older EAPIs). >=20 > [1] > http://www.chromium.org/chromium-os/how-tos-and-troubleshooting/portage= -build-faq > [2] https://bugs.gentoo.org/show_bug.cgi?id=3D317337 I like this. It has my support. --------------enig6967FB0AA10F985A79B3A820 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJQQSD9AAoJECDuEZm+6ExkdDIP/AiTacJp2JjzArYR8ZOO7axa Ujrtxj6SE4sVlxm/B3S5ADUx/O+hQ7ORVRfZ7WqP15XWxXIMwwok4hf/i7k5r86B bJZKQGJ81Krc7Vce8eaC5vbz172N2WK0muj8ok7UIgOrIGm0Iqie29yp7vf+1fXg eH7E7a2PMEXyR+wCtr2RGhskt0rY5aws2MAdxH1yJrCN0fPXVOFIrDOsIabt6tUT Y+RDS/UqiQXtyytkMb2s1xEYUbI9WpJMCmn/yrkfMH+3mTUqSJyT9FVgqSksVj+0 Z2ll9953J/EXK0ADwLOuC+8ZbfY4OVVJX/dlBd5j4XlCjOrbqdLLWvGv0HBwu8gi l+pUsHffi/zUcvlhHUxuU+KPuku+RXU/MirW/z/fDFRFPEJZasYVjhXZPgG58KMf PKGpQH++zIrkUloadmdAl/VSVlyrDxlNo2am4U3Op2Yde1I+MxyYyZbV9aYMjYH9 i4YSVuCxfzI9+utkCvqh2kEBVVyjAo9mW2ECB0fCsfO1o3XzWVWoIPewM1Ldyukm 4ylV9ZbGXmMWagWHjwi9pdSnfKjvfzCfjb/NXUo2LzbS2GOo63Nd4EpJwhwPlL1r CmcGh7+Rg5y3TD+NNv2UXoZfC7XaTVUVoXEI1Su+KdlwcqDYrwA9eNWS5o8se75X g6YRgyW6auiR+9+waFx4 =rqvS -----END PGP SIGNATURE----- --------------enig6967FB0AA10F985A79B3A820--