Commit Graph

79 Commits

Author SHA1 Message Date
Martin Jansa
ef5f5d912d qt5: upgrade to 5.11.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-22 14:35:29 +00:00
Martin Jansa
731334ac1d qtwebengine: fix build with plugins as well as ozone enabled
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-10 10:57:11 +00:00
Martin Jansa
33f58ffa65 qtwebengine: fix build with gcc8, part II
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-06 11:32:55 +00:00
Martin Jansa
267a38fdde qtwebengine: fix build with gcc8
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-05 14:03:20 +00:00
Martin Jansa
dde9b55a24 qt5: refresh the patches and update them on meta-qt5 repositories
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-05 13:48:51 +00:00
Samuli Piippo
e0a4e23c1d qt5: Update to Qt 5.11.0
Add recipes for Qt OPC UA and Qt WebGL platform plugin.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-05-30 20:02:46 +00:00
Martin Jansa
35f8981b11 qt5: upgrade to 5.11 beta3+
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-20 10:06:37 +00:00
Martin Jansa
f33be06035 qt5: upgrade to 5.11 Alpha
* use qtwebkit and qtwebkit-examples from dev branch, because there is
  no 5.11 branch (there isn't 5.10 as well, but because nobranch=1 in
  qt5-git.inc nobody noticed).
* qtbase: drop qml-debug options
  removed from qtbase in:
  commit 525f8516c2580018f910cfb99ab5e0e36bd55ab1
  Author: Ulf Hermann <ulf.hermann@qt.io>
  Date:   Fri Oct 6 16:27:09 2017 +0200
  Subject: Remove qml-debug configure flag and feature
* qtgraphicaleffects, qtquickcontrols2, qtquickcontrols,
  qtvirtualkeyboard: add qtdeclarative-native dependency
  needed for qmlcachegen binary
* qtwebkit: update LIC_FILES_CHKSUM and remove PACKAGECONFIGs
  referenced files disappered in:
  commit 6882a04fb36642862b11efe514251d32070c3d65
  Author: Konstantin Tokarev <annulen@yandex.ru>
  Date:   Thu Aug 25 19:20:41 2016 +0300
  Subject: Imported QtWebKit TP3 (git b57bc6801f1876c3220d5a4bfea33d620d477443)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-20 10:06:37 +00:00
Martin Jansa
1d9fbb1576 qt5: refresh patches from meta-qt5/qt* repos
* apply:
  0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch
  also for nativesdk-qtbase as the comment says
* drop unused:
  0001-Add-missing-include-for-struct-timeval.patch
  which wasn't removed in 5.10.1 upgrade

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-02-26 16:53:07 +00:00
Mikko Gronoff
e41caf42e9 Upgrade to Qt 5.10.1
Updated Qt modules to 5.10.1.
New recipe qtknx added.

Change-Id: I711c75253a9c0d9dcfbaac8867b35a4505d101ea
Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-02-22 13:56:45 +00:00
Martin Jansa
ce76637443 qt: refresh remaining patches and tags in meta-qt5 repos
* update tag name to match the patches in meta-qt5 repository
  where the meta-qt5 .patch files are maintained, so that it's
  more clear from where these changes are exported (with:
  git format-patch --no-numbered --no-signature)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-01-16 14:21:42 +00:00
Denys Dmytriyenko
229f819b97 qtwebengine: explicitly depend on bison-native
QtWebEngine uses bison during the build. While normally bison-native gets
staged into sysroot indirectly by the toolchain via binutils-cross, it's
better to have the dependency listed explicitly for deterministic builds.
Otherwise, when using an external toolchain, it fails like this:

| FAILED: gen/blink/core/XPathGrammar.cpp gen/blink/core/XPathGrammar.h
| .../qtwebengine/5.9.3+...-r0/recipe-sysroot-native/usr/bin/python-native/python2
|    ../../../../git/src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/rule_bison.py
|    ../../../../git/src/3rdparty/chromium/third_party/WebKit/Source/core/xml/XPathGrammar.y gen/blink/core bison
| Traceback (most recent call last):
|   File "../../../../git/src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/rule_bison.py", line 83, in <module>
|     returnCode = subprocess.call([bisonExe, '-d', '-p', prefix, inputFile, '-o', outputCpp])
|   File ".../qtwebengine/5.9.3+...-r0/recipe-sysroot-native/usr/lib/python2.7/subprocess.py", line 168, in call
|     return Popen(*popenargs, **kwargs).wait()
|   File ".../qtwebengine/5.9.3+...-r0/recipe-sysroot-native/usr/lib/python2.7/subprocess.py", line 390, in __init__
|     errread, errwrite)
|   File ".../qtwebengine/5.9.3+...-r0/recipe-sysroot-native/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
|     raise child_exception
| OSError: [Errno 2] No such file or directory

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-01-15 17:56:40 +00:00
Samuli Piippo
5ae76bbcf5 Upgrade to Qt 5.10.0
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-12-16 15:51:12 +00:00
Daniel Mack
06d1c47396 qtwebengine: make test suite succeed
Make the qtwebengine test suite succeed when Qt was built without
accessibility features.

Upstream bug report: https://bugreports.qt.io/browse/QTBUG-64015

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-11-14 18:42:31 +00:00
Herman van Hazendonk
bbb3044569 meta-qt5: Update to 5.9.2 release
Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2017-10-17 11:12:17 +00:00
Martin Jansa
2684299620 qtwebengine: add patch for long paths
* imported from http://code.qt.io/cgit/yocto/meta-qt5.git/tree/recipes-qt/qt5/qtwebengine/0001-chromium-workaround-for-too-long-.rps-file-name.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-22 17:33:41 +02:00
Martin Jansa
b7ae79a054 qtwebengine: fix build with glibc-2.26
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-22 17:33:41 +02:00
Martin Jansa
9c7507ef15 qt: upgrade to latest revision in 5.9 branch
* 3 patches were included upstream

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-22 17:33:38 +02:00
Martin Jansa
2d14d9956f qt: refresh remaining patches and add links to meta-qt5 repos
* remove
  qtdeclarative/0001-Fix-QQmlExpression-leaking-QQmlError-objects.patch
  qtwayland/0002-Fix-initial-window-property-values-being-propagated.patch
  which is already applied and fuzzy patch just apply the same section
  twice

* restore
  qttools/0001-add-noqtwebkit-configuration.patch
  which was removed from SRC_URI in 5.9 upgrade

* add comment with link to meta-qt5 repository where the meta-qt5 .patch
  files are maintained, include branch and tag name so that it's more
  clear from where these changes are exported (with:
  git format-patch --no-numbered --no-signature)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-20 19:30:06 +02:00
Martin Jansa
a0b2220b5e qtwebengine: add a fix for building demobrowser without printing support
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-20 19:30:06 +02:00
Samuli Piippo
969f1f80bf Upgrade to Qt 5.9.0
* adapt QtWebEngine recipe to use GN instead of GYP
* add QtRemoteObjects and QtWebView as a new Qt modules
* update available QtBase configure arguments
* remove obsolete patches
* patch all .pc files to remove build paths
* include generated QML cache files in packages
* the patch "configure paths for target qmake properly" could not
  be applied anymore and support must be done differently

* QtWebEngine now requires gcc-multilib to be installed on the host
  system, because the host tools are built to the same bitness as
  the target (arm -> x86, aarch64 -> x86-64)

* refresh the patches to match with b5.9* branches on:
  https://github.com/meta-qt5/qtbase
  https://github.com/meta-qt5/qtwebengine
  and 56-based branch on
  https://github.com/meta-qt5/qtwebengine-chromium

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-20 19:30:05 +02:00
Martin Jansa
209e7e6dd8 qtwebengine: disable SECURITY_STRINGFORMAT to fix the build
* meta/conf/distro/include/security_flags.inc adds -Wformat and
  -Wformat-security, but openh264 adds -Wno-format after that causing
  build to fail

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-19 14:43:47 +02:00
Martin Jansa
246ec7b7d9 qtwebengine: refresh patches
* upload the patches to b5.8 branch on:
  https://github.com/meta-qt5/qtwebengine
  and 53-based on:
  https://github.com/meta-qt5/qtwebengine-chromium
