Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-21 Thread Samuli Piippo
That's not going to work with AUTOREV even if you don't have
nobranch=1 there, but it will make SHA1 builds work since the sha1 is
still accessible.

On 21 June 2018 at 12:03, Martin Jansa  wrote:
> And how is it going to test latest revison in e.g. 5.10.1 branch which
> you've removed in upstream?
>
> On Thu, Jun 21, 2018 at 7:14 AM Samuli Piippo 
> wrote:
>>
>> On 20 June 2018 at 15:19, Martin Jansa  wrote:
>> > On Wed, Jun 20, 2018 at 02:57:39PM +0300, Samuli Piippo wrote:
>> >> On 20 June 2018 at 14:29, Martin Jansa  wrote:
>> >> > 3) we cannot use nobranch=1, because that breaks AUTOREV
>> >>
>> >> How does it break AUTOREV?
>> >> We are using nobranch=1 when testing non-released Qt versions and
>> >> haven't seen issues with it.
>> >
>> > And are you using AUTOREV? How is it supposed to know which branch to
>> > track?
>>
>> Had to test this myself and I still don't see problem here.
>> As long as there still is "branch=${QT_MODULE_BRANCH}" in the URI,
>> nobranch=1 doesn't seem to make difference for AUTOREV.
>> It only stops the SHA1 validation, when you do have SHA1 in SRCREV.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-21 Thread Martin Jansa
And how is it going to test latest revison in e.g. 5.10.1 branch which
you've removed in upstream?

On Thu, Jun 21, 2018 at 7:14 AM Samuli Piippo 
wrote:

> On 20 June 2018 at 15:19, Martin Jansa  wrote:
> > On Wed, Jun 20, 2018 at 02:57:39PM +0300, Samuli Piippo wrote:
> >> On 20 June 2018 at 14:29, Martin Jansa  wrote:
> >> > 3) we cannot use nobranch=1, because that breaks AUTOREV
> >>
> >> How does it break AUTOREV?
> >> We are using nobranch=1 when testing non-released Qt versions and
> >> haven't seen issues with it.
> >
> > And are you using AUTOREV? How is it supposed to know which branch to
> > track?
>
> Had to test this myself and I still don't see problem here.
> As long as there still is "branch=${QT_MODULE_BRANCH}" in the URI,
> nobranch=1 doesn't seem to make difference for AUTOREV.
> It only stops the SHA1 validation, when you do have SHA1 in SRCREV.
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Samuli Piippo
On 20 June 2018 at 15:19, Martin Jansa  wrote:
> On Wed, Jun 20, 2018 at 02:57:39PM +0300, Samuli Piippo wrote:
>> On 20 June 2018 at 14:29, Martin Jansa  wrote:
>> > 3) we cannot use nobranch=1, because that breaks AUTOREV
>>
>> How does it break AUTOREV?
>> We are using nobranch=1 when testing non-released Qt versions and
>> haven't seen issues with it.
>
> And are you using AUTOREV? How is it supposed to know which branch to
> track?

Had to test this myself and I still don't see problem here.
As long as there still is "branch=${QT_MODULE_BRANCH}" in the URI,
nobranch=1 doesn't seem to make difference for AUTOREV.
It only stops the SHA1 validation, when you do have SHA1 in SRCREV.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Martin Jansa
On Wed, Jun 20, 2018 at 03:52:19PM +0200, Daniel Mack wrote:
> On Wednesday, June 20, 2018 01:29 PM, Martin Jansa wrote:
> > On Wed, Jun 20, 2018 at 12:50:52PM +0200, Daniel Mack wrote:
> >> On Wednesday, June 20, 2018 12:36 PM, Martin Jansa wrote:
> >>> It's already in meta-qt5/master with couple fixes on top of that.
> >>
> >> Ah, sorry. For some reason, I only looked into the -next branches.
> > 
> > Well, meta-qt5/master-next is exactly the same as meta-qt5/master :).
> > 
> >> Stupid. FWIW, I have a patch for 5.11.1 ready. Will send once the build
> >> succeeded.
> > 
> > I've started rebasing the patches in meta-qt5 as well, but we cannot use
> > 5.11.1 until downmerge to 5.11 is finished, because:
> > 
> > 1) we cannot use 5.11.1 branch, because they might delete this branch at
> > any time (like with 5.10.1)
> 
> But there's also a v5.11.1 tag, which is unlikely to be deleted?

