All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qt4-embedded: avoid circular dependencies for reciped providing qt4-embedded
@ 2010-09-19 21:59 Björn Krombholz
  2010-09-19 22:51 ` Holger Freyther
  0 siblings, 1 reply; 7+ messages in thread
From: Björn Krombholz @ 2010-09-19 21:59 UTC (permalink / raw)
  To: openembedded-devel

* 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




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

end of thread, other threads:[~2010-09-21 17:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-19 21:59 [PATCH] qt4-embedded: avoid circular dependencies for reciped providing qt4-embedded Björn Krombholz
2010-09-19 22:51 ` 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

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.