Skip to contentSkip to conversation

nativesdk-qt4-tools: remove nativesdk-libx11 for qt-embedded

PATCH In review Eric Nelson 3 participants 5 messages Aug 11, 2013 – Aug 12, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nativesdk-qt4-tools: remove nativesdk-libx11 for qt-embedded

---
 meta/recipes-qt/qt4/nativesdk-qt4-tools.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +4 -1
index cfc6fd8..6ec3225 100644
@@ -1,5 +1,8 @@
 DESCRIPTION = "SDK tools for Qt/[X11|Mac|Embedded] version 4.x"
-DEPENDS = "nativesdk-zlib nativesdk-dbus nativesdk-libx11 qt4-native"
+DEPENDS = "nativesdk-zlib nativesdk-dbus qt4-native"
+OVERRIDES="${QTNAME}"
+DEPENDS_append_qt = " nativesdk-libx11"
+
 SECTION = "libs"
 HOMEPAGE = "http://qt.nokia.com"
 LICENSE = "LGPLv2.1 | GPLv3"
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 10 lines · Eric Nelson
---
 meta/recipes-qt/qt4/nativesdk-qt4-tools.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +0 -0
index cfc6fd8..6ec3225 100644

meta/recipes-qt/qt4/nativesdk-qt4-tools.inc line 4

Quoted 5 lines
meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +3 -1
@@ -1,5 +1,8 @@
 DESCRIPTION = "SDK tools for Qt/[X11|Mac|Embedded] version 4.x"
-DEPENDS = "nativesdk-zlib nativesdk-dbus nativesdk-libx11 qt4-native"
+DEPENDS = "nativesdk-zlib nativesdk-dbus qt4-native"
+OVERRIDES="${QTNAME}"
+DEPENDS_append_qt = " nativesdk-libx11"

I'm afraid we can't do this since you just broke any other kind of override which might get used anywhere by any recipe using this .inc file. I'd also be wary of adding something as simple as "qt" into overrides since it can match things more widely than you might want.

Cheers,

Richard

Quoted 3 lines
meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +0 -0
 SECTION = "libs"
 HOMEPAGE = "http://qt.nokia.com"
 LICENSE = "LGPLv2.1 | GPLv3"
#2 lore raw

Thanks Richard,

Quoted 6 lines · Richard Purdie
Quoted 5 lines · Eric Nelson
---
  meta/recipes-qt/qt4/nativesdk-qt4-tools.inc | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
Quoted 16 lines

meta/recipes-qt/qt4/nativesdk-qt4-tools.inc line 4

Quoted 10 lines
meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +3 -1
index cfc6fd8..6ec3225 100644
@@ -1,5 +1,8 @@
  DESCRIPTION = "SDK tools for Qt/[X11|Mac|Embedded] version 4.x"
-DEPENDS = "nativesdk-zlib nativesdk-dbus nativesdk-libx11 qt4-native"
+DEPENDS = "nativesdk-zlib nativesdk-dbus qt4-native"
+OVERRIDES="${QTNAME}"
+DEPENDS_append_qt = " nativesdk-libx11"

I'm afraid we can't do this since you just broke any other kind of override which might get used anywhere by any recipe using this .inc file. I'd also be wary of adding something as simple as "qt" into overrides since it can match things more widely than you might want.

I'm a bit of an OE n00b, and I'm not quite sure how to express this conditional.

meta-toolchain-qte shouldn't depend on nativesdk-libx11, and I'm not sure how the dependency can be moved to the X11 recipe recipes_qt/meta/meta-toolchain-qt.bb.

#3 lore raw

Hello Eric,

Quoted 6 lines · Eric Nelson
Quoted 5 lines

I'm afraid we can't do this since you just broke any other kind of override which might get used anywhere by any recipe using this .inc file. I'd also be wary of adding something as simple as "qt" into overrides since it can match things more widely than you might want.

Quoted 6 lines

I'm a bit of an OE n00b, and I'm not quite sure how to express this conditional.

meta-toolchain-qte shouldn't depend on nativesdk-libx11, and I'm not sure how the dependency can be moved to the X11 recipe recipes_qt/meta/meta-toolchain-qt.bb.

I think you're looking for to:

http://privatepaste.com/cc22a68c56

The missing part for merging it is to /force/ it to be disabled in qt configure. This was last Richard complain about this patch when I sent it.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#4 lore raw
Quoted 17 lines · Otavio Salvador

Hello Eric,

Quoted 6 lines · Eric Nelson
Quoted 5 lines

I'm afraid we can't do this since you just broke any other kind of override which might get used anywhere by any recipe using this .inc file. I'd also be wary of adding something as simple as "qt" into overrides since it can match things more widely than you might want.

Quoted 6 lines

I'm a bit of an OE n00b, and I'm not quite sure how to express this conditional.

meta-toolchain-qte shouldn't depend on nativesdk-libx11, and I'm not sure how the dependency can be moved to the X11 recipe recipes_qt/meta/meta-toolchain-qt.bb.

Quoted 8 lines

I think you're looking for to:

http://privatepaste.com/cc22a68c56

The missing part for merging it is to /force/ it to be disabled in qt configure. This was last Richard complain about this patch when I sent it.

Thanks Otavio,

I saw the ${@base_contains('DISTRO_FEATURES', construct elsewhere but got lost in the Python (scratching my head over the trailing 'd').