All of lore.kernel.org
 help / color / mirror / Atom feed
* meta-qt5: dependency loop for egl-library build by qmake
@ 2014-01-17 18:00 Andreas Müller
  2014-01-17 18:31 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Müller @ 2014-01-17 18:00 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org, Martin Jansa

Hi,

Found a libegl which is build by qmake. This turns into a dependency loop:

* qtbase ships mkspec and depends on egl (if enabled by packageconfig)
* the driver needs mkspec to build

I see two possible way to get out:

1. in qmake5.bbclass set 'OE_QMAKE_PLATFORM ?= "linux-oe-g++"' Hereby
the driver can ship and select a copy of linux-oe-g++ with a different
name. Disadvantage: in case something is changed on mkspec the copy
needs alignment.
2. Split out mkspec into a recipe. qmake5.bbclass can then depend on
that recipe. Disadvantage: in case linux-oe-g++ finds it's way to
mainline this won't work no more.

What do you think?

Andreas


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

* Re: meta-qt5: dependency loop for egl-library build by qmake
  2014-01-17 18:00 meta-qt5: dependency loop for egl-library build by qmake Andreas Müller
@ 2014-01-17 18:31 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2014-01-17 18:31 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembedded-devel@lists.openembedded.org

[-- Attachment #1: Type: text/plain, Size: 1339 bytes --]

On Fri, Jan 17, 2014 at 07:00:07PM +0100, Andreas Müller wrote:
> Hi,
> 
> Found a libegl which is build by qmake. This turns into a dependency loop:
> 
> * qtbase ships mkspec and depends on egl (if enabled by packageconfig)
> * the driver needs mkspec to build
> 
> I see two possible way to get out:
> 
> 1. in qmake5.bbclass set 'OE_QMAKE_PLATFORM ?= "linux-oe-g++"' Hereby
> the driver can ship and select a copy of linux-oe-g++ with a different
> name. Disadvantage: in case something is changed on mkspec the copy
> needs alignment.

Does it need whole mkspecs or just some smaller portion from it?

> 2. Split out mkspec into a recipe. qmake5.bbclass can then depend on
> that recipe. Disadvantage: in case linux-oe-g++ finds it's way to
> mainline this won't work no more.

I don't expect linux-oe-g++ ever going to upstream, I was talking about
it with qt devs and they either didn't understand why we need it or
didn't like it (as it's "too generic" spec unlike other upstream specs)

Splitting it to separate recipe and reusing it from sysroot instead of
build dir seems like another change which we'll never upstream.

What about providing enough of target-agnostic mkspecs in qtbase-native
and build libegl just with qtbase-native?

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

end of thread, other threads:[~2014-01-17 18:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 18:00 meta-qt5: dependency loop for egl-library build by qmake Andreas Müller
2014-01-17 18:31 ` Martin Jansa

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.