This is true. But not good enough for bitbake fetcher.

> I might miss something and I haven't followed the discussions, but is 
> your idea to drop the explicit SRCREVs in the recipes in favor of 
> AUTOREV and a branch name?

Definitely not.

bitbake fetcher checks out the defined SRCREV, but also checks that the
revision exists in the branch specified in branch parameter ("master" is
the default when the parameter is missing), if the revision exists, but
isn't in the specified branch then an error is shown (which happens when
upstream deletes the branch e.g. 5.10.1 branch and the revision of v5.10.1
tag which is used in SRCREV exists currently only in 5.11 and dev
branches.

qtbase $ git branch -a --contains v5.10.1 | grep origin
  remotes/origin/5.11
  remotes/origin/5.11.0
  remotes/origin/5.11.1
  remotes/origin/dev
  remotes/origin/wip/qbs2
  remotes/origin/wip/webassembly

There is fix for meta-qt5/sumo which is using 5.10.1:
https://patchwork.openembedded.org/patch/151543/
but that's quite unfortunate to use 5.11 branch from 5.10.1 recipes..

That's why I was waiting with 5.9.6 upgrade until it was downmerged to
5.9 branch:
qtbase $ git branch -a --contains v5.9.6 | grep origin
  remotes/origin/5.9
  remotes/origin/5.9.6

and now I wait for the same with v5.11.1
qtbase $ git branch -a --contains v5.11.1 | grep origin
  remotes/origin/5.11.1

AUTOREV is just for people who want to track latest revision in given
branch (e.g. in CI builds).

It's not acceptable to use AUTOREV by default in public layers, because
that would break the build every other day without any change in the
metadata so it would be a mess to use such layer. But in some layers we
were providing .inc files for easy switch between well-tested SRCREVs
and bleeding edge AUTOREV e.g. for developers.

> FWIW, I've written a small shell script that retrieves the SHA1 for each 
> of the qt projects and updates the .bb files automatically. That seems 
> to work quite well, and I'm happy to share it. There's still the problem 
> with downstream patches and other necessary changes in the recipes for 
> new Qt versions, but that's an issue either way.

I have some scripts as well, SRCREV is the easy part, updating the
patches in meta-qt5 and corresponding branches/tags on meta-qt5/qt*
repos is the tricky part, because only small part of it can be
automated - that's probably why I'm the only one who updates them when I
find the time :).

Cheers,
-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Daniel Mack

On Wednesday, June 20, 2018 01:29 PM, Martin Jansa wrote:

On Wed, Jun 20, 2018 at 12:50:52PM +0200, Daniel Mack wrote:

On Wednesday, June 20, 2018 12:36 PM, Martin Jansa wrote:

It's already in meta-qt5/master with couple fixes on top of that.


Ah, sorry. For some reason, I only looked into the -next branches.


Well, meta-qt5/master-next is exactly the same as meta-qt5/master :).


Stupid. FWIW, I have a patch for 5.11.1 ready. Will send once the build
succeeded.


I've started rebasing the patches in meta-qt5 as well, but we cannot use
5.11.1 until downmerge to 5.11 is finished, because:

1) we cannot use 5.11.1 branch, because they might delete this branch at
any time (like with 5.10.1)


But there's also a v5.11.1 tag, which is unlikely to be deleted?

I might miss something and I haven't followed the discussions, but is 
your idea to drop the explicit SRCREVs in the recipes in favor of 
AUTOREV and a branch name?


FWIW, I've written a small shell script that retrieves the SHA1 for each 
of the qt projects and updates the .bb files automatically. That seems 
to work quite well, and I'm happy to share it. There's still the problem 
with downstream patches and other necessary changes in the recipes for 
new Qt versions, but that's an issue either way.



Thanks,
Daniel
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Samuli Piippo
no, sorry, I mixed AUTOREV with something else.

