Commit Graph

1090 Commits

Author SHA1 Message Date
Martin Jansa
76125ba8c6 qt5.inc: package metatypes files
* enabled since qtbase commit:
  commit c5e9d7e504172707f7705d03ae27006c45eb5eac
  Author: Ulf Hermann <ulf.hermann@qt.io>
  Date:   Wed Aug 28 16:09:25 2019 +0200

    Generate metatypes.json for QtCore, QtGui, and QtWidgets

    These libraries contain types which are exposed to QML from
    qtdeclarative.

    Change-Id: Ie0edaef94fcb40074b6f6b2ea1a1c3a77ed3e9a9
    Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>

* fixes:
  ERROR: qtbase-5.14.99+gitAUTOINC+2e7a28958d-r0 do_package: QA Issue: qtbase: Files/directories were installed but not shipped in any package:
  /usr/lib/metatypes
  /usr/lib/metatypes/qt5gui_metatypes.json
  /usr/lib/metatypes/qt5core_metatypes.json
  /usr/lib/metatypes/qt5widgets_metatypes.json
  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
  qtbase: 4 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 18:03:49 +01:00
Martin Jansa
f337995172 qtbase: drop xkb, xcb-xinput PACKAGECONFIGs
* removed from qtbase in:
  commit 60588e1a5dd9b10803e078c741271cbe5713a51b
  Author: Gatis Paeglis <gatis.paeglis@qt.io>
  Date:   Tue Feb 19 10:09:19 2019 +0100

    3rdparty: remove xcb libs and bump minimal required version to 1.11

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 18:03:49 +01:00
Martin Jansa
444053735f qt5: upgrade to latest revisions in 5.15 branch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 18:03:49 +01:00
Martin Jansa
5e18973196 layer: Mark dunfell as the only compatible release
* there are couple things people need to provide to even parse
  meta-qt5 dunfell branch with older than dunfell release of oe-core
  so I don't want to mark it as compatible, people who understand how
  to provide these missing bits will know how to override
  LAYERSERIES_COMPAT_qt5-layer from their own layer (which needs to
  be parsed before meta-qt5 layer - I suggest to use something like
  separate meta-qt5-compat layer)

  the required work arounds (these are the examples to build dunfell
  branch from zeus:

  1) mime-xdg.bbclass, e.g.:
  e57440cb97
  2) gstreamer1.0-plugins-good PACKAGECONFIG:
  75fd06799b
  3) meta-python2:
  57f3f6f20b
  4) features_check.bbclass:
  fb3e94ba4a

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-03-18 17:59:22 +01:00
Andreas Müller
3e759d8277 qtwebengine: Fix build with ninja >= 1.10.0
* For now just skip version check. Looked into: ninja came from meta-oe to
  oe-core with:
  commit fc3aef67a95a90e9a485c6b0e93db8cdeab5d3ab
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Thu Jul 27 21:52:12 2017 -0700

      ninja: Add recipe

      llvm is using it, therefore move it from meta-oe

      Signed-off-by: Khem Raj <raj.khem@gmail.com>

  That was in rocko release cycle. So the assumption we have a ninja decent
  enough should be acceptable.

* and since the upgrade to ninja-1.10.0 in:
  commit d1cd957cea29f3ab111ae752bc9ad75a1324c255
  Author: Upgrade Helper <auh@auh.yoctoproject.org>
  Date:   Fri Feb 21 14:45:35 2020 -0800

    ninja: upgrade 1.9.0 -> 1.10.0

    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

  the do_configure task fails with:
  | ERROR: Feature 'webengine-system-ninja' was enabled, but the pre-condition 'tests.webengine-ninja' failed.

* Looked into qtwebengine current dev branch: There is no solution yet. So as
  soon as upstream offers a better solution most likely this patch will not
  apply any more and has to be removed then.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-03-13 12:07:25 +01:00