* refresh the patches

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-17 20:42:43 +02:00
Khem Raj
d69be5de8c qtwebengine: Fix build on musl
import needed chromium patches from meta-browser

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:56:51 +02:00
Martin Jansa
c2768bd4e5 qtwebengine: fix build with gcc7
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-12 10:25:33 +02:00
Daniel Mack
428be3cc16 qtwebengine: add PACKAGECONFIG for webrtc
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 10:07:43 +02:00
Andreas Müller
c4e34aaab9 qtwebengine: show progress for do_compile
This was stolen from meta-oe / meson.bbclass - qtwebengine uses ninja for
build too.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 17:47:24 +01:00
Gordan Markuš
77a7558a66 qtwebengine: add commercial license
Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 17:46:01 +01:00
Andreas Müller
efa8aaf82e qmake5_base.bbclass: set qt.conf by environment variable again
Qt update to 5.8 caused fallout in meta-qt5-extra. It turned out that
qmake pulled in many pointers to native sysroot. Native sysroot is qmake's
default in case no configuration file qt.conf is set.
The problem with the new way of setting qt.conf by cmd parameter is that is has
to be set explicitly. For instance all the packages coming from [1] use
autotools for configuration. These ask qmake for paths during configuration
and build further Makefiles during compile. To patch these for additional cmd
parameter is nasty business.
Setting qt.conf when building all qtbase's causes errors during configuration.
To fix this we set the filename to a non existent file so that Qt's default is
used. This dirty hack was necessary because there was no way found to export
an empty variable OE_QMAKE_QTCONF_PATH.

This patch was tested by building huge parts of meta-qt5-extra. The meta-layers
did not yet contain oe-core's recipe-specific-sysroot changes so master build
might fail for missing dependencies.

[1] http://www.rncbc.org/drupal/

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-10 18:50:57 +01:00
Martin Jansa
aa6551d149 qtwebengine: disable generate_character_data
* qtwebengine 5.8 fails to build it, because it mixes binaries for x86_64 host and x86 target when building for qemux86 on 64bit host
  https://bugreports.qt.io/browse/QTBUG-57705

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-03 14:51:15 +01:00
Samuli Piippo
333949a823 Upgrade to Qt 5.8
The linux-oe-g++ mkspec is changed to use $$(...) operator to obtain
the contents of an environment value when qmake is run instead of when
Makefile is processed. All OE_QMAKE_xxx variables need to be exported
for qmake to find them. configure's setBootstrapVariable function needs
to change $$(..) to normal $(...) operator to work with qmake's Makefile.

qt.conf generation for qtbase recipes is not needed, as configure will
generate its own version based on configure arguments. Skip running
qmake, since configure is now automatically invoked when it's run in
qtbase's root folder.

Update PACKAGECONFIGs for qtbase to match current configure options.

The new Qt configuration system [1] can be used with a new variable
EXTRA_QMAKEVARS_CONFIGURE, which takes both command line and feature
arguments.

Merge the two qtwayland recipes to one that supports all three targets
(target, native, nativesdk) without need for additional patch.

Recipes for new Qt modules: QtSCXML, QtNetworkAuth, QtGamepad.
Removes qtdeclarative-render2d

[1] https://www.mail-archive.com/development@qt-project.org/msg25257.html

Change-Id: Ib37c4d7323e8b45aa2b171e8427b6ec15aaee213
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-26 16:18:39 +01:00
Janek Filus
4f74e02ff0 qtwebengine: use QT_GIT_PROTOCOL variable
Signed-off-by: Daniel Ottiger <daniel.ottiger@ch.schindler.com>
Signed-off-by: Janek Filus <janek.filus@bytesatwork.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-17 09:16:54 +01:00
Fabio Berton
047ebac230 qtwebengine: Add gperf-native to DEPENDS
Fix error:

FAILED: cd ../build/tmp/work/cortexa9hf-neon-mx6qdl-linux-gnueabi/qtwebengine/
5.6.99+5.7.0-beta+gitAUTOINC+dbf7dd2742_29c16917b3-r0/git/src/3rdparty/chromium/
third_party/WebKit/Source/platform; gperf "--key-positions=*" -D -s 2
ColorData.gperf "--output-file=../build/tmp/work/cortexa9hf-neon-mx6qdl-linux-
gnueabi/qtwebengine/5.6.99+5.7.0-beta+gitAUTOINC+dbf7dd2742_29c16917b3-r0/git/
src/core/Release/gen/blink/platform/ColorData.cpp"
 /bin/sh: gperf: command not found
 ninja: build stopped: subcommand failedP

Change-Id: Ic28d0ac72fcbce8054638a3168b5d6a34bc129b5
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-26 11:10:15 +02:00
Martin Jansa
1a42aa78af qt5: upgrade to latest revisions in 5.7 branch
* LIC_FILES_CHKSUM were changed because of this small change:
    commit 4343c4e731c3268614fc79c9c42b4e5e4d59d7e6
    Author: Sze Howe Koh <szehowe.koh@gmail.com>
    Date:   Tue Jun 14 19:12:35 2016 +0800

        Expand license scope from "Qt GUI Toolkit" to "Qt Toolkit"

* -no-nis option was removed from qtbase in:
    commit 644d0e75240811212ed9fd0c21e3bd05db3ba5db
    Author: Ralf Nolden <nolden@kde.org>
    Date:   Fri May 20 22:03:39 2016 +0200

        Cleanup NIS support leftover from Qt 3/4

* allow to disable eglfs independently from gles2, because eglfs-egldevice
  may be autodetected when libdrm was built before qtbase since this
  upstream commit:
    commit 5c6d27b8dfa695ab04766a1711b00421dba9c7d0
    Author: Ralf Nolden <nolden@kde.org>
    Date:   Tue May 17 12:38:44 2016 +0200

        Make eglfs-egldevice check work with pkgconfig as well

  and then it fails to build, because libdrm could be removed from sysroot
  and drm.h is missing.

* recipes-qt/qt5/qtquick1/0001-qdeclarativetextinput-update-to-match-QWidgetLineCon.patch
  was resolved in upstream commit:
    commit 26229cfa0b729313893af5674d604e8692dbb946
    Author: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
    Date:   Tue Apr 26 15:08:34 2016 +0200

        QDeclarativeTextInput: update API to use setBlinkingCursorEnabled

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-05 11:03:12 +02:00
Martin Jansa
bf2cafa909 qt5: upgrade to latest revisions in 5.7 branches
* these revisions are after v5.7.0-beta1 tags where available
* it's highly recommended to read:
  http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/
  to find out how you're affected check which files/tools are
  included in your builds, e.g. for qtwebengine:
  OE @ ~/projects/qt-project/qtwebengine $ git grep QT_BEGIN_LICENSE | sed 's/^[^:]*://g' | sort | uniq -c
     11 ## $QT_BEGIN_LICENSE:GPL-EXCEPT$
     67 ** $QT_BEGIN_LICENSE:BSD$
     17 ** $QT_BEGIN_LICENSE:FDL$
     61 ** $QT_BEGIN_LICENSE:GPL-EXCEPT$
    261 ** $QT_BEGIN_LICENSE:LGPL$
* change in chromium's LICENSE is only copyright year update

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-02 15:16:18 +02:00
Andreas Müller
802b395222 replace base_contains by bb.utils.contains
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-02 15:16:07 +02:00
Martin Jansa
754aaadc7f qt5: upgrade to latest revision in 5.6 branch
* qtsvg/0001-textobject.pro-use-DEPLOYMENT-only-for-wince-like-ot.patch
  and
  qtwebkit/0004-Fix-linking-with-libpthread.patch
  were resolved upstream