On 20 June 2018 at 15:19, Martin Jansa  wrote:
> On Wed, Jun 20, 2018 at 02:57:39PM +0300, Samuli Piippo wrote:
>> On 20 June 2018 at 14:29, Martin Jansa  wrote:
>> > 3) we cannot use nobranch=1, because that breaks AUTOREV
>>
>> How does it break AUTOREV?
>> We are using nobranch=1 when testing non-released Qt versions and
>> haven't seen issues with it.
>
> And are you using AUTOREV? How is it supposed to know which branch to
> track?
>
> --
> Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Martin Jansa
On Wed, Jun 20, 2018 at 02:57:39PM +0300, Samuli Piippo wrote:
> On 20 June 2018 at 14:29, Martin Jansa  wrote:
> > 3) we cannot use nobranch=1, because that breaks AUTOREV
> 
> How does it break AUTOREV?
> We are using nobranch=1 when testing non-released Qt versions and
> haven't seen issues with it.

And are you using AUTOREV? How is it supposed to know which branch to
track?

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


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Samuli Piippo
On 20 June 2018 at 14:29, Martin Jansa  wrote:
> 3) we cannot use nobranch=1, because that breaks AUTOREV

How does it break AUTOREV?
We are using nobranch=1 when testing non-released Qt versions and
haven't seen issues with it.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Martin Jansa
On Wed, Jun 20, 2018 at 12:50:52PM +0200, Daniel Mack wrote:
> On Wednesday, June 20, 2018 12:36 PM, Martin Jansa wrote:
> > It's already in meta-qt5/master with couple fixes on top of that.
> 
> Ah, sorry. For some reason, I only looked into the -next branches. 

Well, meta-qt5/master-next is exactly the same as meta-qt5/master :).

> Stupid. FWIW, I have a patch for 5.11.1 ready. Will send once the build 
> succeeded.

I've started rebasing the patches in meta-qt5 as well, but we cannot use
5.11.1 until downmerge to 5.11 is finished, because:

1) we cannot use 5.11.1 branch, because they might delete this branch at
any time (like with 5.10.1)
2) we cannot use 5.11 because the tag isn't included in this branch yet
3) we cannot use nobranch=1, because that breaks AUTOREV

So like 5.9.6 upgrade from last week, I'll wait till all repositories
have the 5.11.1 tag in 5.11 branch (I'm waiting for the same with
5.10.1, because I don't like 5.10 recipes tracking 5.11 branch because
of AUTOREV as well).

Regards,