Artem Panfilov
f712bf9f88 python-pyqt5: remove PyQt_qreal_double from DISABLED_FEATURES
Since Qt 5.2.0 the qreal is double (see change d8bf317546bc in qtbase.git).

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
2020-03-13 08:20:38 +01:00
Artem Panfilov
79b0f3a605 python-pyqtchart: remove PyQt_qreal_double from DISABLED_FEATURES
Since Qt 5.2.0 the qreal is double (see change d8bf317546bc in qtbase.git).

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
2020-03-13 08:19:55 +01:00
Khem Raj
34ae49f890 qtmultimedia: Enable gstreamer support
This helps qt5everywheredemo to play sample videos

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-13 08:14:01 +01:00
Khem Raj
108b566417 gstreamer1.0-plugins-good: Turn on qt5 packageconfig
qt5 is already defined in oe-core, therefore no need to define it here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-13 08:14:01 +01:00
Khem Raj
4b6ce100f7 qt5-creator: Inherit mime-xdg
Fixes QA warning
ERROR: QA Issue: package contains desktop file with key 'MimeType' but does not inhert mime-xdg: qt5-creator path '/work/cortexa7t2hf-neon-vfpv4-yoe-linux-musleabi/qt5-creator/4.9.2+gitAUTOINC+8181363fa9-r0/packages-split/qt5-creator/usr/share/applications/org.qt-project.qtcreator.desktop' [mime-xdg]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-13 08:14:01 +01:00
Martin Jansa
89de99e7e2 python-{pyqt5,pyqtchart}: fold .inc file into .bb
* drop 2nd DEPENDS assignment from python-pyqtchart.inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-19 20:19:38 +01:00
Martin Jansa
5d79044938 python-pyqt5: drop python 2 recipe
* sip-native was already removed from meta-oe and wasn't resurected in meta-python2
  so even with meta-python2 layer included this recipe cannot be built:

  ERROR: Nothing PROVIDES 'sip' (but /OE/build/oe-core/meta-qt5/recipes-python/pyqt5/python-pyqt5_5.13.2.bb DEPENDS on or otherwise requires it). Close matches:
    sip3
  ERROR: Required build target 'python-pyqt5' has no buildable providers.
  Missing or unbuildable dependency chain was: ['python-pyqt5', 'sip']

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-19 20:15:30 +01:00
Martin Jansa
b2a958a4cd python-pyqt5: disable whole PyQt_OpenGL and QtWidgets, QtQuickWidgets, QtQuick modules without opengl in DISTRO_FEATURES
* fixes:
  sip: QOpenGLFramebufferObject is undefined
  in default nodistro setup without opengl in DISTRO_FEATURES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-19 19:59:08 +01:00
Khem Raj
abb423512d qtwebview: Skip if meta-python is not present
It needs qtwebengine which needs python2 so skip it when python2 is not
present

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-19 11:16:30 +01:00
Adrian Fiergolski
caf09cd53c Add PyQtChart.
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
2020-02-06 14:01:49 +01:00
Nicola Lunghi
f18d5948bb qtbase: fix build with platform where FE macro are not defined
see added patch

Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
2020-02-06 14:00:41 +01:00
Andreas Müller
c8cd55b030 qtwebkit: build with python3
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-02-06 13:59:16 +01:00
Khem Raj
0bbd0ebe27 qtwebengine: Link libatomic on x86/32bit
Fixes CAS link errors

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-03 13:40:15 +01:00
Martin Jansa
239147405e Revert "qtwebkit: remove"
This reverts commit a35403dcf6.

But keep the dependency from packagegroup-qt5-toolchain-target, qt5-creator
removed as most people won't really need this. Andreas and meta-qt5-extra
still need qtwebkit as reported here:
https://github.com/meta-qt5/meta-qt5/pull/273#issuecomment-578536852

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-03 13:38:06 +01:00
Martin Jansa
8cadcbcb52 qt5: upgrade to 5.14.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-27 14:36:20 +01:00
Martin Jansa
f13a3cec17 packagegroup-qt5-toolchain-target: Use TUNE_PKGARCH instead of MACHINE_ARCH
* it was changed to MACHINE_ARCH in:
  commit 0d88f4488f (marc-cpdesign/master-next, marc-cpdesign/jansa/master)
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Thu Dec 5 11:31:27 2019 -0800

    packagegroup-qt5-toolchain-target: Make machine specific

    We want to deploy arch specific overrides

    Signed-off-by: Khem Raj <raj.khem@gmail.com>

* but TUNE_PKGARCH qt5-creator has packagegroup-qt5-toolchain-target in
  RRECOMMENDS_${PN} causing:

   === Comparing signatures for task do_package_write_ipk.sigdata between tissot and mido ===
  ERROR: qt5-creator different signature for task do_package_write_ipk.sigdata between tissot and mido
  NOTE: Starting bitbake server...
  Hash for dependent task packagegroups/packagegroup-qt5-toolchain-target.bb:do_packagedata changed from f8a21ed2c484abfbadae768ec9a2e04883e80fe7ac32f7eaf442f12b4cd1b65b to bd700f438812693132a93e88c2518c81818d89856d8793b8eae479dc7a180b68
  Unable to find matching sigdata for /home/jenkins/workspace/luneos-testing/webos-ports/meta-qt5/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb:do_packagedata with hashes f8a21ed2c484abfbadae768ec9a2e04883e80fe7ac32f7eaf442f12b4cd1b65b or bd700f438812693132a93e88c2518c81818d89856d8793b8eae479dc7a180b68

  ERROR: 1 errors found in /home/jenkins/workspace/luneos-testing/webos-ports/tmp-glibc/sstate-diff/1579172712/signatures.mido.do_package_write_ipk.sigdata.log

* use TUNE_PKGARCH to match qt5-creator while still allowing arch
  specific overrides

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 12:27:15 +01:00
Martin Jansa
a35403dcf6 qtwebkit: remove
* it wasn't updated for very long time and I assume that all users already migrated to qtwebengine
  if not let me know that you'll start maintaining this recipe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 11:57:45 +01:00
Martin Jansa
a797f85c6f python-pyqt5, qtwebengine, qtwebkit, qt-kiosk-browser: skip without meta-python2
Neither of these actually builds with python3, skip them when
meta-python2 isn't included until real fix is available.

qtwebkit might not get the support for python3 at all

qtwebengine I have some changes for the initial build, but there
are many more needed as shown in upstream chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=942720
https://bugs.chromium.org/p/chromium/issues/list?q=label%3AProj-Python3Migration&can=2

python-pyqt5 is already blacklisted because of sip

qtwebengine with python3 shows in log.do_configure that it won't actually
build qtwebengine, but it doesn't fail. do_compile fails but with a bit
misleading error:

ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: oe_runmake failed
ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: Execution of '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/run.do_compile.16479' failed with exit code 1:
cd src/ && ( test -e Makefile || /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/git/src/src.pro CONFIG+=force_debug_info QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests 'QMAKE_CXX=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CC=x86_64-webos-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_LINK=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native= ' 'QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden' -after ) && make -f Makefile
make[1]: Entering directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
/bin/sh: 1: Syntax error: "(" unexpected
Makefile:295: recipe for target 'errorbuild' failed
make[1]: *** [errorbuild] Error 2
make[1]: Leaving directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
Makefile:48: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 11:57:37 +01:00
Martin Jansa
b1f4f1fdd0 Revert "recipes: Use python3 during build"
This reverts commit 47fb26dedd.

Neither of these actually builds with python3, it's good fix to
start parsing the layer again, but better to just skip them when
meta-python2 isn't available until real fix is available.

qtwebkit might not get the support for python3 at all

qtwebengine I have some changes for the initial build, but there
are many more needed as shown in upstream chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=942720
https://bugs.chromium.org/p/chromium/issues/list?q=label%3AProj-Python3Migration&can=2