* all patches were refreshed with:
  git format-patch --no-numbered --no-signature -NUMBER
  to remove numbering from Subject (it's good enough in filename) and to
  remove git version from signature (so it doesn't look differently when
  generated on different hosts with different git version).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-21 21:36:18 +02:00
Andreas Müller
f636eb7444 qt5: set SRCREVs,PVs to 5.6.0
* qtquick1: LICENSE.LGPLv3: I checked git repository.
  To be honest: I have no idea what caused checksum change.
  JaMa: it was modified in this change:
  OE @ ~/projects/qt-project/qtquick1 $ git log --oneline 87f2415adf34da08e6cd58f5da6f6a7d0d9cf141..dcc5e5c01c28b227f0e5e5e4976a9d26e8a45295 -- LICENSE.LGPLv3
  cd50897 Add the GPLv3 license text
  diff --git a/LICENSE.LGPLv3 b/LICENSE.LGPLv3
  index 8fbb743..4d67bac 100644
  --- a/LICENSE.LGPLv3
  +++ b/LICENSE.LGPLv3
  @@ -5,6 +5,8 @@

    You may use, distribute and copy the Qt GUI Toolkit under the terms of
    GNU Lesser General Public License version 3, which is displayed below.
  + This license makes reference to the version 3 of the GNU General
  + Public License, which you can find in the LICENSE.GPLv3 file.

* in some cases this is actually older SRCREV than what was
  used before (because normally the recipes use latest revision
  in stable - e.g. 5.6 branches, not the actuall tags). I'll
  upgrade to latest 5.6 revisions in follow-up commit (together
  with refreshing the .patch files and github.com/meta-qt5/qt*
  repositories to apply cleanly)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-20 10:58:33 +02:00
Martin Jansa
9dc60fe10f recipes: use new PACKAGECONFIG_CONFARGS instead of EXTRA_OECONF
* this fixes builds for DISTROs which include no-static-libraries.inc
* this change depends on oe-core change:
  http://patchwork.openembedded.org/patch/116719/
  which was merged in this form:
  http://patchwork.openembedded.org/patch/120513/
  to Yocto 2.1, if you want to use latest meta-qt5 with older oe-core
  you need to append EXTRA_OECONF to PACKAGECONFIG_CONFARGS

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-20 10:49:26 +02:00
Jonathan Liu
d6fe20e608 qtwebengine: enable ARMv7VE support
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-07 13:09:55 +01:00
Martin Jansa
ad2e26f135 qtwebengine: Hide textrel QA warning until there is proper fix for it
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 14:45:14 +01:00
Martin Jansa
0d66bb0d51 qtwebengine: Fix QA warning
* drop section with list of static libraries in workdir
* feel free to fix it properly in Qt build, I need quick hack to unblock
  my bitbake world builds

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 14:45:14 +01:00
Martin Jansa
e434995a73 qt5: upgrade to latest revisions in 5.6 branch (5.6 RC)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-20 14:45:09 +01:00
Cleiton Bueno
d8b2426588 qtwebengine: Fix error jpeg_codec.cc, media_capture_devices_dispatcher.cpp and file API qquickwebengineview_p_p.h.
Fix build codec jpeg_codec.cc error: invalid conversion from 'int' to 'boolean' [-fpermissive],
media_capture_devices_dispatcher.cpp error: 'QCoreApplication' has not been declared fix include <QCoreApplication>
and file API qquickwebengineview_p_p.h field 'm_backgroundColor' has incomplete type 'QColor' add include <QColor>

Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:13:58 +01:00
Martin Jansa
c2a13c3ae3 qtwebengine: disable autodetection from sysroot
* couple dependencies were autodetected from sysroot, e.g.:
  WARNING: QA Issue: qtwebengine rdepends on libflac, but it isn't a build dependency? [build-deps]
* bundled nspr fails to build when system nss is used
  | work/i586-oe-linux/qtwebengine/5.5.99+5.6.0-alpha1+gitAUTOINC+64dc919d31_7e655fbb76-r0/git/src/3rdparty/chromium/third_party/nss/nspr/pr/include/md/_unixos.h:596:9: error: unknown type name 'off64_t'
  |  typedef off64_t _MDOff64_t;
  |          ^
* addin qtlocation to resolve:
  WARNING: Failure to find: git/src/core/Release/obj/src/core/QtWebEngineCore.location_provider_qt.o

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:25:56 +01:00
Martin Jansa
7855f970ff qtwebengine: add dependency on yasm-native and use it
* latest chromium is failing to build yasm, because it's mixing native
  (x86_64) with target (x86 qemux86) libraries during the build:
  FAILED: /OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/i586-oe-linux/i586-oe-linux-g++ -m32 -march=i586 --sysroot=/OE/build/oe-core/tmp-glibc/sysroots/qemux86 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -Wl,--disable-new-dtags -Wl,--gc-sections -o genstring -Wl,--start-group obj.host/src/3rdparty/chromium/third_party/yasm/source/patched-yasm/genstring.genstring.o -Wl,--end-group
  /OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/i586-oe-linux/gcc/i586-oe-linux/5.2.0/ld: i386:x86-64 architecture of input file `obj.host/src/3rdparty/chromium/third_party/yasm/source/patched-yasm/genstring.genstring.o' is incompatible with i386 output
  /OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/i586-oe-linux/gcc/i586-oe-linux/5.2.0/ld: obj.host/src/3rdparty/chromium/third_party/yasm/source/patched-yasm/genstring.genstring.o: file class ELFCLASS64 incompatible with ELFCLASS32
  /OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/i586-oe-linux/gcc/i586-oe-linux/5.2.0/ld: final link failed: File in wrong format
  collect2: error: ld returned 1 exit status
  ninja: build stopped: subcommand failed.
  Makefile.gyp_run:262: recipe for target 'invoke_ninja' failed
  make[3]: *** [invoke_ninja] Error 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:24:53 +01:00
Martin Jansa
768cd0229e qtwebengine: fix QMAKE_AR variable
* OE_QMAKE_AR is only the tool, qtbase and other modules add correct
  parameters to it in linux-oe-g++ platform:
  recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch:+QMAKE_AR = $(OE_QMAKE_AR) cqs
  but here it was missing "cqs" causing following error at the end of
  qtwebengine build:
  i586-oe-linux-ar Release/libqtwebenginecoreapi.a .obj/qwebenginecookiestoreclient.o .obj/qwebengineurlrequestinfo.o .obj/qwebengineurlrequestjob.o .obj/qwebengineurlschemehandler.o .obj/moc_qwebenginecookiestoreclient.o .obj/moc_qwebengineurlrequestinterceptor.o .obj/moc_qwebengineurlrequestjob.o .obj/moc_qwebengineurlschemehandler.o
  i586-oe-linux-ar: invalid option -- 'R'
  Usage: i586-oe-linux-ar [emulation options] [-]{dmpqrstx}[abcDfilMNoPsSTuvV] [--plugin <name>] [member-name] [count] archive-file file...
  ...

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:24:53 +01:00
Martin Jansa
c44294bb8b qtwebengine: add dependency on libxscrnsaver with x11 in DISTRO_FEATURES
* when qtbase is built with x11 support, xcb is enabled in QT_CONFIG
  and qtwebengine checks for libxscrnsaver.
  Unfortunately such check isn't fatal for do_configure task, it will
  only show something like this:
  libxscrnsaver wasn't found, qtwebengine won't be built
  in log.do_configure and continue to do_compile and do_install (which
  will also finish successfully, saying "Nothing to do").

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:24:53 +01:00
Martin Jansa
39110d2465 qtwebengine: bump SRCREV and re-add 0003-functions.prf-allow-build-for-linux-oe-g-platform.patch
* it's still needed, just somewhere else a bit

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:24:53 +01:00
Martin Jansa
178a817e6f qt5: upgrade to latest revision in 5.6 branch (5.6.0-alpha1+)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-11 13:24:53 +01:00