> > On Wed, Jun 20, 2018 at 12:12 PM Daniel Mack  > > wrote:
> > 
> > Hi Samuli,
> > 
> > I tried to give this patch a try but failed to find a base to apply it
> > against. Is there a public git tree that has these commits?
> > 
> > 
> > Thanks,
> > Daniel
> > 
> > On Tuesday, May 29, 2018 11:25 AM, Samuli Piippo wrote:
> >  > Add recipes for Qt OPC UA and Qt WebGL platform plugin.
> >  > ---
> >  >   recipes-qt/qt5/nativesdk-qtbase_git.bb
> >         |  7 +-
> >  >   recipes-qt/qt5/qt3d_git.bb    
> >      |  2 +-
> >  >   recipes-qt/qt5/qt5-git.inc                    |  2 +-
> >  >   recipes-qt/qt5/qtbase-native_git.bb
> >            |  3 +-
> >  >   recipes-qt/qt5/qtbase_git.bb    
> >        |  7 +-
> >  >   recipes-qt/qt5/qtcanvas3d_git.bb    
> >            |  2 +-
> >  >   recipes-qt/qt5/qtcharts_git.bb    
> >          |  2 +-
> >  >   recipes-qt/qt5/qtconnectivity_git.bb
> >           |  2 +-
> >  >   recipes-qt/qt5/qtdeclarative_git.bb
> >            |  6 +-
> >  >   recipes-qt/qt5/qtgamepad_git.bb  
> >           |  2 +-
> >  >   recipes-qt/qt5/qtgraphicaleffects_git.bb
> >       |  2 +-
> >  >   recipes-qt/qt5/qtimageformats_git.bb
> >           |  2 +-
> >  >   recipes-qt/qt5/qtknx_git.bb  
> >       |  2 +-
> >  >   recipes-qt/qt5/qtlocation_git.bb    
> >            | 10 +--
> >  >   recipes-qt/qt5/qtmultimedia_git.bb
> >             |  2 +-
> >  >   recipes-qt/qt5/qtopcua_git.bb  
> >         | 13 
> >  >   recipes-qt/qt5/qtpurchasing_git.bb
> >             |  2 +-
> >  >   recipes-qt/qt5/qtquickcontrols2_git.bb
> >         |  2 +-
> >  >   recipes-qt/qt5/qtquickcontrols_git.bb
> >          |  2 +-
> >  >   recipes-qt/qt5/qtremoteobjects_git.bb
> >          |  2 +-
> >  >   recipes-qt/qt5/qtscript_git.bb    
> >          |  2 +-
> >  >   recipes-qt/qt5/qtscxml_git.bb  
> >         |  2 +-
> >  >   recipes-qt/qt5/qtsensors_git.bb  
> >           |  2 +-
> >  >   recipes-qt/qt5/qtserialbus_git.bb  
> >             |  2 +-
> >  >   recipes-qt/qt5/qtserialport_git.bb
> >             |  7 +-
> >  >   recipes-qt/qt5/qtsvg_git.bb  
> >       |  2 +-
> >  >   recipes-qt/qt5/qttools_git.bb  
> >         |  2 +-
> >  >   recipes-qt/qt5/qtvirtualkeyboard_git.bb
> >        |  2 +-
> >  >   ...01-fix-build-without-xkbcommon-evdev.patch | 68
> > ---
> >  >   recipes-qt/qt5/qtwayland_git.bb  
> >           |  9 +--
> >  >   recipes-qt/qt5/qtwebchannel_git.bb
> >             |  2 +-
> >  >   recipes-qt/qt5/qtwebengine_git.bb  
> >             |  4 +-
> >  >   recipes-qt/qt5/qtwebglplugin_git.bb
> >            | 21 ++
> >  >   recipes-qt/qt5/qtwebsockets_git.bb
> >             |  2 +-
> >  >   recipes-qt/qt5/qtwebview_git.bb 

Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Daniel Mack

On Wednesday, June 20, 2018 12:36 PM, Martin Jansa wrote:

It's already in meta-qt5/master with couple fixes on top of that.


Ah, sorry. For some reason, I only looked into the -next branches. 
Stupid. FWIW, I have a patch for 5.11.1 ready. Will send once the build 
succeeded.



Thanks,
Daniel




On Wed, Jun 20, 2018 at 12:12 PM Daniel Mack > wrote:


Hi Samuli,

I tried to give this patch a try but failed to find a base to apply it
against. Is there a public git tree that has these commits?


Thanks,
Daniel

On Tuesday, May 29, 2018 11:25 AM, Samuli Piippo wrote:
 > Add recipes for Qt OPC UA and Qt WebGL platform plugin.
 > ---
 >   recipes-qt/qt5/nativesdk-qtbase_git.bb
        |  7 +-
 >   recipes-qt/qt5/qt3d_git.bb    
     |  2 +-

 >   recipes-qt/qt5/qt5-git.inc                    |  2 +-
 >   recipes-qt/qt5/qtbase-native_git.bb
           |  3 +-
 >   recipes-qt/qt5/qtbase_git.bb    
       |  7 +-
 >   recipes-qt/qt5/qtcanvas3d_git.bb    
           |  2 +-
 >   recipes-qt/qt5/qtcharts_git.bb    
         |  2 +-

 >   recipes-qt/qt5/qtconnectivity_git.bb
          |  2 +-
 >   recipes-qt/qt5/qtdeclarative_git.bb
           |  6 +-
 >   recipes-qt/qt5/qtgamepad_git.bb  
          |  2 +-

 >   recipes-qt/qt5/qtgraphicaleffects_git.bb
      |  2 +-
 >   recipes-qt/qt5/qtimageformats_git.bb
          |  2 +-
 >   recipes-qt/qt5/qtknx_git.bb  
      |  2 +-
 >   recipes-qt/qt5/qtlocation_git.bb    
           | 10 +--

 >   recipes-qt/qt5/qtmultimedia_git.bb
            |  2 +-
 >   recipes-qt/qt5/qtopcua_git.bb  
        | 13 

 >   recipes-qt/qt5/qtpurchasing_git.bb
            |  2 +-
 >   recipes-qt/qt5/qtquickcontrols2_git.bb
        |  2 +-
 >   recipes-qt/qt5/qtquickcontrols_git.bb
         |  2 +-
 >   recipes-qt/qt5/qtremoteobjects_git.bb
         |  2 +-
 >   recipes-qt/qt5/qtscript_git.bb    
         |  2 +-
 >   recipes-qt/qt5/qtscxml_git.bb  
        |  2 +-
 >   recipes-qt/qt5/qtsensors_git.bb  
          |  2 +-
 >   recipes-qt/qt5/qtserialbus_git.bb  
            |  2 +-

 >   recipes-qt/qt5/qtserialport_git.bb
            |  7 +-
 >   recipes-qt/qt5/qtsvg_git.bb  
      |  2 +-
 >   recipes-qt/qt5/qttools_git.bb  
        |  2 +-

 >   recipes-qt/qt5/qtvirtualkeyboard_git.bb
       |  2 +-
 >   ...01-fix-build-without-xkbcommon-evdev.patch | 68