python-pyqt5 is already blacklisted because of sip

qtwebengine with python3 shows in log.do_configure that it won't actually
build qtwebengine, but it doesn't fail. do_compile fails but with a bit
misleading error:

ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: oe_runmake failed
ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: Execution of '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/run.do_compile.16479' failed with exit code 1:
cd src/ && ( test -e Makefile || /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/git/src/src.pro CONFIG+=force_debug_info QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests 'QMAKE_CXX=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CC=x86_64-webos-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_LINK=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native= ' 'QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden' -after ) && make -f Makefile
make[1]: Entering directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
/bin/sh: 1: Syntax error: "(" unexpected
Makefile:295: recipe for target 'errorbuild' failed
make[1]: *** [errorbuild] Error 2
make[1]: Leaving directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
Makefile:48: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 11:56:35 +01:00
Khem Raj
47fb26dedd recipes: Use python3 during build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-20 10:42:50 +01:00
Khem Raj
4060f68d52 qt-kiosk-browser: Only support arm/x86
Since it depends on qtwebengine and qtwebengine only supports these
arches

Fixes
executing config test webengine-arch-support
Architecture not supported.
test config.qtwebengine_buildtools.tests.webengine-arch-support FAILED

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-17 01:30:32 +01:00
Khem Raj
fd376e159d qtwebengine: Fix missing headers found in build with clang
Fixes
chromium/third_party/perfetto/include/perfetto/base/task_runner.h:48:55: error: unknown type name 'uint32_t'
|   virtual void PostDelayedTask(std::function<void()>, uint32_t delay_ms) = 0;

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-17 00:20:58 +01:00
Khem Raj
7f324f11bb gstreamer1.0-plugins-good: Adjust bbappend for meson migration in core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-17 00:20:58 +01:00
Samuli Piippo
1365691f40 qttools: remove ptest installation
Remove last bit of ptest functionality from qttools as no
tests are build anymore.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-17 00:20:54 +01:00
Otavio Salvador
254576f9b4 qt-kiosk-browser: Add recipe
The Qt Kiosk Browser provides a simple browser which offers a nice set
of features for use on a Kiosk device. It supports:

- Out of box screen saver
- Virtual Keyboard
- Highly configurable

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-13 23:27:14 +01:00
Marc Reilly
47399df989 nativesdk-packagegroup: fix cmake builds using sdk
The cmake toolchain init files are packaged into nativesdk-qtbase-dev.

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
2020-01-13 13:58:53 +01:00
Alexandru Croitor
1b8e557011 qtbase: Use pcre packages by default
This forces using the yocto provided package instead
of the one in qtbase/src/3rdparty.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-11 14:59:12 +01:00
Samuli Piippo
fd7ac08991 qt5: use PACKAGECONFIG to disable tests and examples
Currently if qtbase has tests or examples enabled, they will
be enabled for every Qt module as well. Change the PACKAGECONFIG
options so that they need to be explicitly enabled for each Qt module.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
1a7c8fa42c qtlocation: use geoclue 2
QtLocation now has plugin for geoclue 2, remove old comment
and change geoclue to be runtime dependency.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
ddbf8dd005 qtbase: use offscreen platform plugin for tools
Use offscreen platform plugin when running tools in native and
nativesdk. It provides font support without additional settings.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
4f701ea135 qtbase: add openssl PACKAGECONFIG for native nativesdk
Add PACKAGECONFIG option to enable openssl for qtbase-native
and nativesdk-qtbase recipes, since some build tools require
openssl to be enabled.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
56b2c13d17 qtbase-native: disable vulkan support
Vulkan may get enabled if the host has vulkan headers available,
which will cause a build break.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
6b34fd17c2 maliit-framework-qt5: fix test installations
The install rules have been broken, but so far qmake has been
ignoring the errors.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
aa50163cbe qtenginio: remove obsolete module
QtEnginio hasn't been supported in a long while.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
32edd746fd ogl-runtime: update to v2.5.0 release
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Mikko Gronoff
f7dcc706cb qtquick3d: add recipe
Additionally include *.mesh to fix
  QA Issue: qtquick3d: Files/directories were installed but not shipped in any package:
  /usr/lib/qml/QtQuick3D/Helpers/meshes
  /usr/lib/qml/QtQuick3D/Helpers/meshes/axisGrid.mesh

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Martin Jansa
b814111ed2 qtwebengine: refresh the patches and upload them to meta-qt5 forks on github for maintenance
* fixes 0004-mkspecs-Allow-builds-with-libc-glibc.patch which didn't apply at all,
  because the modified mkspecs/features/configure.prf was dropped completely in:
  commit 047d61f188aae3fe3ebc689900b8a5c9fb6e901d
  Author: Michal Klocek michal.klocek@qt.io
  Date: Fri Aug 9 17:40:29 2019 +0200

  Add webengine-core feature

  The same chunk can be found in src/buildtools/config/support.pri, so I've updated
  the .patch accordingly, but haven't tried the build with musl yet.

* fixes 0023-chromium-Move-CharAllocator-definition-to-a-header-f.patch to apply
  ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_patch: Command Error: 'quilt --quiltrc /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
  Applying patch 0023-chromium-Move-CharAllocator-definition-to-a-header-f.patch
  patching file chromium/cc/base/list_container_helper.cc
  Hunk #1 FAILED at 13.
  1 out of 1 hunk FAILED -- rejects in file chromium/cc/base/list_container_helper.cc
  patching file chromium/cc/base/list_container_helper.h
  Hunk #1 FAILED at 8.
  Hunk #2 succeeded at 174 with fuzz 1.
  1 out of 2 hunks FAILED -- rejects in file chromium/cc/base/list_container_helper.h
  Patch 0023-chromium-Move-CharAllocator-definition-to-a-header-f.patch does not apply (enforce with -f)
  ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/log.do_patch.21067
  NOTE: recipe qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0: task do_patch: Failed
  ERROR: Task (/OE/build/oe-core/meta-qt5/recipes-qt/qt5/qtwebengine_git.bb:do_patch) failed with exit code '1'

* build is still going (it will be a while on my slow builder)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-11 14:59:12 +01:00
Martin Jansa
1fde17e1a5 qtbase: refresh the patches and upload them to meta-qt5 forks on github for maintenance
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-11 14:59:12 +01:00
Samuli Piippo
ca649e3f6f qt5: Update to Qt 5.14.0
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:03:48 +01:00
Martin Jansa
ede15adc71 qtbase: Fix patch fuzz detected with devtool
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-11 14:02:15 +01:00
Khem Raj
e8221c2c9a qtbase: Backport the patch from upstream gerrit
This should address
f6ad80f95a (commitcomment-36707349)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-10 12:28:51 +01:00
Khem Raj
ca2f53f91a qt5-creator: Update musl patch to link qmldesigner with -lexecinfo
Fixes link failures like below

src/plugins/qmldesigner/designercore/exceptions/exception.cpp:116: undefined reference to `backtrace'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-10 12:28:51 +01:00
Khem Raj
6e7cc682c2 qtwebengine: Move CharAllocator definition to header
This helps in getting full class definition, in other sources which are
operating on sizeof operator, clang10 finds it insufficient information
and errors out reporting that sizeof can not be applied on a forward
declared class. This patch fixes that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-07 11:19:28 +01:00
Khem Raj
33a86256ec qt5-creator: Add missing dep on libz.so
clang finds it since it has libz.so/native and accidentally decides to
use that, but since its a cross build it fails to link.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-07 11:19:28 +01:00
Khem Raj
3d47a5698b qt5-creator: Make clang-format patch work with multiple clang versions
FormatStyle APIs keeps changing with clang versions. So there is no
better way than checking for clang version to decide types, this ensures
that it can build with various clang revs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-07 11:19:25 +01:00