diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-10-18 11:06:26 +0300 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-10-31 13:41:46 +0200 |
commit | 2401cc3106e6f6e1d9c2a3016110cfa914a13dab (patch) | |
tree | 91ff16b8128511bfe449f54977c4fb3f3511647d /recipes-qt/qt5/qtwebengine_git.bb | |
parent | f3213460a0495cac618d37bcbe59fddd58b6d65d (diff) | |
parent | e0db5666f9c04c92683514ca220b0aafd0a49df2 (diff) | |
download | meta-qt5-2401cc3106e6f6e1d9c2a3016110cfa914a13dab.tar.gz |
Merge remote-tracking branch 'qtyocto/5.9' into 5.10
* qtyocto/5.9:
qt5: update version to 5.9.3
qt5: remove use of OE_QMAKE_WAYLAND_SCANNER
qtquickcontrols: remove duplicate FILES append
qtdeclarative: remove upstreamed patch
qt5: update qtx11extras revision for 5.9.2
qt5: update submodules
qt5: update submodules
Merge remote-tracking branch 'qtyocto/upstream/master' into 5.9
qt5: add missing commercial license
Fix compiling for qtenginio and qtquick1
Use correct HostPrefix
qt5: update submodules
qtwebview: remove obsolete patch
qt5: update submodules
qtwebengine: add patch for long paths
qtwebengine: update 0004-Force-host-toolchain-configuration.patch
qtwebengine: fix build with glibc-2.26
qt: upgrade to latest revision in 5.9 branch
qt: refresh remaining patches and add links to meta-qt5 repos
qtwebengine: add a fix for building demobrowser without printing support
Upgrade to Qt 5.9.0
qtbase, qtgraphicaleffect, qtmultimedia, qtscript, qtlocation, qtwayland: disable gold to work around binutils bug
qtwebengine: disable SECURITY_STRINGFORMAT to fix the build
meta-toolchain-qt5: don't rely on COREBASE/LICENSE
qtbase: fix Krogoth build regression from efa8aaf
qt3d: refresh patches
qtwebengine: refresh patches
qtbase: refresh the patches
qtwebengine: update to 5.9.2
qt5: bump version number to 5.9.2
qtbase: fix Krogoth build regression from efa8aaf
gstreamer1.0-plugins-bad: add qt5 packageconfig
qtbase: remove qtbase-native from DEPENDS
qt3d: Fix build with clang
qtwebkit: Backport a patch to fix build with icu-59
quazip: update to 0.7.3 and add missing metadata
qtbase: Use sched_yield instead of pthread_yield
qtbase: Fix ptests with clang
qt5-ptest: fix build with yocto < 2.3 (pyro)
qtbase: add ptest
qwt-qt5.inc: fix QA warning
qt5-git.inc: set CVE_PRODUCT to qt
python-pyqt5: include QtWidgets module
qt5-creator: Link with libexecinfo on musl
qtvirtualkeyboard: Include sys/time.h
qtwebengine: Fix build on musl
qt5-creator: Fix build with NO_ACCESSIBILITY
maliit-framework-qt5: Always have optimize flags
qtbase-native: Fix qdbuscpp2xml segfault
qt5-ptest.inc: append do_populate_sysroot only for target
qtwebengine: fix build with gcc7
qwt-qt5: Fix rpath issues
qtquickcontrols2: fix compilation of examples/texteditor
qtquick1: add ptest
qtdeclarative: add ptest
qtxmlpatterns: add ptest
qt5: add qt5-ptest.inc
qtwebengine: add PACKAGECONFIG for webrtc
libconnman-qt5: update to 1.1.10
Revert "qttools: DEPENDS on icu"
qttools: DEPENDS on icu
qtbase: respect "ld-is-gold" DISTRO_FEATURES
Change-Id: I9dfcab3c94b62b22b68e66e8b13bdf4c570aada1
Diffstat (limited to 'recipes-qt/qt5/qtwebengine_git.bb')
-rw-r--r-- | recipes-qt/qt5/qtwebengine_git.bb | 60 |
1 files changed, 55 insertions, 5 deletions
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index c044c602..deef5737 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -16,7 +16,7 @@ DEPENDS += " \ | |||
16 | ninja-native \ | 16 | ninja-native \ |
17 | yasm-native \ | 17 | yasm-native \ |
18 | qtwebchannel \ | 18 | qtwebchannel \ |
19 | qtbase qtdeclarative qtxmlpatterns qtquickcontrols \ | 19 | qtbase qtdeclarative qtxmlpatterns qtquickcontrols qtquickcontrols2 \ |
20 | qtlocation \ | 20 | qtlocation \ |
21 | libdrm fontconfig pixman openssl pango cairo icu pciutils \ | 21 | libdrm fontconfig pixman openssl pango cairo icu pciutils \ |
22 | libcap \ | 22 | libcap \ |
@@ -24,9 +24,23 @@ DEPENDS += " \ | |||
24 | ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa-lib', '', d)} \ | 24 | ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa-lib', '', d)} \ |
25 | " | 25 | " |
26 | 26 | ||
27 | EXTRA_QMAKEVARS_PRE += "GYP_CONFIG+=use_system_yasm GYP_CONFIG+=generate_character_data=0" | 27 | DEPENDS_append_libc-musl = " libexecinfo" |
28 | |||
29 | EXTRA_QMAKEVARS_PRE += "GYP_CONFIG+=use_system_yasm \ | ||
30 | GYP_CONFIG+=generate_character_data=0 \ | ||
31 | GYP_CONFIG+=use_allocator=none \ | ||
32 | GYP_CONFIG+=use_experimental_allocator_shim=false \ | ||
33 | " | ||
28 | EXTRA_QMAKEVARS_CONFIGURE += "-feature-system-ninja -no-feature-system-gn" | 34 | EXTRA_QMAKEVARS_CONFIGURE += "-feature-system-ninja -no-feature-system-gn" |
29 | 35 | ||
36 | # chromium/third_party/openh264/openh264.gyp adds | ||
37 | # -Wno-format to openh264_cflags_add | ||
38 | # similarly chromium/third_party/openh264/BUILD.gn for newer qtwebengine | ||
39 | # causing following error, because -Wformat-security cannot be used together with -Wno-format | ||
40 | # cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security] | ||
41 | # http://errors.yoctoproject.org/Errors/Details/150333/ | ||
42 | SECURITY_STRINGFORMAT = "" | ||
43 | |||
30 | # To use system ffmpeg you need to enable also libwebp, opus, vpx | 44 | # To use system ffmpeg you need to enable also libwebp, opus, vpx |
31 | # Only depenedencies available in oe-core are enabled by default | 45 | # Only depenedencies available in oe-core are enabled by default |
32 | PACKAGECONFIG ??= "libwebp flac libevent libxslt speex nss" | 46 | PACKAGECONFIG ??= "libwebp flac libevent libxslt speex nss" |
@@ -39,6 +53,7 @@ PACKAGECONFIG[libevent] = "WEBENGINE_CONFIG+=use_system_libevent,,libevent" | |||
39 | PACKAGECONFIG[libxslt] = "WEBENGINE_CONFIG+=use_system_libxslt,,libxslt" | 53 | PACKAGECONFIG[libxslt] = "WEBENGINE_CONFIG+=use_system_libxslt,,libxslt" |
40 | PACKAGECONFIG[speex] = "WEBENGINE_CONFIG+=use_system_speex,,speex" | 54 | PACKAGECONFIG[speex] = "WEBENGINE_CONFIG+=use_system_speex,,speex" |
41 | PACKAGECONFIG[vpx] = "WEBENGINE_CONFIG+=use_system_vpx,,libvpx" | 55 | PACKAGECONFIG[vpx] = "WEBENGINE_CONFIG+=use_system_vpx,,libvpx" |
56 | PACKAGECONFIG[webrtc] = "WEBENGINE_CONFIG+=use_webrtc,,libvpx" | ||
42 | PACKAGECONFIG[nss] = "WEBENGINE_CONFIG+=use_nss,,nss" | 57 | PACKAGECONFIG[nss] = "WEBENGINE_CONFIG+=use_nss,,nss" |
43 | 58 | ||
44 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" | 59 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" |
@@ -88,6 +103,13 @@ do_configure() { | |||
88 | ${EXTRA_QMAKEVARS_CONFIGURE} | 103 | ${EXTRA_QMAKEVARS_CONFIGURE} |
89 | } | 104 | } |
90 | 105 | ||
106 | do_configure_prepend_libc-musl() { | ||
107 | for f in `find ${S}/src/3rdparty/chromium/third_party/ffmpeg/chromium/config/Chromium/linux/ -name config.h -o -name config.asm`; do | ||
108 | sed -i -e "s:define HAVE_SYSCTL 1:define HAVE_SYSCTL 0:g" $f | ||
109 | done | ||
110 | sed -i -e "s:define HAVE_STRUCT_MALLINFO 1:/*undef HAVE_STRUCT_MALLINFO */:g" ${S}/src/3rdparty/chromium/third_party/tcmalloc/chromium/src/config_linux.h | ||
111 | } | ||
112 | |||
91 | do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+" | 113 | do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+" |
92 | 114 | ||
93 | do_install_append() { | 115 | do_install_append() { |
@@ -106,11 +128,39 @@ RDEPENDS_${PN}-examples += " \ | |||
106 | 128 | ||
107 | QT_MODULE_BRANCH_CHROMIUM = "58-based" | 129 | QT_MODULE_BRANCH_CHROMIUM = "58-based" |
108 | 130 | ||
131 | # Patches from https://github.com/meta-qt5/qtwebengine/commits/b5.9 | ||
132 | # 5.9.meta-qt5.3 | ||
109 | SRC_URI += " \ | 133 | SRC_URI += " \ |
110 | ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \ | 134 | ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \ |
111 | file://0001-Force-host-toolchain-configuration.patch \ | 135 | file://0001-functions.prf-allow-build-for-linux-oe-g-platform.patch \ |
112 | file://0001-chromium-workaround-for-too-long-.rps-file-name.patch \ | 136 | file://0001-Build-accessibility-tests-only-when-Qt-is-configured.patch \ |
113 | file://0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch \ | 137 | file://0002-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch \ |
138 | file://0003-Include-dependency-to-QCoreApplication-translate.patch \ | ||
139 | file://0004-Force-host-toolchain-configuration.patch \ | ||
140 | " | ||
141 | |||
142 | # Patches from https://github.com/meta-qt5/qtwebengine-chromium/commits/56-based | ||
143 | # 56-based.meta-qt5.2 | ||
144 | SRC_URI += " \ | ||
145 | file://0001-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch;patchdir=src/3rdparty \ | ||
146 | file://0002-chromium-Force-host-toolchain-configuration.patch;patchdir=src/3rdparty \ | ||
147 | file://0003-chromium-workaround-for-too-long-.rps-file-name.patch;patchdir=src/3rdparty \ | ||
148 | " | ||
149 | |||
150 | SRC_URI_append_libc-musl = "\ | ||
151 | file://0004-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch;patchdir=src/3rdparty \ | ||
152 | file://0005-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch;patchdir=src/3rdparty \ | ||
153 | file://0006-chromium-musl-include-fcntl.h-for-loff_t.patch;patchdir=src/3rdparty \ | ||
154 | file://0007-chromium-musl-use-off64_t-instead-of-the-internal-__.patch;patchdir=src/3rdparty \ | ||
155 | file://0008-chromium-musl-linux-glibc-make-the-distinction.patch;patchdir=src/3rdparty \ | ||
156 | file://0009-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch;patchdir=src/3rdparty \ | ||
157 | file://0010-chromium-musl-Use-correct-member-name-__si_fields-fr.patch;patchdir=src/3rdparty \ | ||
158 | file://0011-chromium-musl-Match-syscalls-to-match-musl.patch;patchdir=src/3rdparty \ | ||
159 | file://0012-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch;patchdir=src/3rdparty \ | ||
160 | file://0013-chromium-musl-Do-not-define-__sbrk-on-musl.patch;patchdir=src/3rdparty \ | ||
161 | file://0014-chromium-musl-Adjust-default-pthread-stack-size.patch;patchdir=src/3rdparty \ | ||
162 | file://0015-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch;patchdir=src/3rdparty \ | ||
163 | file://0016-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch;patchdir=src/3rdparty \ | ||
114 | " | 164 | " |
115 | 165 | ||
116 | SRCREV_qtwebengine = "f32b3514a5186bc4f5452f004324bdb7782d30a3" | 166 | SRCREV_qtwebengine = "f32b3514a5186bc4f5452f004324bdb7782d30a3" |