All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nativesdk-qt4-tools: remove nativesdk-libx11 for qt-embedded
@ 2013-08-11 21:36 Eric Nelson
  2013-08-12  7:08 ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Nelson @ 2013-08-11 21:36 UTC (permalink / raw)
  To: openembedded-core; +Cc: denys

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 meta/recipes-qt/qt4/nativesdk-qt4-tools.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc b/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc
index cfc6fd8..6ec3225 100644
--- a/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc
+++ b/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc
@@ -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"
-- 
1.8.1.2



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

* Re: [PATCH] nativesdk-qt4-tools: remove nativesdk-libx11 for qt-embedded
  2013-08-11 21:36 [PATCH] nativesdk-qt4-tools: remove nativesdk-libx11 for qt-embedded Eric Nelson
@ 2013-08-12  7:08 ` Richard Purdie
  2013-08-12 13:58   ` Eric Nelson
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2013-08-12  7:08 UTC (permalink / raw)
  To: Eric Nelson; +Cc: denys, openembedded-core

On Sun, 2013-08-11 at 14:36 -0700, Eric Nelson wrote:
> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
> ---
>  meta/recipes-qt/qt4/nativesdk-qt4-tools.inc | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc b/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc
> index cfc6fd8..6ec3225 100644
> --- a/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc
> +++ b/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc
> @@ -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

>  SECTION = "libs"
>  HOMEPAGE = "http://qt.nokia.com"
>  LICENSE = "LGPLv2.1 | GPLv3"




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

* Re: [PATCH] nativesdk-qt4-tools: remove nativesdk-libx11 for qt-embedded
  2013-08-12  7:08 ` Richard Purdie
@ 2013-08-12 13:58   ` Eric Nelson
  2013-08-12 19:26     ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Nelson @ 2013-08-12 13:58 UTC (permalink / raw)
  To: Richard Purdie; +Cc: denys, openembedded-core

Thanks Richard,

On 08/12/2013 12:08 AM, Richard Purdie wrote:
> On Sun, 2013-08-11 at 14:36 -0700, Eric Nelson wrote:
>> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
>> ---
>>   meta/recipes-qt/qt4/nativesdk-qt4-tools.inc | 5 ++++-
>>   1 file changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc b/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc
>> index cfc6fd8..6ec3225 100644
>> --- a/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc
>> +++ b/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc
>> @@ -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.





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

* Re: [PATCH] nativesdk-qt4-tools: remove nativesdk-libx11 for qt-embedded
  2013-08-12 13:58   ` Eric Nelson
@ 2013-08-12 19:26     ` Otavio Salvador
  2013-08-12 20:09       ` Eric Nelson
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2013-08-12 19:26 UTC (permalink / raw)
  To: Eric Nelson; +Cc: Patches and discussions about the oe-core layer, denys

Hello Eric,

On Mon, Aug 12, 2013 at 10:58 AM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:
>> 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.

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.

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


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

* Re: [PATCH] nativesdk-qt4-tools: remove nativesdk-libx11 for qt-embedded
  2013-08-12 19:26     ` Otavio Salvador
@ 2013-08-12 20:09       ` Eric Nelson
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Nelson @ 2013-08-12 20:09 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer, denys

On 08/12/2013 12:26 PM, Otavio Salvador wrote:
> Hello Eric,
>
> On Mon, Aug 12, 2013 at 10:58 AM, Eric Nelson
> <eric.nelson@boundarydevices.com> wrote:
>>> 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.
>
> 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').



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

end of thread, other threads:[~2013-08-12 20:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-11 21:36 [PATCH] nativesdk-qt4-tools: remove nativesdk-libx11 for qt-embedded Eric Nelson
2013-08-12  7:08 ` Richard Purdie
2013-08-12 13:58   ` Eric Nelson
2013-08-12 19:26     ` Otavio Salvador
2013-08-12 20:09       ` Eric Nelson

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.