Commit Graph

664 Commits

Author SHA1 Message Date
Adam Duskett
814bfc5ec1 package/ti-sgx-{km, um}: bump to SDK 06.01.00.08 versions
Currently, the ti-sgx packages and the beaglebone_qt5_defconfig do
not work with KMS nor Weston. What's worse, is the latest SDK version
06.03.00.106 (as of this commit) of these packages is broken and does
not correctly support KMS, and attempting to run KMS applications
results in eglfs initialization failures. As such, bumping these
packages to the version before 06.03.00.106 is the best option.

Because of the above problems, several packages must change at the
same time to ensure this patch does not break any other packages:

  - ti-sgx-libgbm
    - dropped, merged into ti-sgx-um, see below

  - ti-sgx-um:
    - bump the version that matches TI SDK 06.01.00.08.
    - demove select BR2_PACKAGE_TI_SGX_LIBGBM in Config.in, as the libgbm
      package merges ti-sgx-libgbm with this package.

  - ti-sgx-km:
    - bump the version that matches TI SDK 06.01.00.08.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Tested-by: Markus <zehnder@live.com>
[yann.morin.1998@free.fr:
  - actually switch qt5base to use ti-sgx-um
  - split the beaglebone config changes to their own patch
  - split the ti-sgx-demos changes to their own patch
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 14:51:48 +01:00
Yann E. MORIN
cf7f3112f6 package/qt5base: fix build with TI SGX GL stack
qt5base FTBFS with TI SGX GL stack because it defines a type that is
incompatible with that expected by Qt.

Fix that by adapting a mix of upstream bug reports, upstream tentative
patch, and various comments on various Qt forums, none of which were
satisfying for various reasons explained in each resource:

  - https://bugreports.qt.io/browse/QTBUG-72567
  - https://codereview.qt-project.org/c/qt/qtbase/+/248270
  - https://forum.qt.io/topic/88588/qtbase-compilation-error-with-device-linux-rasp-pi3-g-qeglfskmsgbmwindow-cpp/8
  - https://forum.qt.io/topic/91596/raspberry-pi-3-compiling-qt-5-11-0-problem/6
  - https://patchwork.ozlabs.org/project/buildroot/patch/20200702201125.3639873-1-aduskett@gmail.com/#2579598

... which, mixed together with my little understanding of Qt, GL, and
C++, gave a relatively simple patch that overcomes the build failure on
TI's SGX, while at the same time keeping buildability and functionality
on other platforms.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Markus <zehnder@live.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 14:51:47 +01:00
Peter Seiderer
4e8b5f9bee package/qt5/qt5mqtt: bump version to 5.15.2 (and fix download)
- bump version to 5.15.2
- change download url to original site

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 14:49:13 +01:00
Peter Seiderer
6cfbd51d98 package/qt5/qt5coap: bump version to 5.15.2 (and fix download)
- bump version to 5.15.2
- change download url to original site

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 14:49:11 +01:00
Peter Seiderer
d838a416c4 package/qt5/qt5knx: bump version to 5.15.2 (and fix download)
- bump version to 5.15.2
- change download url to original site

Fixes:

  - http://autobuild.buildroot.net/results/a043bb991a827880d6c743e63f070fc6a3b72a2f

  >>> qt5knx 5.15.2 Downloading[27m
  --2020-12-12 13:42:47--  https://github.com/qt/qtknx/archive/v5.15.2/qt5knx-5.15.2.tar.gz
  Resolving github.com (github.com)... 140.82.114.3
  Connecting to github.com (github.com)|140.82.114.3|:443... connected.
  HTTP request sent, awaiting response... 302 Found
  Location: https://codeload.github.com/qt/qtknx/tar.gz/v5.15.2/qt5knx-5.15.2 [following]
  --2020-12-12 13:42:47--  https://codeload.github.com/qt/qtknx/tar.gz/v5.15.2/qt5knx-5.15.2
  Resolving codeload.github.com (codeload.github.com)... 140.82.114.10
  Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected.
  HTTP request sent, awaiting response... 404 Not Found
  2020-12-12 13:42:47 ERROR 404: Not Found.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 14:49:07 +01:00
Peter Seiderer
067a1fa122 package/qt5/qt5xmlpatterns: format hash file according to two spaces guideline
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 10:35:19 +01:00
Peter Seiderer
faf987eda6 package/qt5/qt5x11extras: format hash file according to two spaces guideline
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 10:35:17 +01:00
Peter Seiderer
81797dc3de package/qt5/qt5websockets: format hash file according to two spaces guideline
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 10:35:15 +01:00
Peter Seiderer
9d104c8fda package/qt5/qt5webkit: format hash file according to two spaces guideline
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 10:35:13 +01:00
Peter Seiderer
f27d32f8c0 package/qt5/qt5webkit-examples: change hash file license marker
Chnage hash file license marker to the more usual 'Hashes for
license files' text.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 10:35:10 +01:00
Peter Seiderer
5dd16559c3 package/qt5/qt5webengine: format hash file according to two spaces guideline
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 10:35:08 +01:00
Peter Seiderer
97f3c01d08 package/qt5/qt5webchannel: format hash file according to two spaces guideline
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 10:35:06 +01:00
Peter Seiderer
080214febe package/qt5/qt5wayland: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 10:35:04 +01:00
Peter Seiderer
c8cb5bf5f1 package/qt5/qt5virtualkeyboard: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 10:35:02 +01:00
Peter Seiderer
95ec5ac4e3 package/qt5/qt5remoteobjects: format hash file according to two spaces guideline
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 10:35:00 +01:00
Peter Seiderer
969d394ec6 package/qt5/qt5webview: format hash file according to two spaces guideline
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 10:34:56 +01:00
Peter Seiderer
7d9d65aabc package/qt5tools: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:28 +01:00
Peter Seiderer
43cda43d0d package/qt5svg: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:27 +01:00
Peter Seiderer
0e2ccbb1e8 package/qt5serialport: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:25 +01:00
Peter Seiderer
b4e3f61edb package/qt5serialbus: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:24 +01:00
Peter Seiderer
818c5ba70e package/qt5sensors: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:23 +01:00
Peter Seiderer
0af9e62cf0 package/qt5scxml: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:22 +01:00
Peter Seiderer
551ea04935 package/qt5script: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:21 +01:00
Peter Seiderer
db8a53dc0f package/qt5quickcontrols2: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:19 +01:00
Peter Seiderer
57a0d03258 package/qt5quickcontrols: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:18 +01:00
Peter Seiderer
6df1a69e64 package/qt5multimedia: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:17 +01:00
Peter Seiderer
8e90e3b1bd package/qt5location: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:16 +01:00
Peter Seiderer
17c8f8a1c7 package/qt5imageformats: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:15 +01:00
Peter Seiderer
4ccf354edc package/qt5graphicaleffects: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:13 +01:00
Peter Seiderer
7f322ab6f0 package/qt5enginio: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:12 +01:00
Peter Seiderer
9a7b3721b2 package/qt5declarative: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:11 +01:00
Peter Seiderer
e788679fd0 package/qt5connectivity: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:10 +01:00
Peter Seiderer
8c28a7cb95 package/qt5charts: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:09 +01:00
Peter Seiderer
f9bd41c673 package/qt5base: format hash file according to two spaces guideline
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:07 +01:00
Peter Seiderer
2c079ab243 package/qt53d: format hash file according to two spaces guideline
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:08:06 +01:00
Peter Seiderer
3bd45a9985 package/qt5: bump version to 5.15.2
qt5base:
  - header.BSD was remove with commit 'Remove license header
    templates from qtbase' ([1])

qt5tools:
  - rebase 0001-Disable-designer-tool-fixes-configure-error.patch

qt5webengine:
  - update 3rdparty license info

[1] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9ac8b9c92eb01bf755995669ecd7ab3acf21dd7d

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-10 22:07:29 +01:00
Angelo Compagnucci
262a7f6d2f package/qt5/qt5knx: new package
The Qt KNX module implements the client side of a connection between a
client and a KNXnet/IP server.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-06 11:15:54 +01:00
Angelo Compagnucci
53de8a3a97 package/qt5/qt5mqtt: new package
The Qt MQTT module provides a standard compliant implementation of the
MQTT protocol specification.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-06 11:13:39 +01:00
Angelo Compagnucci
e4ddf7ed7b package/qt5/qt5coap: new package
The Qt CoAP module implements the client side of CoAP defined by RFC
7252.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-05 22:49:12 +01:00
Jeff Zignego
90b9f1f881 package/qt5/qt5base: fix typo for syslog support
Fix typo from 109df4deba that added this
option.

Signed-off-by: Jeff Zignego <jzignego@hedcontrols.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-11-19 22:56:21 +01:00
Jeff Zignego
109df4deba package/qt5/qt5base: add -syslog option
QT can default to outputting the logs to syslog instead of to the
console with this compile time switch. That behavior can still be
overridden by setting the environment variable QT_LOGGING_TO_CONSOLE to
1.

Signed-off-by: Jeff Zignego <jzignego@hedcontrols.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-11-07 14:46:22 +01:00
Gary Bisson
25f2191ed2 package/qt5/qt5base: fix imx6 eglfs support with imx-gpu-viv
Last commit fixed eglfs_kms support for i.MX8 platforms that required to
declare imx-gpu-viv as the gbm provider.
However, this broke the eglfs "fbdev" imx6 support as gbm isn't provided
in this case. So limit the gbm option to imx-gpu-viv when wayland
backend is used only.

Fixes: 82fb51d3b5 ("package/qt5/qt5base: allow to use imx-gpu-viv as GBM
provider")

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-10-31 23:45:24 +01:00
Peter Seiderer
ca960f3857 package/qt5/qt5lottie: new package
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-10-14 23:33:20 +02:00
Fabrice Fontaine
ef5e67416a package/qt5/qt5remoteobjects: fix license files
There is no LICENSE.FDL

Fixes:
 - http://autobuild.buildroot.org/results/486563913e0fd4add2350f3c352db94ed86bce55

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-10-08 23:26:23 +02:00
Sven Fischer
e7ebc7cd09 package/qt5/qt5remoteobjects: new package
Qt 5.12 added a library for IPC, so let's have a package for it. The
dependency on qtdeclarative is optional.

Signed-off-by: Sven Fischer <sven@leiderfischer.de>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-10-06 23:09:35 +02:00
Peter Seiderer
d4f7da760a package/qt5base: XCB support needs xcb-util-renderutil
The qt5base feature 'xcb_syslibs' is a compile check
using a xcb_render_util call (see qt5base-5.15.1/src/gui/configure.json).

Fixes:
  - http://autobuild.buildroot.net/results/3c05e597c073b823f8b091e17b676ed3ecf6b5b3

  ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && libs.xcb && tests.xcb_syslibs && features.xkbcommon-x11' failed.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-09-30 22:23:20 +02:00
Gary Bisson
82fb51d3b5 package/qt5/qt5base: allow to use imx-gpu-viv as GBM provider
Needed in order to use eglfs_kms platform backend.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-30 21:48:24 +02:00
Peter Seiderer
0fa4eb375c package/qt5: bump version to 5.15.1
qt5base:
 - remove 0005-evdevkeyboard-fix-input_event-time-related-compile.patch
   (upstream [1])
 - remove 0006-evdevtouch-fix-input_event-time-related-compile.patch
   (upstream [2])
 - remove 0007-qimage_conversions-arm-neon-draw-helper-only-availab.patch
   (upstream [3])

qt5declarative:
 - remove 0002-examples-fix-parallel-install.patch
   (superseeded by upstream commit [4])

qt5imageformats:
 - remove 0001-fix-build-on-Arch-Linux.patch
   (upstream [5])

qt5tools:
 - rebased 0001-Disable-designer-tool-fixes-configure-error.patch

qt5webengine:
 - remove 0002-fix-bison-3.7.patch (upstream [6])
 - now unconditionally needs libxkbcommon

[1] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=c5b8b662105cc5ced968da9f567fe1134c52d6b5
[2] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=71fb4d081c7f3675939ac8c62063631a18175fd1
[3] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=2246f270ffd3875cad8c334fdf4878be48620514
[4] https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=1f0b3a54ffa2ab0dc0cdff1345980ea68d749d24
[5] https://code.qt.io/cgit/qt/qtimageformats.git/commit/?id=704868db61be1542c2d9e2b75ead00c45c56cc36
[6] https://code.qt.io/cgit/qt/qtwebengine-chromium.git/commit/?h=80-based&id=1a53f5995697f5ac6fd501dbdc0ee39c9488ee66

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-19 15:11:47 +02:00
Peter Seiderer
7c5804cf75 package/qt5/qt5webkit: fix bison-3.7.1 related compile failure
Add gentoo patch to fix bison-3.7.1 related compile failure and
an additional one doing a similare change for another bison call
in Source/WebCore/DerivedSources.pri.

Fixes:

  generated/XPathGrammar.tab.c:124:10: fatal error: XPathGrammar.tab.h: No such file or directory

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-19 14:59:57 +02:00
Thomas Petazzoni
e5f92758ff package/qt5/qt5webengine: fix build with Bison 3.7
Add patch from upstream that fixes build with Bison 3.7.

There are no autobuilder failures for this issue, but the following
defconfig:

BR2_arm=y
BR2_cortex_a8=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_NONE=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_SYSTEM_BIN_SH_NONE=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5WEBENGINE=y
BR2_PACKAGE_RPI_USERLAND=y

Failed with:

/home/thomas/buildroot/buildroot/output/build/qt5webengine-5.15.0/src/core/release/gen/third_party/blink/renderer/core/xpath_grammar.cc:124:10: fatal error: xpath_grammar.hh: No such file or directory
  124 | #include "xpath_grammar.hh"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

With this patch applied, it builds fine.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
[yann.morin.1998@free.fr: add url to upstream commit, provided by Peter]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-09-16 22:13:20 +02:00