Commit Graph

1069 Commits

Author SHA1 Message Date
Martin Jansa
e0d392f2f1 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-23 19:45:47 +01:00
Martin Jansa
6e60bd51f1 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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-23 19:44:50 +01:00
Martin Jansa
bcd8564f5c 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
2020-01-23 19:44:43 +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
Khem Raj
d8f0db7f8d qtwebengine: Include cstddef for size_t definition
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-25 16:12:05 -08:00
Khem Raj
b6bd407eea qmllive: Fix build with multilib settings
Fixes
ERROR: qmllive-5.12+gitAUTOINC+0c7bf141b0-r0 do_package: QA Issue: qmllive: Files/directories were installed but not shipped in any p
ackage:
  /usr/lib/libqmllive.so.1.0
  /usr/lib/libqmllive.so
  /usr/lib/libqmllive.so.1.0.0
  /usr/lib/libqmllive.so.1
  /usr/lib/pkgconfig
  /usr/lib/pkgconfig/qmllive.pc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-19 13:49:05 -08:00
Khem Raj
69e1fd33c1 quazip: Fix multilib builds
Fixes following errors when baselin != lib

ERROR: quazip-0.7.3-r0 do_package: QA Issue: quazip: Files/directories were installed but not shipped in any package:
  /usr/lib/libquazip.so
  /usr/lib/libquazip.so.1
  /usr/lib/libquazip.so.1.0
  /usr/lib/libquazip.so.1.0.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-19 13:25:54 -08:00
Khem Raj
a4db065bed qtwebkit: Fix linking errors on clang/mips/ppc
Disable JIT on mips32/ppc as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-18 16:52:52 -08:00
Khem Raj
f756a06533 ogl-runtime: Only compile for supported architectures
EASTL does not yet support all architectures that oe does
so this is better to limit it to supported ones

https://code.qt.io/cgit/qt3dstudio/qt3dstudio-eastl.git/tree/UnknownVersion/include/EABase/config/eaplatform.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-18 16:52:45 -08:00
Khem Raj
710d995b54 qttools: Add option to disable qdoc
qdoc needs clang on build host, therefore add an option so it can
disabled when clang is not part of build system, it can also peek into
build host and if there is a version of clang installed it will
configure for it but then conflict with gcc during compilation

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-14 19:35:57 -08:00
Khem Raj
a02e01ca68 qttools: Use CONFIG+=disable_external_rpath
Avoids using tools to remove rpaths later on

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-14 17:03:32 -08:00
Khem Raj
0d88f4488f packagegroup-qt5-toolchain-target: Make machine specific
We want to deploy arch specific overrides

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-09 12:11:33 +01:00
Khem Raj
2a2055fab9 recipes: Disable clang dependent recipes for riscv64/32
Since clang is not buildable for RISC-V, as yet, these should be
disabled as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-09 12:11:33 +01:00
Khem Raj
25039161c1 qtwebengine: Fix build with 64bit time_t on 32bit architectures
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-02 15:14:31 +01:00
Christopher Larson
4f3ed3ed49 qtwebkit: add missing flex-native dep
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-11-28 04:55:13 +01:00
Khem Raj
456ec4ac95 qt5-creator, qtbase: Replace python with python3
Ensure py3 is used during build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-28 04:55:09 +01:00
Khem Raj
f264e5dd1b qtdeclarative: Ask for python3 explicitly
Python2 is going out in Jan 2020

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-27 10:45:51 +01:00
Khem Raj
f6ad80f95a qtbase: Fix build on 32bit arches with 64bit time_t
time element is deprecated on new input_event structure in kernel's
input.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-27 10:45:51 +01:00
Khem Raj
b7f4bd209c recipes: Use features_check instead of distro_features_check
distro_features_check is now deprecated

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-27 10:45:51 +01:00
Khem Raj
1a4ee018f4 qtwebengine: Fix musl build
Currently, musl build fails to generate .pc ( packageconfig ) files
because qmake has logic to detect glibc, which obviously will be failing
for musl, and as a result it does not generate all needed files which
then fails during do_install like below

| sed: can't read /mnt/b/yoe/build/tmp/work/core2-32-yoe-linux-musl/qtwebengine/5.13.2+gitAUTOINC+556576b55f_843d70ac87-r0/image/usr/lib/pkgconfig/Qt5WebEngineCore.pc: No such file or directory

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-20 13:51:18 +01:00
Khem Raj
02715fff5e pyqt5: Upgrade to 5.13.2
Blacklist py2 version, it does not build and py2 is on its way out in
Jan 2020 anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-20 13:51:18 +01:00
Martin Jansa
432ad2aa6c qttools: don't install tst_qtattributionsscanner
* no longer enabled in cross builds since upstream commit:
  commit de220c1a8459b0d5a4080e0d637e1a5e5a920394
  Author: Kai Koehne <kai.koehne@qt.io>
  Date:   Thu Jun 20 12:18:35 2019 +0200

    Disable tests not working for Android and WinRT

    Fixes: QTBUG-73626
    Fixes: QTBUG-73627
    Fixes: QTBUG-73628
    Fixes: QTBUG-73629
    Fixes: QTBUG-73630

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-11-01 10:58:21 +00:00
Martin Jansa
81156172a8 qt5: Upgrade to Qt 5.13.2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-10-31 15:26:55 +00:00
Francesco Mocci
267e646125 python(3)-pyqt5: add qml support
* drop unnecessary PYQT_MODULES override with the same value

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-10-31 15:26:31 +00:00
Christophe Chapuis
653e12fdb5 libqofono: bump SRCREV and add a fix for voicecall
This fix is currently in discussion upstream for merge:
https://git.merproject.org/mer-core/libqofono/merge_requests/16

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
2019-10-30 14:33:18 +00:00