43 Commits

Author SHA1 Message Date
Khem Raj fd064db6b1 webkitgtk3: upgrade 2.50.6 -> 2.52.4
fix -Werror=poison-system-directories in g-ir-scanner

CMake's pkg_check_modules stores the bare INCLUDEDIR variable (/usr/include)
on imported targets' INTERFACE_INCLUDE_DIRECTORIES. WebKit's FindGI.cmake
forwards every interface include dir to g-ir-scanner as -I, so the
introspection compile is invoked with -I/usr/include. With a GCC configured
with --enable-poison-system-directories=error (as in OpenEmbedded cross gcc):

  cc1: error: include location "/usr/include" is unsafe for cross-compilation
  [-Werror=poison-system-directories]

g-ir-scanner only extracts -D/-I/-U from CFLAGS (not -Wno-error flags), so the
warning cannot be relaxed via the recipe CFLAGS. Filter the bare host system
include directories (/usr/include, /usr/local/include) out of the scanner flags
in FindGI.cmake instead; the sysroot include path is added automatically.

filter bare system include dirs from gir generator expr

The FindGI g-ir-scanner fix only filtered /usr/include from the dependency
loop that builds scanner_flags. The include dirs also reach the scanner via
the per-target INTERFACE_INCLUDE_DIRECTORIES generator expression that is
joined into -I flags on the g-ir-scanner command line, which was left
unfiltered.

JavaScriptCore-4.1.gir happens to carry no bare /usr/include on its target
so it succeeded, but WebKit2/WebKitGTK does, so the WebKitGTK introspection
still failed under the OpenEmbedded cross compiler:

  cc1: error: include location "/usr/include" is unsafe for cross-compilation
  [-Werror=poison-system-directories]

Filter /usr/include and /usr/local/include out of the target_inc generator
expression with $<FILTER:...,EXCLUDE,...> too.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:19 -07:00
Markus Volk cfbc4eb46a webkitgtk3: add PACKAGECONFIG for librice
webkitgtk3 enables librice support by default, thus build fails.
Add a PACKAGECONFIG for librice to handle this but disable by
default to not change our dependencies. librice requires clang-native
to build bindgen.

todo: enable this PACKAGECONFIG by default?

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-20 23:41:34 -07:00
Markus Volk 6463d3a18a webkitgtk3: remove backported patch
The missing include has been added:
https://github.com/WebKit/WebKit/blob/f540f4d1b1e10fd471a05a33dacf59e79176b2fc/Source/WebCore/contentextensions/ContentExtensionActions.h#L33

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-20 23:41:34 -07:00
Yi Zhao e265577249 webkitgtk3: fix build on riscv64
Fix the following build failure:
Source/ThirdParty/skia/modules/skcms/src/Transform_inl.h:810:71:
error: cannot tail-call: tail call production failed
  810 |         DECLARE_STAGE(name, arg, [[clang::musttail]] return (*list.fn)(list, ctx, src, dst, \
      |                                                             ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
  811 |                                                                        r, g, b, a, i))
      |                                                                        ~~~~~~~~~~~~~~

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-07 10:45:37 -07:00
Jason Schonberg 740f9f71dd webkitgtk3 update 2.50.5 -> 2.50.6
This is a bug fix release.

Changelog: https://www.webkitgtk.org/2026/03/12/webkitgtk2.50.6-released.html

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-20 18:28:09 -07:00
Ross Burton 4e07ea136a webkitgtk3: fix escaping in CVE_PRODUCT
The CPE parsing in oe-core's cve_check.py now handles escapes correctly[1]
so we don't need to escape in CVE_PRODUCT.

[1] oe-core 3c73dafd03b ("cve_check: Improve escaping of special characters in CPE 2.3")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-14 08:59:29 -07:00
Hongxu Jia 0662fc89e4 webkitgtk3: fix compile failed on qemuarm
$ echo 'MACHINE = "qemuarm"' >> conf/local.conf
$ bitbake webkitgtk3
...
| {standard input}:43622: Error: symbol `op_instanceof_return_location' is already defined
| {standard input}:43623: Error: symbol `.Lop_instanceof_return_location' is already defined
| {standard input}:44352: Error: symbol `op_instanceof_return_location_wide16' is already defined
| {standard input}:44353: Error: symbol `.Lop_instanceof_return_location_wide16' is already defined
| {standard input}:45090: Error: symbol `op_instanceof_return_location_wide32' is already defined
| {standard input}:45091: Error: symbol `.Lop_instanceof_return_location_wide32' is already defined
...

Drop 0001-Fix-32bit-arm.patch which conflicts with upstream solution [1]

[1] https://github.com/WebKit/WebKit/commit/fcaa289f6015595a638eb96b9f728eaaa7b13ab8

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-27 09:09:04 -07:00
Gyorgy Sarvari 27edae565f webkitgtk3: upgrade 2.48.7 -> 2.50.5
Includes fixes for CVE-2025-13502, CVE-2025-13947, CVE-2025-43421,
CVE-2025-43458 and CVE-2025-66287.

Drop libsoup2 support. Even though this particular version still supports
it, this is the last major version that is not libsoup3-only. Starting
with version 2.52 (which is only 3-4 weeks away at the time of writing this
message) upstream is dropping libsoup2 support completely[1].

This is a proactive removal of this feature, the sooner users start the
migration, the better.

Made opengl a mandatory DISTRO_FEATURE: libepoxy requires it, which is both
a direct dependency, and an indirect one from gtk+3.

Changelogs:
https://webkitgtk.org/2026/02/09/webkitgtk2.50.5-released.html
https://webkitgtk.org/2025/12/16/webkitgtk2.50.4-released.html
https://webkitgtk.org/2025/12/04/webkitgtk2.50.3-released.html
https://webkitgtk.org/2025/11/19/webkitgtk2.50.2-released.html
https://webkitgtk.org/2025/10/10/webkitgtk2.50.1-released.html
https://webkitgtk.org/2025/09/17/webkitgtk2.50.0-released.html

[1]: https://webkitgtk.org/2025/10/07/webkitgtk-soup2-deprecation.html

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-02-16 10:25:50 -08:00
Jason Schonberg 4bb2564e78 webkitgtk3: add patch to fix qemuarm
The patch here is backported from webkitgtk 2.50 and allows
32 bit arm to successfully build (qemuarm)

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-29 22:34:15 -07:00
Jason Schonberg 25decdf8b0 webkitgtk3: upgrade 2.48.3 -> 2.48.7
WebKitGTK 2.48.7 release:

    Fix a number of GStreamer memory leaks.
    Fix several crashes and rendering issues.

WebKitGTK 2.48.6 release:

    Fix emojis incorrectly rendered in their text variant.
    Add support for font collection / fragment identifiers.
    Fix web process deadlock on exit.
    Fix stuttering when playing WebP animations.
    Fix CSS animations with cubic-bezier timing function.
    Do not start the MemoryPressureMonitor if it’s disabled.
    Fix several crashes and rendering issues.

WebKitGTK 2.48.5 release:

    Fix several crashes.

WebKitGTK 2.48.4 release:

    Improve emoji font selection with USE_SKIA=ON.
    Improve playback of multimedia streams from blob URLs.
    Fix the build with USE_SKIA_OPENTYPE_SVG=ON and USE_SYSPROF_CAPTURE=ON.
    Fix the build on LoongArch with USE_SKIA=ON.
    Fix crash when using a WebKitWebView widget in an offscreen window.
    Fix several crashes and rendering issues.

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-28 23:16:43 -07:00
Jiaying Song 948d188832 webkitgtk3: Fix a typo OFFF -> OFF
The CMake option for disabling always_inline hints in debug build was
misspelled as OFFF. This patch corrects it to OFF.

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-17 23:11:36 -07:00
Jiaying Song 306c094576 webkitgtk3: fix build failure with DEBUG_BUILD enabled
It fails to compile webkitgtk when debug build enabled:

| /path_to/tmp/work/core2-64-poky-linux/webkitgtk/2.40.5/webkitgtk-2.40.5/Source/bmalloc/libpas/src/libpas/pas_allocation_result.h:76:1:
  error: inlining failed in call to 'always_inline' 'pas_allocation_result pas_allocation_result_identity(pas_allocation_result)':
  function not considered for inlining
|    76 | pas_allocation_result_identity(pas_allocation_result result)
|       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Add a cmake variable WEBKIT_NO_INLINE_HINTS to disable gcc function
attribute `always_inline` when debug build is enabled.

And adjust indent as well.

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-17 08:57:43 -07:00
Jiaying Song 2257a50dbd webkitgtk3: fix do_configure error on beaglebone-yocto
* According to latest comment [1] and the mentioned pull request
[2], build an ENABLE(WEBASSEMBLY) && !ENABLE(JIT) configuration is
supported, so original issue already fixed in current version, the
EXTRA_OECMAKE setting is not needed anymore.

* This EXTRA_OECMAKE setting causes following configure error on
beaglebone-yocto, remove the setting to let the configure process decide
the configuration:
CMake Error at Source/cmake/WebKitFeatures.cmake:312 (message):
  ENABLE_JIT conflicts with ENABLE_C_LOOP.  You must disable one or the
  other.

[YOCTO #15254]

[1] https://github.com/WebKit/WebKit/pull/17447
[2] https://github.com/WebKit/WebKit/pull/17688

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-04 10:50:39 -07:00
Khem Raj 2d6d0b7513 webkitgtk3: Upgrade to 2.48.3
WebKitGTK 2.48.3 release:

Fix a crash introduced by the new threaded rendering implementation using Skia API.
Improve rendering performance by recording layers once and replaying every dirty region in different worker threads.
Fix a crash when setting WEBKIT_SKIA_GPU_PAINTING_THREADS=0.
Fix a reference cycle in webkitmediastreamsrc preventing its disposal.

WebKitGTK 2.48.2 release:

Enable CSS Overscroll Behavior by default.
Change threaded rendering implementation to use Skia API instead of WebCore display list that is not thread safe.
Fix rendering when device scale factor change comes before the web view geometry update.
Fix network process crash on exit.
Fix the build with ENABLE_RESOURCE_USAGE=OFF.
Fix several crashes and rendering issues.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-25 17:09:24 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Khem Raj 36bf5dea7e webkitgtk3: Fix build break due to a typo
Also fix building on riscv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 19:49:49 -07:00
Wang Mingyu 7f41319477 webkitgtk3: upgrade 2.48.0 -> 2.48.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:22 -07:00
Khem Raj 3f08abfc9c webkitgtk3: Fix build on RISCV32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-21 11:07:35 -07:00
Khem Raj 59d15aa112 webkitgtk3: Fix build with clang and riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-21 11:07:35 -07:00
Khem Raj f9f74b1c84 webkitgtk3: Upgrade to 2.48.0
* Drop backports already present in this release
* Add couple of patches to fix build with clang-20
* Refresh patches e.g. no-musttail-arm.patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-18 18:06:54 -07:00
Yi Zhao 8a29c46188 recipes: drop ld-is-gold support
The gold linker support has been dropped in oe-core[1]. Remove related
special cases and patches in recipes.

[1] https://git.openembedded.org/openembedded-core/commit/?id=a4addb9ab63011e7c604fc5daff95559e7d214e7

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-23 17:36:08 -08:00
Jörg Sommer a7441fe377 webkitgtk3: Add DESCRIPTION about API version
It took me some time to see the difference between webkitgtk and webkitgtk3.
So, give a hint in the DESCRIPTION why this recipe exists. And name the
pkgconf file for javascriptcoregtk to make it easier to find this recipe,
when you have no clue about these API versions.

Credits to Debian for lifting the fog.

https://salsa.debian.org/webkit-team/webkit/-/blob/f04cf703b06ce74bb94add3f75aa7ac5603d0eae/debian/rules#L11

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-26 07:26:29 -08:00
Khem Raj 114921b761 webkitgtk3: Fix build with ICU-76+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-23 18:36:10 -08:00
Khem Raj 7be0d59669 webkitgtk3: Fix build break with latest gir
Reported with clang-19

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-03 08:49:50 -07:00
Khem Raj c5fb1e0d3d webkitgtk3: Always use -g1 for debug flags
Ensures that debugging symbols do not explode modeled on oe-core commit [1]

[1] https://git.openembedded.org/openembedded-core/commit/?id=9badf68d78d995f7d5d4cf27e045f029fc6d4044
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-02 21:54:01 -07:00
Khem Raj 8ac78b42bb webkitgtk3: Fix build with latest clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-03 22:33:21 -07:00
Markus Volk f67db7a4b9 webkitgtk3: update 2.44.2 -> 2.44.3
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-21 08:45:47 -07:00
Wang Mingyu dd8517b804 webkitgtk3: upgrade 2.44.1 -> 2.44.2
Changelog:
=============
- Make gamepads visible on axis movements, and not only on button presses.
- Disable the gst-libav AAC decoder.
- Make user scripts and style sheets visible in the Web Inspector.
- Use the geolocation portal where available, with the existing geoclue
  as fallback if the portal is not usable.
- Use the printing portal when running sandboxed.
- Use the file transfer portal for drag and drop when running sandboxed.
- Avoid notifying an empty cursor rectangle to input methods.
- Remove empty bar shown in detached inspector windows.
- Consider keycode when activating application accelerators.
- Fix the build with ENABLE_WEBAUDIO disabled.
- Fix several crashes and rendering issues.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-28 09:34:36 -07:00
Wang Mingyu a0ac2f5290 webkitgtk3: upgrade 2.44.0 -> 2.44.1
2922af379dc70b4b1a63b01d67179eb431f03ac4.patch
removed since it's included in 2.44.1

Changelog:
==========
- Fix handling of lifetime of web view child dialogs in GTK4.
- Do not schedule layer flushes when drawing area size is empty.
- Fix videos with alpha when using the DMA-BUF sink.
- Fix the build with USE_GBM=OFF.
- Fix the build in 32bit platforms
- Fix several crashes and rendering issues.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-17 23:47:29 -07:00
Markus Volk 896a7f638c webkitgtk3: update 2.42.5 -> 2.44.0
- add a PACKAGECONFIG for libbacktrace to avoid:
  | -- Could NOT find LibBacktrace (missing: LIBBACKTRACE_INCLUDE_DIR LIBBACKTRACE_LIBRARY)
  | CMake Error at Source/cmake/OptionsGTK.cmake:425 (message):
  |   libbacktrace is required for USE_LIBBACKTRACE

- remove submitted patch. Issue seems to be fixed. Not entirely
  sure about that, but there has been rework:
  [https://bugs.webkit.org/show_bug.cgi?id=267349]
  I also did a test build with oe-core/poky for qemuarm.
  It completed without error

- There is an issue with creating the json files if
  CMAKE_EXPORT_COMPILE_COMMANDS is enabled. Disable this
  for now to fix the build:
  FAILED: CMakeFiles/RewriteCompileCommands DeveloperTools/compile_commands.json /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build/CMakeFiles/RewriteCompileCommands /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build/DeveloperTools/compile_commands.json
  cd /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build && /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/recipe-sysroot-native/usr/bin/python3-native/python3 /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/webkitgtk-2.44.0/Tools/Scripts/rewrite-compile-commands /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build/compile_commands.json /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build/DeveloperTools/compile_commands.json /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/webkitgtk-2.44.0 /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build
  /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/recipe-sysroot-native/usr/bin/python3-native/python3: can't open file '/home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/webkitgtk-2.44.0/Tools/Scripts/rewrite-compile-commands': [Errno 2] No such file or directory

- Explicitly disable gtk4 to avoid:
  | CMake Error at /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk3/2.44.0/recipe-sysroot-native/usr/shar>
  |   Could NOT find GTK (missing: GTK_VERSION) (Required is at least version
  |   "4.6.0")

- Add a patch to fix webassembly for riscv64

- Add a backport patch to fix the build for 32bit architectures

================
WebKitGTK 2.44.0
================

What's new in WebKitGTK 2.44.0?

  - Fix connection of UI and web process accessibility tree in GTK4.
  - Add BubblewrapLauncher sandbox directory for the gstreamer user registry cache directory.
  - Fix bug causing preferred language to not be passed to NetworkProcess if set in WebContext before creating WebView.
  - Do not use real time priority for the display link thread.
  - Use a shorter web process cache lifetime.
  - Fix several crashes and rendering issues.
  - Translation updates: German, Polish, Swedish, Turkish.

================
WebKitGTK 2.43.4
================

What's new in WebKitGTK 2.43.4?

  - Remove key event reinjection in GTK4 to make keyboard shortcuts work in web sites.
  - Use the new GTK API to create a GdkTexture from a DMA-BUF buffer when available.
  - Fix rendering when GTK is using the vulkan renderer.
  - Fix gamepads detection by correctly handling focused window in GTK4.
  - Fix rendering after history navigation.
  - Write bwrapinfo.json to disk for xdg-desktop-portal.
  - Fixed several memory leaks in media backend.
  - Fix several crashes and rendering issues.

================
WebKitGTK 2.43.3
================

What's new in WebKitGTK 2.43.3?

  - Show vblank monitor information in webkit://gpu.
  - Fallback to timer based vblank monitor if drmWaitVBlank fails.
  - Fix several memory leaks in media backend.
  - Fix several crashes and rendering issues.

================
WebKitGTK 2.43.2
================

What's new in WebKitGTK 2.43.2?

  - Remove the X11 and WPE renderers.
  - Release unused buffers when the view is hidden.
  - Fix flickering while playing videos with DMA-BUF sink.
  - Do not special case the "sans" font family name.
  - Fix webkit_web_context_allow_tls_certificate_for_host() for IPv6 URIs produced by SoupURI.
  - Fix several crashes and rendering issues.

================
WebKitGTK 2.43.1
================

What's new in WebKitGTK 2.43.1?

  - Improve vblank synchronization when rendering.
  - Improve DMA-BUF buffers handling for video frames.
  - Use the buffer format preferred by the driver in DMA-BUF renderer.
  - Do not block the compositing thread waiting for rendering threads.
  - Improve performance when scaling images in a canvas.
  - Fix several crashes and rendering

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 17:55:09 -07:00
Maxin John db2af2d23a webkitgtk3: remove unused patch
Remove check-GST_GL_HAVE_PLATFORM_GLX.patch as it is no longer used. Rationale:

This issue is 2.40 specific since GLX support is removed [1] from trunk upstream, therefore
this patch wont be needed when upgrading to 2.42+

Signed-off-by: Maxin John <maxin.john@gmail.com>
2024-03-08 17:30:13 +02:00
Khem Raj 87bf42341f webkitgtk3: Fix build on 32bit x86
Backport a patch to fix the compile problems seen on 32bit x86

Fixes
TOPDIR/build/tmp/work/core2-32-yoe-linux/webkitgtk3/2.42.5/webkitgtk-2.42.5/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:339:21: error: use of undeclared identifier 't6'
  339 |     UNUSED_VARIABLE(t6);
      |                     ^
TOPDIR/build/tmp/work/core2-32-yoe-linux/webkitgtk3/2.42.5/webkitgtk-2.42.5/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:340:21: error: use of undeclared identifier 't7'
  340 |     UNUSED_VARIABLE(t7);
      |                     ^
2 errors generated.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-21 19:59:51 -08:00
Wang Mingyu e63f018dfd webkitgtk3: upgrade 2.42.4 -> 2.42.5
Changelog:
=========
- Fix webkit_web_context_allow_tls_certificate_for_host to handle IPv6 URIs produced by SoupURI.
- Ignore stops with offset zero before last one when rendering gradients with cairo.
- Write bwrapinfo.json to disk for xdg-desktop-portal.
- Fix gamepads detection by correctly handling focused window in GTK4.
- Fix several crashes and rendering issues.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-20 08:46:27 -08:00
Wang Mingyu 466370a087 webkitgtk3: upgrade 2.42.3 -> 2.42.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-08 19:54:43 -08:00
Wang Mingyu 1a474db270 webkitgtk3: upgrade 2.42.2 -> 2.42.3
Changelog:
===========
 - Fix flickering while playing videos with DMA-BUF sink.
 - Fix color picker being triggered in the inspector when typing "tan".
 - Do not special case the "sans" font family name.
 - Fix build failure with libxml2 version 2.12.0 due to an API change.
 - Fix several crashes and rendering issues.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-18 22:17:24 -08:00
Wang Mingyu 700e3a36fb webkitgtk3: upgrade 2.42.1 -> 2.42.2
Changelog:
==========
- Bump Safari version in user agent header.
- Fix CSP regression that broke Unity WebGL applications.
- Fix the build with GBM disabled.
- Fix several crashes and rendering issues.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-17 11:38:24 -08:00
Khem Raj 32bae13bb8 webkitgtk3: upgrade 2.42.0 -> 2.42.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-05 22:27:14 -08:00
Khem Raj e959a2a96e webkitgtk3: Do not use musttail with clang on arm
Fixes
https://github.com/llvm/llvm-project/issues/67767

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-30 12:55:54 -07:00
Ross Burton 6985b3d6a9 webkitgtk3: reduce size of -dbg package
Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of
the debug symbols

  Level 1 produces minimal information, enough for making backtraces in
  parts of the program that you don't plan to debug. This includes
  descriptions of functions and external variables, and line number
  tables, but no information about local variables.

This makes the sstate objects a lot more manageable, and packaging
faster.

Based on - https://patchwork.yoctoproject.org/project/oe-core/patch/20230925113508.1087898-1-ross.burton@arm.com/

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-26 12:44:12 -07:00
Markus Volk f8e7a3d98a webkitgtk: upgrade 2.40.5 -> 2.42.0
- Add a packageconfig for jpegxl. This is done because it is requested by default and
  do_configure fails because we dont have a recipe for it in meta-oe
- Refresh patches with devtool
- Remove check-GST_GL_HAVE_PLATFORM_GLX.patch. The file has been reworked and it should
  hopefully not be needed anymore

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-20 15:34:02 -07:00
Martin Jansa 9b092d6b3e webkitgtk: explicitly disable JIT for armv7* with softfp
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Markus Volk 1cedbb26f8 webkitgtk3: upgrade 2.40.2 -> 2.40.5
- Remove unneeded patches

    What’s new in the WebKitGTK 2.40.5 release?
    - Fix several crashes and rendering issues.

    What’s new in the WebKitGTK 2.40.4 release?
    - Fix a bug in JavaScript reading variable arguments in a call.

    What’s new in the WebKitGTK 2.40.3 release?
    - Make memory pressure monitor honor memory.memsw.usage_in_bytes if exists.
    - Include key modifiers in wheel events.
    - Apply cookie blocking policy to WebSocket handshakes.
    - Remove accidental dependency on GLib 2.70.
    - Fix the build with BUBBLEWRAP_SANDBOX disabled.
    - Fix several crashes and rendering issues.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-02 08:29:33 -07:00
Markus Volk 213a15cb90 webkitgtk3: add recipe
- Change the meta-gnome recipes to use the gtk3 variant of webkitgtk
- Import gcr3 recipe from oe-core

Most Gnome recipes require webkitgtk built with gtk+3. oe-core is in the
process of updating webkitgtk to be built with gtk4. It will be necessary
to add a recipe that provides the gtk+3 variant, or we wont be able
to use e.g. geary with gmail addresses or provide google integration for
gnome-calendar or nautilus/files.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-28 07:27:07 -07:00