---
 >   recipes-qt/qt5/qtwayland_git.bb  
          |  9 +--

 >   recipes-qt/qt5/qtwebchannel_git.bb
            |  2 +-
 >   recipes-qt/qt5/qtwebengine_git.bb  
            |  4 +-

 >   recipes-qt/qt5/qtwebglplugin_git.bb
           | 21 ++
 >   recipes-qt/qt5/qtwebsockets_git.bb
            |  2 +-
 >   recipes-qt/qt5/qtwebview_git.bb  
          |  2 +-
 >   recipes-qt/qt5/qtx11extras_git.bb  
            |  2 +-

 >   recipes-qt/qt5/qtxmlpatterns_git.bb
           |  2 +-
 >   37 files changed, 84 insertions(+), 123 deletions(-)
 >   create mode 100644 recipes-qt/qt5/qtopcua_git.bb

 >   delete mode 100644
recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch
 >   create mode 100644 recipes-qt/qt5/qtwebglplugin_git.bb

 >
 > diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb

b/recipes-qt/qt5/nativesdk-qtbase_git.bb

 > index 27bd563..5971eeb 100644
 > --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb

 > +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb

 > @@ -6,7 +6,6 @@ HOMEPAGE = 

Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Martin Jansa
It's already in meta-qt5/master with couple fixes on top of that.

On Wed, Jun 20, 2018 at 12:12 PM Daniel Mack  wrote:

> Hi Samuli,
>
> I tried to give this patch a try but failed to find a base to apply it
> against. Is there a public git tree that has these commits?
>
>
> Thanks,
> Daniel
>
> On Tuesday, May 29, 2018 11:25 AM, Samuli Piippo wrote:
> > Add recipes for Qt OPC UA and Qt WebGL platform plugin.
> > ---
> >   recipes-qt/qt5/nativesdk-qtbase_git.bb|  7 +-
> >   recipes-qt/qt5/qt3d_git.bb|  2 +-
> >   recipes-qt/qt5/qt5-git.inc|  2 +-
> >   recipes-qt/qt5/qtbase-native_git.bb   |  3 +-
> >   recipes-qt/qt5/qtbase_git.bb  |  7 +-
> >   recipes-qt/qt5/qtcanvas3d_git.bb  |  2 +-
> >   recipes-qt/qt5/qtcharts_git.bb|  2 +-
> >   recipes-qt/qt5/qtconnectivity_git.bb  |  2 +-
> >   recipes-qt/qt5/qtdeclarative_git.bb   |  6 +-
> >   recipes-qt/qt5/qtgamepad_git.bb   |  2 +-
> >   recipes-qt/qt5/qtgraphicaleffects_git.bb  |  2 +-
> >   recipes-qt/qt5/qtimageformats_git.bb  |  2 +-
> >   recipes-qt/qt5/qtknx_git.bb   |  2 +-
> >   recipes-qt/qt5/qtlocation_git.bb  | 10 +--
> >   recipes-qt/qt5/qtmultimedia_git.bb|  2 +-
> >   recipes-qt/qt5/qtopcua_git.bb | 13 
> >   recipes-qt/qt5/qtpurchasing_git.bb|  2 +-
> >   recipes-qt/qt5/qtquickcontrols2_git.bb|  2 +-
> >   recipes-qt/qt5/qtquickcontrols_git.bb |  2 +-
> >   recipes-qt/qt5/qtremoteobjects_git.bb |  2 +-
> >   recipes-qt/qt5/qtscript_git.bb|  2 +-
> >   recipes-qt/qt5/qtscxml_git.bb |  2 +-
> >   recipes-qt/qt5/qtsensors_git.bb   |  2 +-
> >   recipes-qt/qt5/qtserialbus_git.bb |  2 +-
> >   recipes-qt/qt5/qtserialport_git.bb|  7 +-
> >   recipes-qt/qt5/qtsvg_git.bb   |  2 +-
> >   recipes-qt/qt5/qttools_git.bb |  2 +-
> >   recipes-qt/qt5/qtvirtualkeyboard_git.bb   |  2 +-
> >   ...01-fix-build-without-xkbcommon-evdev.patch | 68 ---
> >   recipes-qt/qt5/qtwayland_git.bb   |  9 +--
> >   recipes-qt/qt5/qtwebchannel_git.bb|  2 +-
> >   recipes-qt/qt5/qtwebengine_git.bb |  4 +-
> >   recipes-qt/qt5/qtwebglplugin_git.bb   | 21 ++
> >   recipes-qt/qt5/qtwebsockets_git.bb|  2 +-
> >   recipes-qt/qt5/qtwebview_git.bb   |  2 +-
> >   recipes-qt/qt5/qtx11extras_git.bb |  2 +-
> >   recipes-qt/qt5/qtxmlpatterns_git.bb   |  2 +-
> >   37 files changed, 84 insertions(+), 123 deletions(-)
> >   create mode 100644 recipes-qt/qt5/qtopcua_git.bb
> >   delete mode 100644
> recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch
> >   create mode 100644 recipes-qt/qt5/qtwebglplugin_git.bb
> >
> > diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/
> nativesdk-qtbase_git.bb
> > index 27bd563..5971eeb 100644
> > --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
> > +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
> > @@ -6,7 +6,6 @@ HOMEPAGE = "http://qt-project.org;
> >   LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 &
> The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+
> | LGPL-3.0 | The-Qt-Company-Commercial )"
> >   LIC_FILES_CHKSUM = " \
> >   file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
> > -file://LICENSE.LGPLv3;md5=86d02ed8764e77c1c0b194fde895a51b \
> >   file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
> >   file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
> >   file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
> > @@ -174,8 +173,8 @@ do_install() {
> >   install -m 644 ${WORKDIR}/OEQt5Toolchain.cmake
> ${D}${datadir}/cmake/OEToolchainConfig.cmake.d/
> >
> >   # Fix up absolute paths in scripts
> > -grep -lr /usr/bin/python ${D}${OE_QMAKE_PATH_QT_ARCHDATA}/ | \
> > -xargs -r sed -i -e '1s,#!.*python,#! ${USRBINPATH}/env python,'
> > +sed -i -e '1s,#!/usr/bin/python,#! ${USRBINPATH}/env python,' \
> > +
> ${D}${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features/uikit/devices.py
> >   }
> >
> >   fakeroot do_generate_qt_environment_file() {
> > @@ -210,4 +209,4 @@ fakeroot do_generate_qt_environment_file() {
> >   do_generate_qt_environment_file[umask] = "022"
> >   addtask generate_qt_environment_file after do_install before do_package
> >
> > -SRCREV = "2b5587d901a0cc23749bf27a923d50bf0e5860d3"
> > +SRCREV = "6eef81ee1c82f934e14d47047d8b6103b8755321"
> > diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb
> > index 6b5ddeb..07b28ac 100644
> > --- a/recipes-qt/qt5/qt3d_git.bb
> > +++ b/recipes-qt/qt5/qt3d_git.bb
> > @@ -36,6 +36,6 @@ do_configure_prepend() {
> >${S}/src/quick3d/imports/input/importsinput.pro
> >   }
> >
> > -SRCREV = 

Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Daniel Mack

Hi Samuli,

I tried to give this patch a try but failed to find a base to apply it 
against. Is there a public git tree that has these commits?



Thanks,
Daniel

On Tuesday, May 29, 2018 11:25 AM, Samuli Piippo wrote:

Add recipes for Qt OPC UA and Qt WebGL platform plugin.
---
  recipes-qt/qt5/nativesdk-qtbase_git.bb|  7 +-
  recipes-qt/qt5/qt3d_git.bb|  2 +-
  recipes-qt/qt5/qt5-git.inc|  2 +-
  recipes-qt/qt5/qtbase-native_git.bb   |  3 +-
  recipes-qt/qt5/qtbase_git.bb  |  7 +-
  recipes-qt/qt5/qtcanvas3d_git.bb  |  2 +-
  recipes-qt/qt5/qtcharts_git.bb|  2 +-
  recipes-qt/qt5/qtconnectivity_git.bb  |  2 +-
  recipes-qt/qt5/qtdeclarative_git.bb   |  6 +-
  recipes-qt/qt5/qtgamepad_git.bb   |  2 +-
  recipes-qt/qt5/qtgraphicaleffects_git.bb  |  2 +-
  recipes-qt/qt5/qtimageformats_git.bb  |  2 +-
  recipes-qt/qt5/qtknx_git.bb   |  2 +-
  recipes-qt/qt5/qtlocation_git.bb  | 10 +--
  recipes-qt/qt5/qtmultimedia_git.bb|  2 +-
  recipes-qt/qt5/qtopcua_git.bb | 13 
  recipes-qt/qt5/qtpurchasing_git.bb|  2 +-
  recipes-qt/qt5/qtquickcontrols2_git.bb|  2 +-
  recipes-qt/qt5/qtquickcontrols_git.bb |  2 +-
  recipes-qt/qt5/qtremoteobjects_git.bb |  2 +-
  recipes-qt/qt5/qtscript_git.bb|  2 +-
  recipes-qt/qt5/qtscxml_git.bb |  2 +-
  recipes-qt/qt5/qtsensors_git.bb   |  2 +-
  recipes-qt/qt5/qtserialbus_git.bb |  2 +-
  recipes-qt/qt5/qtserialport_git.bb|  7 +-
  recipes-qt/qt5/qtsvg_git.bb   |  2 +-
  recipes-qt/qt5/qttools_git.bb |  2 +-
  recipes-qt/qt5/qtvirtualkeyboard_git.bb   |  2 +-
  ...01-fix-build-without-xkbcommon-evdev.patch | 68 ---
  recipes-qt/qt5/qtwayland_git.bb   |  9 +--
  recipes-qt/qt5/qtwebchannel_git.bb|  2 +-
  recipes-qt/qt5/qtwebengine_git.bb |  4 +-
  recipes-qt/qt5/qtwebglplugin_git.bb   | 21 ++
  recipes-qt/qt5/qtwebsockets_git.bb|  2 +-
  recipes-qt/qt5/qtwebview_git.bb   |  2 +-
  recipes-qt/qt5/qtx11extras_git.bb |  2 +-
  recipes-qt/qt5/qtxmlpatterns_git.bb   |  2 +-
  37 files changed, 84 insertions(+), 123 deletions(-)
  create mode 100644 recipes-qt/qt5/qtopcua_git.bb
  delete mode 100644 
recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch
  create mode 100644 recipes-qt/qt5/qtwebglplugin_git.bb

diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb 
b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index 27bd563..5971eeb 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -6,7 +6,6 @@ HOMEPAGE = "http://qt-project.org;
  LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | 
The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )"
  LIC_FILES_CHKSUM = " \
  file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
-file://LICENSE.LGPLv3;md5=86d02ed8764e77c1c0b194fde895a51b \
  file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
  file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
  file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
@@ -174,8 +173,8 @@ do_install() {
  install -m 644 ${WORKDIR}/OEQt5Toolchain.cmake 
${D}${datadir}/cmake/OEToolchainConfig.cmake.d/
  
  # Fix up absolute paths in scripts

-grep -lr /usr/bin/python ${D}${OE_QMAKE_PATH_QT_ARCHDATA}/ | \
-xargs -r sed -i -e '1s,#!.*python,#! ${USRBINPATH}/env python,'
+sed -i -e '1s,#!/usr/bin/python,#! ${USRBINPATH}/env python,' \
+${D}${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features/uikit/devices.py
  }
  
  fakeroot do_generate_qt_environment_file() {

@@ -210,4 +209,4 @@ fakeroot do_generate_qt_environment_file() {
  do_generate_qt_environment_file[umask] = "022"
  addtask generate_qt_environment_file after do_install before do_package
  
-SRCREV = "2b5587d901a0cc23749bf27a923d50bf0e5860d3"

+SRCREV = "6eef81ee1c82f934e14d47047d8b6103b8755321"
diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb
index 6b5ddeb..07b28ac 100644
--- a/recipes-qt/qt5/qt3d_git.bb
+++ b/recipes-qt/qt5/qt3d_git.bb
@@ -36,6 +36,6 @@ do_configure_prepend() {
   ${S}/src/quick3d/imports/input/importsinput.pro
  }
  
-SRCREV = "6d73c51d44d10925a05804cd8e70978f155643df"

+SRCREV = "15e863517ea37ca7ba6bcb75b078272eddbc5d37"
  
  BBCLASSEXTEND += "native nativesdk"

diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc
index ae7394c..41ad280 100644
--- a/recipes-qt/qt5/qt5-git.inc
+++ b/recipes-qt/qt5/qt5-git.inc
@@ -14,4 +14,4 @@ CVE_PRODUCT = "qt"
  
  S = "${WORKDIR}/git"
  
-PV = "5.10.1+5.11-beta3+git${SRCPV}"

+PV = "5.11.0+git${SRCPV}"
diff --git 

Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-14 Thread Samuli Piippo
There's existing bug report for GCC that matches this problem:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82882
It's been fixed for one case, but not for all.

On 8 June 2018 at 07:21, Samuli Piippo  wrote:
> On 6 June 2018 at 23:05, Martin Jansa  wrote:
>> On Tue, May 29, 2018 at 12:25:56PM +0300, Samuli Piippo wrote:
>>> Add recipes for Qt OPC UA and Qt WebGL platform plugin.
>>
>> Unfortunately qtremoteobjects is causing gcc 8.1 to segfault
>> during the build:
>> http://errors.yoctoproject.org/Errors/Build/60747/
>> the same with slightly older SRCREV currently in meta-qt5/master:
>> http://errors.yoctoproject.org/Errors/Build/60753/
>>
>> Can you check what in qtremoteobjects is triggering that and report the
>> issue to gcc?
>
> We'll look into this.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-07 Thread Samuli Piippo
On 6 June 2018 at 23:05, Martin Jansa  wrote:
> On Tue, May 29, 2018 at 12:25:56PM +0300, Samuli Piippo wrote:
>> Add recipes for Qt OPC UA and Qt WebGL platform plugin.
>
> Unfortunately qtremoteobjects is causing gcc 8.1 to segfault
> during the build:
> http://errors.yoctoproject.org/Errors/Build/60747/
> the same with slightly older SRCREV currently in meta-qt5/master:
> http://errors.yoctoproject.org/Errors/Build/60753/
>
> Can you check what in qtremoteobjects is triggering that and report the
> issue to gcc?

We'll look into this.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-06 Thread Martin Jansa
On Tue, May 29, 2018 at 12:25:56PM +0300, Samuli Piippo wrote:
> Add recipes for Qt OPC UA and Qt WebGL platform plugin.

Unfortunately qtremoteobjects is causing gcc 8.1 to segfault
during the build:
http://errors.yoctoproject.org/Errors/Build/60747/
the same with slightly older SRCREV currently in meta-qt5/master:
http://errors.yoctoproject.org/Errors/Build/60753/

Can you check what in qtremoteobjects is triggering that and report the
issue to gcc?

Cheers,


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel