All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Björn Krombholz" <pirobk@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] qt4-embedded: avoid circular dependencies for reciped providing qt4-embedded
Date: Sun, 19 Sep 2010 23:59:52 +0200	[thread overview]
Message-ID: <1284933592-4558-1-git-send-email-pirobk@gmail.com> (raw)

* qt4e.bbclass did add a dependency on qt4-embedded for recipes
  providing qt4-embedded. This breaks building of qt4-embedded-gles
  in 2 ways:

  1. PREFERRED_PROVIDER_qt4-embedded = qt4-embedded-gles
     adds a circular dependency.

  2. bitbake qt4-embedded-gles
     first builds and installs qt4-embedded to sysroots/ and then
     fails to link the qt4-embedded-gles build against the libs in
     sysroots which don't provide the gl specific symbols

* The fix avoids adding the dependency for package names _beginning_
  with 'qt4-embedded' (as it is done in the x11 version).
---
 classes/qt4e.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/qt4e.bbclass b/classes/qt4e.bbclass
index f72e06b..303b79b 100644
--- a/classes/qt4e.bbclass
+++ b/classes/qt4e.bbclass
@@ -1,4 +1,4 @@
-DEPENDS_prepend = "${@["qt4-embedded ", ""][(bb.data.getVar('PN', d, 1) == 'qt4-embedded')]}"
+DEPENDS_prepend = "${@["qt4-embedded ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-embedded')]}"
 inherit qmake2
 
 QT_DIR_NAME = "qtopia"
-- 
1.7.1




             reply	other threads:[~2010-09-19 22:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-19 21:59 Björn Krombholz [this message]
2010-09-19 22:51 ` [PATCH] qt4-embedded: avoid circular dependencies for reciped providing qt4-embedded Holger Freyther
2010-09-20 18:16   ` Björn Krombholz
2010-09-21  9:18     ` Hauser, Wolfgang (external)
2010-09-21 11:51       ` Frans Meulenbroeks
2010-09-21 13:14       ` Koen Kooi
2010-09-21 17:29     ` Holger Freyther

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=1284933592-4558-1-git-send-email-pirobk@gmail.com \
    --to=pirobk@gmail.com \
    --cc=openembedded-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.