summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit
AgeCommit message (Collapse)Author
2021-03-04wpebackend-fdo: Fix missing .so symlink when using dev packageZbigniew Bodek
Problem spotted on dunfell-23.0.4 Normally, unversioned .so is removed from -dev (default) package however it is still being referred by other agents, such as webkitgtk. That can be observed while executing i.e. Epiphany Browser. For instance: platformInitializeWebProcess() calls wpe_loader_init("libWPEBackend-fdo-1.0.so") as a result one can see: -------------------- wpe_loader_init could not load the library 'libWPEBackend-fdo-1.0.so': libWPEBackend-fdo-1.0.so: cannot open shared object file: No such file or directory -------------------- "master" branch contains a bumped-up version of webkitgtk to which this issue does not apply (the code has changed). Forcefully keep this .so symlink to resolve the problem in dunfell. Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-12-10webkitgtk: fix reproducibilityAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1e7c673ab8d14766190843c6d8747510b37c71bf) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-08-07webkitgtk: fix CVE-2020-13753Lee Chee Yang
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-05-12webkitgtk: update to 2.28.2 to fix multiple CVE'sAlexander Kanavin
This latest stable release fixes: CVE-2020-10018, CVE-2020-11793, CVE-2020-3885, CVE-2020-3894, CVE-2020-3895, CVE-2020-3897, CVE-2020-3899, CVE-2020-3900, CVE-2020-3901, CVE-2020-3902 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2020-02-28webkitgtk: Remove obsolete woff2 commentAdrian Bunk
woff2 is now available in meta-webkit. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-28webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirementsAdrian Bunk
x11 can be replaced with wayland. opengl is mandatory only with wayland. Without x11, use gles2 for opengl. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-28webkitgtk: Move X library DEPENDS to the x11 PACKAGECONFIGAdrian Bunk
Also adjust them to what OptionsGTK currently checks. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-28webkitgtk: Disable GI data for musl/armKhem Raj
qemu-arm hangs forever when running gobject introspection Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-25webkitgtk: Remove the unused DEPENDS on libidnAdrian Bunk
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-25webkitgtk: Remove obsolete gtk2 packageconfigAdrian Bunk
Upstream no longer supports GTK2 plugins. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-25webkitgtk: Remove unused DEPENDS on pulseaudioAdrian Bunk
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-22libwpe, wpebackend-fdo: add opengl to required DISTRO_FEATURESMartin Jansa
* requires virtual/egl which isn't available without opengl in DISTRO_FEATURES as shown in world builds without it: ERROR: Nothing PROVIDES 'virtual/egl' (but openembedded-core/meta/recipes-sato/webkit/libwpe_1.4.0.1.bb, openembedded-core/meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb DEPENDS on or otherwise requires it) $ bitbake libwpe NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'virtual/egl' (but /OE/build/oe-core/openembedded-core/meta/recipes-sato/webkit/libwpe_1.4.0.1.bb DEPENDS on or otherwise requires it). Close matches: virtual/kernel virtual/make virtual/perf ERROR: Required build target 'libwpe' has no buildable providers. Missing or unbuildable dependency chain was: ['libwpe', 'virtual/egl'] $ bitbake wpebackend-fdo NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'virtual/egl' (but /OE/build/oe-core/openembedded-core/meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb DEPENDS on or otherwise requires it). Close matches: virtual/kernel virtual/make virtual/perf ERROR: Required build target 'wpebackend-fdo' has no buildable providers. Missing or unbuildable dependency chain was: ['wpebackend-fdo', 'virtual/egl'] $ bitbake webkitgtk ERROR: Nothing PROVIDES 'webkitgtk' webkitgtk was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-22webkitgtk: enable gobject-introspection for armv7aAndreas Müller
Tested with cortex-a9 machine * before this patch -> no gir * after: gir was built without issues Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-21webkitgtk: enable gobject-introspection for armv7ve - it builds without issuesAndreas Müller
Maybe armv7a can be re-enabled either but due to limited resources there is no chance for me to test. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-21webkitgtk: fix reconfigureAndreas Müller
| ln: failed to create symbolic link '/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/webkitgtk/2.26.4-r0/recipe-sysroot-native/usr/bin/python': File exists Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-21webkitgtk: unbreak wayland buildAlexander Kanavin
webkit nowadays requires a couple of supplementary libraries for this, so bring them in (courtesy of meta-webkit[1], which will hopefully adjust without a lot of trouble). [1] https://github.com/Igalia/meta-webkit/ [RP: Add missing maintainers entries] Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-21webkitgtk: x11 and wayland are not mutually exclusiveAlexander Kanavin
Also enabling wayland if x11 is not enabled is not necessarily the correct decision. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-18webkitgtk: Fix errors when api-documentation is enabledRichard Purdie
This recipe hasn't built correctly since we removed "python" from HOSTTOOLS when api-documentation is enabled. Add in an extra symlink to "python" rather than trying to fix the multiple scripts in webkit to refer to python3. The autobuilder didn't detect this as wekbkit was excluded from the API docs world build but that is changed now so this fixes build failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-15webkitgtk: Upgrade to 2.26.4 minor releaseKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-05webkitgtk: Prefer -pthread over -lpthreadKhem Raj
-pthread is compiler driver option which links in needed dependencies for pthreads along with -lpthread, this aids in fixing build failures on rv64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-19webkitgtk: Disable gold for all mipsKhem Raj
If gnu hash is enabled for mips then we can not use gold linker since gnu hash handling is only supported with good old BFD linker alone Fixes .gnu.hash is incompatible with the MIPS ABI See gold/mips.cc in binutils for reference Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-10enchant: Replace with enchant2 from meta-oeAdrian Bunk
webkitgtk does now support the new version. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-05recipes: change SRC_URI to use httpsStefan Müller-Klieser
Change all recipes to https where we get an http 301 permanent redirect. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-21webkitgtk: Remove clang specific optionKhem Raj
This should be no longer needed. if needed then meta-clang might be better suited Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-21distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, ↵Denys Dmytriyenko
rename Besides checking DISTRO_FEATURES for required or conflicting features, being able to check MACHINE_FEATURES and/or COMBINED_FEATURES may also be useful at times. Temporarily support the old class name with a warning about future deprecation. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-10webkitgtk: upgrade 2.26.1 -> 2.26.2Andreas Müller
>From announcement: What's new in the WebKitGTK 2.26.2 release? =========================================== - Improve performance of querying system fallback fonts. - Don't use prgname in dbus-proxy socket path. - Fix thread-safety issues in image decoders. - Fix the build with WebDriver disabled. - Disable accelerated compositing when we fail to initialize the EGL dispaly under Wayland. - Fill the objects category in emoji picker. - Fix several crashes and rendering issues. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-15webkitgtk: update 2.24.4 -> 2.26.1Alexander Kanavin
Drop patches: - 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch - this has been a pain to rebase for a while as upstream keeps shifting and changing the code that needs to be modified. If the issue the patch is addressing is still relevant, please work with upstream to fix it at the source - 0001-gstreamer-add-a-missing-format-string.patch, narrowing.patch are integrated upstream - detect-gstreamer-gl.patch is adjusting something that is better done from the yocto package configuration Add an option to disable an enabled-by-default sandbox that requires a component that oe-core does not have. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-30webkitgtk: update 2.24.3 -> 2.24.4Alexander Kanavin
In particular this brings an important fix for builds with py3: "Fix build issue which would cause media controls to disappear when Python 3.x was used during the build process." https://webkitgtk.org/2019/08/28/webkitgtk2.24.4-released.html Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-30webkitgtk: use Python 3 for buildsAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-16webkitgtk: disable gold on mipsn32Kai Kang
Using gold on mipsn32 still fails. It fails to run $ bitbake webkitgtk -c configure with configuration: MACHINE ?= "qemumips" DEFAULTTUNE = "mips64-n32" Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-06webkitgtk: Fix compile failures with clangKhem Raj
Backport upstream patch to address build regression with clang Fixes webkitgtk-2.24.3/Source/bmalloc/bmalloc/AvailableMemory.cpp:120:31: error: implicit instantiation of undefined template 'std::__1::array<char, 256>' std::array<char, 256> statmBuffer; ^ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-03webkitgtk: Stop disabling gold on aarch64 and mipsAdrian Bunk
The binutils bug appears to have gone away. Using gold on powerpc still fails for seemingly unrelated reasons. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-31webkitgtk: upgrade 2.24.2 -> 2.24.3Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-29webkitgtk: Reenable on mipsAdrian Bunk
It builds using the generic C_LOOP code. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17webkitgtk: set incomptible with tune mipsKai Kang
It fails to compile webkit when default tune is 'mips': | .../tmp-glibc/work/mips-wrs-linux/webkitgtk/2.24.2-r0/webkitgtk-2.24.2 | /Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:418:23: | error: static assertion failed: CLZ opcode is not available for this ISA So don't build webkit when default tune is mips. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22webkitgtk: update to 2.24.2Alexander Kanavin
Add a patch to address a missing format string error. Drop the x86-specifc setting for GSTREAMER_GL as it is no longer needed. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-13webkitgtk: fix compile error for arm64Kai Kang
It removes function JSC::AssemblerBuffer::data() for ARM64 in commit https://trac.webkit.org/changeset/236589/webkit. But it is required by Cortex A53 from https://trac.webkit.org/changeset/175514/webkit and fails to compile for arm64: | .../tmp/work/aarch64-poky-linux/webkitgtk/2.24.0-r0/webkitgtk-2.24.0/Source/JavaScriptCore/assembler/ARM64Assembler.h:3769:100: error: 'class JSC::AssemblerBuffer' has no member named 'data' | if (UNLIKELY((*reinterpret_cast_ptr<int32_t*>(reinterpret_cast_ptr<char*>(m_buffer.data()) + m_buffer.codeSize() - sizeof(int32_t)) & 0x0a000000) == 0x08000000)) Not set WTF_CPU_ARM64_CORTEXA53 for arm64 to fix the failure. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26webkitgtk: Fix build with clangKhem Raj
Newer version of webkitgtk has some compile failures with clang/libc++ combination. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26webkitgtk: set CVE_PRODUCTChen Qi
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16webkitgtk: update to 2.24.0Alexander Kanavin
Drop bad_optional_access.patch, as the code it tweaks has been removed upstream. Rebase other patches. Add an option for jpeg2000 support. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03webkitgtk: 2.22.6 -> 2.22.7Kai Kang
webkitgtk 2.22.7 is a bug fix release in the stable 2.22 series. * Fix rendering of glyphs in Hebrew (and possibly other languages) when Unicode NFC normalization is used. * Fix several crashes and race conditions. See https://www.webkitgtk.org/2019/03/01/webkitgtk2.22.7-released.html Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-20webkitgtk: upgrade 2.22.5 -> 2.22.6Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-01webkitgtk: Fix build with clang/libc++ >= 7.0.0Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14webkitgtk: Enable building for ARC architectureAlexey Brodkin
For that we need 2 things: 1. Disable JIT in JS as it's not supported for ARC. 2. Compile with "-mlong-calls" so relocations with offsets larger than 25 bits are used, otherwise linker fails to link final binaries. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Cc: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14cmake.bbclass: Make it work with ccacheRobert Yang
This can make the following recipes work with cmake: cmake libdnf libcomps librepo createrepo-c llvm dnf libsolv assimp waffle libjpeg-turbo taglib libproxy libical And the following 3 recipes don't: webkitgtk vulkan piglit Now cmake.bbclass doesn't disble ccache any more, disable it in the recipes if needed. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2019-01-03webkitgtk: upgrade 2.22.4 -> 2.22.5Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-13webkitgtk: Link compiler-rt for clang specific built-insKhem Raj
When using clang, its increasingly using its own runtime which means libgcc is not enough to find all primitives its using. Fixes errors like recipe-sysroot/usr/lib/libwebkit2gtk-4.0.so: undefined reference to `__mulodi4' Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-22webkitgtk: update to 2.22.4Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-21webkitgtk: update to 2.22.3Alexander Kanavin
Remove upstreamed patches. Add a tweak to 0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch for Javascriptcore gir file (previously it was pre-compiled in tarballs). Rebase 0001-Fix-build-with-musl.patch Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-10-10webkitgtk/epiphany: add opengl to REQUIRED_DISTRO_FEATURESHongxu Jia
They can't be built without opengl in DISTRO_FEATURES. [snip] |webkitgtk-2.20.3/Source/WebCore/platform/graphics/OpenGLShims.h:23:10: fatal error: GL/gl.h: No such file or directory [snip] Some sort of GL is needed yes. We indicate that with opengl loosely in OE The epiphany depends on webkitgtk, add opengl to REQUIRED_DISTRO_FEATURES also. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>