public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] HDEPEND (host dependencies for cross-compilation) for EAPI 5?
@ 2012-08-31 20:03 Zac Medico
  2012-08-31 20:39 ` Richard Yao
  2012-08-31 20:46 ` Ciaran McCreesh
  0 siblings, 2 replies; 41+ messages in thread
From: Zac Medico @ 2012-08-31 20:03 UTC (permalink / raw
  To: gentoo development

For those who may not know, chromium-os currently uses a
hard-host-depends ebuild as a workaround for our lack of HDEPEND support
[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:

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.

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).

[1]
http://www.chromium.org/chromium-os/how-tos-and-troubleshooting/portage-build-faq
[2] https://bugs.gentoo.org/show_bug.cgi?id=317337
-- 
Thanks,
Zac


^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2012-09-12  4:56 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-31 20:03 [gentoo-dev] HDEPEND (host dependencies for cross-compilation) for EAPI 5? Zac Medico
2012-08-31 20:39 ` Richard Yao
2012-08-31 20:46 ` Ciaran McCreesh
2012-08-31 21:11   ` Zac Medico
2012-08-31 21:40     ` Fabio Erculiani
2012-08-31 21:50       ` Ciaran McCreesh
2012-08-31 21:58       ` Zac Medico
2012-08-31 22:15         ` Ciaran McCreesh
2012-08-31 22:58           ` Zac Medico
2012-08-31 22:18         ` Fabio Erculiani
2012-08-31 22:59           ` Michał Górny
2012-08-31 23:03           ` Zac Medico
2012-08-31 23:07             ` Ciaran McCreesh
2012-09-01  1:45               ` Zac Medico
2012-09-01 16:00                 ` Ciaran McCreesh
2012-09-01 18:15                   ` Zac Medico
2012-09-01 18:28                     ` Ciaran McCreesh
2012-09-01  7:42               ` Michał Górny
2012-08-31 23:09             ` Ciaran McCreesh
2012-08-31 23:00         ` Michał Górny
2012-08-31 21:53     ` Ciaran McCreesh
2012-08-31 22:16       ` Zac Medico
2012-09-05  0:06   ` Jorge Manuel B. S. Vicetto
2012-09-05  7:19     ` Fabio Erculiani
2012-09-05  7:27       ` Ciaran McCreesh
2012-09-05 10:44       ` Rich Freeman
2012-09-05 11:23         ` Fabio Erculiani
2012-09-05 11:27           ` Ciaran McCreesh
2012-09-05 12:46             ` Rich Freeman
2012-09-05 13:28               ` Alexis Ballier
2012-09-05 15:24               ` Alec Warner
2012-09-05 16:15     ` Michał Górny
2012-09-06  5:58       ` Ciaran McCreesh
2012-09-06  7:39         ` Michał Górny
2012-09-06  8:00           ` Ciaran McCreesh
2012-09-06  8:27             ` Michał Górny
2012-09-06  8:31               ` Ciaran McCreesh
2012-09-06  8:42                 ` Michał Górny
2012-09-06  8:11     ` Brian Harring
2012-09-11 14:13       ` Michał Górny
2012-09-12  4:54         ` Brian Harring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox