Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <saul.wold@intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Martin Jansa <martin.jansa@gmail.com>
Subject: Re: [PATCH] base.bbclass: add subversion-native to DEPENDS if there is svn:// in SRC_URI
Date: Sat, 22 Oct 2011 10:24:18 -0700	[thread overview]
Message-ID: <4EA2FC42.7050206@intel.com> (raw)
In-Reply-To: <1319190483-5637-1-git-send-email-Martin.Jansa@gmail.com>

On 10/21/2011 02:48 AM, Martin Jansa wrote:
> Signed-off-by: Martin Jansa<Martin.Jansa@gmail.com>
> ---
>   meta/classes/base.bbclass |    7 +++++++
>   1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
> index f539744..bced226 100644
> --- a/meta/classes/base.bbclass
> +++ b/meta/classes/base.bbclass
> @@ -401,6 +401,13 @@ python () {
>                       bb.note("SKIPPING %s because it's %s" % (pn, this_license))
>                       raise bb.parse.SkipPackage("incompatible with license %s" % this_license)
>
> +    # Svn packages should DEPEND on subversion-native
> +    srcuri = bb.data.getVar('SRC_URI', d, 1)
> +    if "svn://" in srcuri:
> +        depends = bb.data.getVarFlag('do_fetch', 'depends', d) or ""
> +        depends = depends + " subversion-native:do_populate_sysroot"
> +        bb.data.setVarFlag('do_fetch', 'depends', depends, d)
> +
>       # Git packages should DEPEND on git-native
>       srcuri = bb.data.getVar('SRC_URI', d, 1)
>       if "git://" in srcuri:
This change introduces a circular dependency when I tried to build.

Sau!



  parent reply	other threads:[~2011-10-22 17:30 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-21  8:17 [PATCH 0/8] Subversion-1.7.0 and arm/thumb work arounds Martin Jansa
2011-10-21  8:17 ` [PATCH 1/8] pulseaudio-0.9.23: inherit perlnative to work around build on host without XML/Parser.pm Martin Jansa
2011-10-21  8:17 ` [PATCH 2/8] libatomics-ops: force ARM mode Martin Jansa
2011-10-21  8:43   ` Henning Heinold
2011-10-21  8:48     ` Martin Jansa
2011-10-21 16:06       ` Khem Raj
2011-10-21 16:21         ` Martin Jansa
2011-10-21 14:45   ` Mark Hatle
2011-10-21  8:17 ` [PATCH 3/8] pulseaudio-0.9.23: " Martin Jansa
2011-10-21  8:29   ` Koen Kooi
2011-10-21 15:40   ` Khem Raj
2011-10-21 15:47     ` Koen Kooi
2011-10-21 16:16     ` Martin Jansa
2011-10-21 17:13       ` Saul Wold
2011-10-22 12:33       ` Phil Blundell
2011-10-25  7:26         ` Martin Jansa
2011-10-25 21:50           ` Phil Blundell
2011-10-21  8:17 ` [PATCH 4/8] webkit-gtk: force arm mode to work around binutils segfault Martin Jansa
2011-10-21 15:38   ` Khem Raj
2011-10-21  8:17 ` [PATCH 5/8] apr: add native support Martin Jansa
2011-10-21  8:17 ` [PATCH 6/8] neon: " Martin Jansa
2011-10-21  8:17 ` [PATCH 7/8] apr-util: " Martin Jansa
2011-10-21  8:17 ` [PATCH 8/8] subversion: add 1.7.0 with native support and negative D_P for now Martin Jansa
2011-10-21  9:48   ` [PATCH] base.bbclass: add subversion-native to DEPENDS if there is svn:// in SRC_URI Martin Jansa
2011-10-21 11:26     ` Martin Jansa
2011-10-21 13:11       ` [PATCH] subversion-1.6.15: add native support too Martin Jansa
2011-10-26 19:54         ` Saul Wold
2011-10-22 17:24     ` Saul Wold [this message]
2011-10-26 19:54 ` [PATCH 0/8] Subversion-1.7.0 and arm/thumb work arounds Saul Wold
2011-10-26 20:13   ` Martin Jansa
2011-11-07 19:13 ` Saul Wold
2011-11-07 22:34   ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EA2FC42.7050206@intel.com \
    --to=saul.wold@intel.com \
    --cc=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox