Commit Graph

1146 Commits

Author SHA1 Message Date
Daniel Gomez
b72557515e python3-pyqt5: Update to dev2008271829 snapshot
Old version no longer available:

ERROR: python3-pyqt5-5.15.1.dev2008081558-r0 do_fetch: Fetcher failure
for URL: 'https://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5-5.15.1.dev2008081558.tar.gz'.
Unable to fetch URL from any source.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
2020-09-11 15:42:35 +02:00
Martin Jansa
faa5163a26 qtwebengine: refresh the patches
* update to match
  https://github.com/meta-qt5/qtwebengine/commits/b5.15-glibc 5.15-glibc.meta-qt5.8
  https://github.com/meta-qt5/qtwebengine/commits/b5.15 5.15-glibc.meta-qt5.8
  https://github.com/meta-qt5/qtwebengine-chromium/commits/80-based-glibc 80-based-glibc.meta-qt5.4
  https://github.com/meta-qt5/qtwebengine-chromium/commits/80-based 80-based.meta-qt5.4

* 0002-icu-use-system-library-only-targets.patch is only for chromium, so it was
  updated and moved to right place in SRC_URI
* 0014-Fix-sandbox-Aw-snap-for-syscalls-403-and-407.patch prefix was moved
  to src/3rdparty not src/3rdparty/chromium so that it can apply with "git am"
  together with other chromium patches

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-09-08 09:52:34 +02:00
Andreas Müller
afcde85672 qtwebengine: Fix sandbox freeze for glibc >= 2.31 on 32 bit systems
* patch was taken from meta-browser. The only modification done was adding the
  error seen

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-09-08 09:47:02 +02:00
Andreas Müller
761949d22c qtwebengine: Fix patch fuzz
Fixes:
| ERROR: qtwebengine-5.15.0+gitAUTOINC+f526855509_7b2f027ea8-r0 do_patch: Fuzz detected:
|
| Applying patch 0005-icu-use-system-library-only-targets.patch
| patching file src/3rdparty/chromium/third_party/icu/BUILD.gn
| Hunk #3 succeeded at 1217 with fuzz 1 (offset 70 lines).
| Hunk #4 succeeded at 1430 (offset 74 lines).
| Hunk #5 succeeded at 1438 (offset 74 lines).
| Hunk #6 succeeded at 1450 (offset 74 lines).

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-08 09:25:56 +02:00
Andreas Müller
8c980e7037 qtwebengine: Fix build by setting correct import path
* Fixes:
| ERROR at //third_party/icu/BUILD.gn:10:1: Unable to load "<...>/qtwebengine/5.15.0+gitAUTOINC+f526855509_7b2f027ea8-r0/git/src/3rdparty/chromium/v8/snapshot_toolchain.gni".
| import("//v8/snapshot_toolchain.gni")
| ^-----------------------------------
| See //url/BUILD.gn:97:15: which caused the file to be included.
|     deps += [ "//third_party/icu" ]
|               ^------------------
| Project ERROR: GN run error!

* Discussion found at [1]
* Build tested with/without icu in PACKAGECONFIG

[1] https://github.com/meta-qt5/meta-qt5/pull/351

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-08 09:25:56 +02:00
Andreas Müller
04a6fa63cf qtwebkit: Add patch to fix build with bison 3.7
Fixes:
|... /build/DerivedSources/WebCore/XPathGrammar.cpp:120:10: fatal error: XPathGrammar.hpp: No such file or directory
|   120 | #include "XPathGrammar.hpp"
|       |          ^~~~~~~~~~~~~~~~~~
| ...
| .../build/DerivedSources/WebCore/CSSGrammar.cpp:160:10: fatal error: CSSGrammar.hpp: No such file or directory
|   160 | #include "CSSGrammar.hpp"
|       |          ^~~~~~~~~~~~~~~~

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-08 09:25:43 +02:00
Khem Raj
23f78f70d9 libconnman-qt5: Fix build errors found wih clang-11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-02 15:16:33 +02:00
Martin Jansa
5352180eda qtwebengine: fix build with bison-3.7
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-09-02 15:16:33 +02:00
Alistair Francis
c8d191d19d qt5: Link with -pthread for riscv64
Linking with -pthread fixes the missing atomic linker failures on riscv64.

Thsi fixes the following linker errors:
    qtestcase.h:359: more undefined references to `__atomic_fetch_xor_1' follow
    collect2: error: ld returned 1 exit status

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-09-02 15:16:33 +02:00
Andreas Müller
f565d6c90b qt5-creator: rrecommend qtwebengine dev related packages
Actually these belong to packagegroup-qt5-toolchain-target but:

* qtwebengine is a resource consuming build monster and not mandatory for
  everybody's qt-toolchain
* as far as I tested qtwebengine does not build for clang - so reduce impact
  for people using clang-toolchain

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-02 15:16:33 +02:00
Andreas Müller
43120725aa qt5-creator: Add cmake to RRECOMMENDS
Without cmake qt-creator is not of much use - most projects use cmake these
days and as far as I can remember qt will move to build with cmake.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-02 15:16:33 +02:00
Andreas Müller
063714fb78 qt5-creator: Make clang a PACKAGECONFIG - enabled for clang toolchain
Test case:
* meta-clang in layers
* gcc toolchain
* build qttools with PACKAGECONFIG[clang] enabled to get (native) help tools.

After setting clang PACKAGECONFIG at qttools, qt5-creator builds failed due to
linker errors: Linker tried to link against native clang tools. Avoid that in
the same way as clang-toolchain did but use PACKAGECONFIG.

* clang-toolchain builds remain unchanged
* a hint was dropped in the recipe to support users failing for same issue

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-02 15:16:33 +02:00
Andreas Müller
f30c4ba364 qttools: Force build of native help-tools when clang is set in PACKAGECONFIG
Am working on recipes for kdevelop and musescore. These require native help
tools - at least because cmake configs reference them.

* Have tried other - patch-less - ways to achieve this without success
* Tested multiple combinations with and without clang in PACKAGECONFIG * gcc/clang
  toolchain with expected result: For clang set, native tools are build for
  clang misssing tools are not build.
* Target build remained unchanged because it was buildung help tools with clang
  in PACKAGECONFIG
* Tried also to add the patch to nativesdk but help tools were not build.
  Stopped further investigation - that is not a use case for me - sorry

Note for clang-toolchain users (confused me a bit - now it's obvious): For
qttools-native clang has to be set explicitly in PACKAGECONFIG, otherwise
native help tools are not build (same as behaviour as before).

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-02 15:16:33 +02:00
Andreas Müller
3ed8205354 qttools: Remove unused variables/configurations
Grepped around in sources of qttools and qtbase: there is not a single hint
that these settings cause any effect.
For the clang_config.. variables [1] was found: Seems the variables set were
removed a while back.

[1] https://code.qt.io/cgit/qt/qttools.git/commit/?id=e181ec2c20ede6b878187f3123d190e8b952deb1

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-02 15:16:33 +02:00
Herman van Hazendonk
1a97beaa7c libqofonoext: Add recipe
In order to more easily use some oFono bits like (multi)-sim and network management in QML, let's add libqofonoext as well.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2020-08-26 16:43:05 +02:00
Khem Raj
4d3191999e qt5-creator: Update to 4.13.0 beta2
Fixed build with clang11 and musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26 14:31:29 +02:00
Khem Raj
8f1ec29004 qt5-creator: Refresh musl patch
Fixes
Applying patch 0001-Link-with-libexecinfo-on-musl.patch
patching file src/plugins/debugger/debugger.pro
Hunk #1 succeeded at 140 (offset 1 line).
patching file src/plugins/qmldesigner/qmldesignerplugin.pro
Hunk #1 succeeded at 4 with fuzz 2 (offset 1 line).

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26 14:31:29 +02:00
Khem Raj
8312c158b7 python3-pyqt5: Update to dev2008081558 snapshot
Old one is gone

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26 14:31:29 +02:00
Gianfranco Costamagna
5144a99a69 maliit-framework-qt5: fix postinst/postrm scripts
ERROR: do_rootfs: Postinstall scriptlets of ['maliit-framework-qt5'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
2020-07-20 16:57:58 +02:00
Herman van Hazendonk
8f6ee3a11a libqofono: Update to version 0.100 from upstream
Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2020-07-20 16:55:40 +02:00
Herman van Hazendonk
862ba32a70 libconnman-qt: Update to v1.2.34 from upstream and drop patch
Upstream finally supports multilib properly, so bumping our version and dropping the patch for this.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2020-07-20 16:55:40 +02:00
Philip Balister
3713bcfaa0 python3-pyqt5: Update to 5.15.1.dev2007111314
* Resolves missing source tarball for me.

Signed-off-by: Philip Balister <philip@opensdr.com>
2020-07-20 16:55:22 +02:00
Mingde (Matthew) Zeng
b61ea2c1a2 qtbase: remove path of the build host from qmake.conf
OE_QMAKE_CFLAGS and OE_QMAKE_CXXFLAGS contain path of the build
host, which is not useful for the target, and can be a potential
security risk.

It looks like the following in the target qmake.conf (actual build host path replaced with $PATH_OF_BUILD_HOST):

isEmpty(QMAKE_CFLAGS): QMAKE_CFLAGS =  -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=$PATH_OF_BUILD_HOST/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0=/usr/src/debug/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0                      -fdebug-prefix-map=$PATH_OF_BUILD_HOST/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0=/usr/src/debug/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0                      -fdebug-prefix-map=$PATH_OF_BUILD_HOST/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0/recipe-sysroot=                      -fdebug-prefix-map=$PATH_OF_BUILD_HOST/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0/recipe-sysroot-native=

-fmacro-prefix-map and -fdebug-prefix-map are therefore removed from
qmake.conf on the target, as these are default options only that can be
overridden any time.

Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-07-08 11:15:54 +02:00
Andrej Valek
c9553a5d2b icu: use system library only targets
- use bundled one for native/v8 internal builds

Complete system ICU library using requires ICU dev package be installed
on host. Enabling dependency on native package is not enough due to V8
hosttools toolchain. V8 toolchain is not using native sysroot, only
a host packages. On the other hand webenegine does not produce external
native artifacts. So external system ICU linking is not needed.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
2020-07-08 11:14:58 +02:00
Khem Raj
1650757f41 python3-pyqt5: Update to 5.15 version
5.13 release no longer works with QT 5.15+ since it uses some of removed
interfaces

Fixes
QtQuick/sipQtQuickQSGGeometry.cpp:940:103: error: use of deleted function 'QSGGeometry& QSGGeometry::operator=(const QSGGeometry&)'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-07-07 19:59:46 +02:00
Mikko Gronoff
e8a4477279 ogl-runtime: update to v2.7.0
Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-07-07 12:05:09 +02:00
Mingde (Matthew) Zeng
098b9aca23 qt5-creator_git: add x11 and opengl to REQUIRED_DISTRO_FEATURES
Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
2020-07-07 12:04:32 +02:00
Hongxu Jia
fbbd24d91b qtwayland: conditional to support PACKAGECONFIG wayland-egl
If opengl not in DISTRO_FEATURES, there will be no virtual/egl provider

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-07-07 12:04:32 +02:00
Tom Hochstein
62bb2ca66b qtbase: Add vulkan to PACKAGECONFIGs
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-05-28 22:53:41 +02:00
Martin Jansa
b434031733 qt5: upgrade to 5.15.0
* https://www.qt.io/blog/qt-5.15-released
* continue to use latest revision in 5.15 (and 80-based) branch for
  qtwebengine, because we were already using newer than v5.15.0 revision
  and some of those fixes are needed for master (e.g. for build with gcc-10)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-05-27 15:54:32 +02:00
Otavio Salvador
cfcd40e3d0 qtbase: Restrict 'tests' build to distros with 'ptest' support
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-11 17:36:01 +02:00
Mingde (Matthew) Zeng
0d4af49fe1 qt5-ptest: give rwx permission to user for all the test files
Otherwise, ptest will fail with numerous Permission Denied errors

Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
2020-05-11 17:35:20 +02:00
Martin Jansa
d2ff90b286 qtquicktimeline: upgrade to 5.15 rc1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-05-11 17:03:46 +02:00
Mikko Gronoff
790bc1957c qtquicktimeline: add recipe
Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-05-11 17:03:46 +02:00
Martin Jansa
07a54bf2a9 qt5: upgrade to 5.15 rc1
* use latest revisions in 5.15 branches

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-05-11 17:03:44 +02:00
Khem Raj
288cdf6053 qtwebengine: Fix build with musl
msghdr is not same between musl and glibc so do not assume that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-11 16:00:21 +02:00
Khem Raj
ac9951b218 qtquick3d: Add module prefix for enabling assimp
Lately qtquick 3D changed this option to avoid some conflicts see [1]

Fixes #314

[1] b14b14e919

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-11 16:00:21 +02:00
Martin Jansa
d6b6838e55 qt5: upgrade to 5.15 beta4
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-21 18:31:19 +02:00
Khem Raj
05b3e648ec qtwebkit: Switch to 5.212 branch
Drop py3 support patch as its no longer needed on this branch
This is more uptodate branch and has needed fixes to work with Qt 5.15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-21 16:49:36 +02:00
Khem Raj
abed512f82 qt5-creator: Upgrade to 4.12 branch
This fixes build with
- qt 5.15 QPainterPath changes
- Clang-10

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-21 16:49:36 +02:00
Martin Jansa
32c62abeb3 qwt-qt5: fix build with Qt 5.15
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-14 13:51:28 +02:00
Khem Raj
44fc90eeca gstreamer1.0-plugins-good: Reemove inserting qt5 from packageconfig
layers are usually supposed to be inert, but this option automatically
inserts itself without any changes due to this bbappend. Its best to
leeave this option to end user to enable, defaults are to disable it and
let it be as it is.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-13 13:45:39 +02:00
Martin Jansa
02930760c8 qtmultimedia: create /usr/lib/plugins/videoeglvideonode referenced by Qt5MultimediaConfig.cmake
* using Qt5MultimediaConfig.cmake fails with error bellow, temorary fix that by
  creating empty directory

CMake Error at /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:31 (message):
  The imported target "Qt5::Multimedia" references the file

     "/OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/plugins/videoeglvideonode"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5Multimedia_QSGVideoNodeFactory_EGL.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:244 (_qt5_Multimedia_check_file_exists)
  /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5Multimedia_QSGVideoNodeFactory_EGL.cmake:5 (_populate_Multimedia_plugin_properties)
  /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:253 (include)
  CMakeLists.txt:43 (find_package)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-07 19:32:08 +02:00
Martin Jansa
b8bcf8cb57 qt5: upgrade to 5.15 beta3
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-06 20:38:49 +02:00
Martin Jansa
eac416fea1 qtdeclarative: bump SRCREV
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-06 16:52:46 +02:00
Martin Jansa
6558d2b51c nativesdk-qtbase: fix unpackaged files
* fixes:
ERROR: nativesdk-qtbase-5.14.99+5.15-beta2+gitAUTOINC+f515ca5dcd-r0 do_package: QA Issue: nativesdk-qtbase: Files/directories were installed but not shipped in any package:
  /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/metatypes
  /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/metatypes/qt5core_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.
nativesdk-qtbase: 2 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-03 20:14:36 +02:00
Martin Jansa
6b2323f39b qtwebengine: update patches for beta2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-03 14:27:39 +02:00
Martin Jansa
20ae10f00f qt5: upgrade to 5.15 beta2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-03 14:20:48 +02:00
Martin Jansa
a01de873e2 qtwebengine: fix QT_MODULE_BRANCH_CHROMIUM
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-02 21:00:44 +02:00
Khem Raj
b88c292af8 qtquick3d: Fix branch for fetching assimp submodule
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-30 16:23:34 +02:00