diff mbox series

[meta-oe,39/42] webkitgtk3: upgrade 2.52.6 -> 2.54.3

Message ID 20261123052953.3658549-67-khem.raj@oss.qualcomm.com
State New
Headers show
Series exfatprogs upgrade, remove logfsprogs | expand

Commit Message

Khem Raj Nov. 23, 2026, 5:29 a.m. UTC
New stable series 2.54:
- Web process compositor switched from TextureMapper to Skia, with
  batched painting; cairo 2D rendering option removed
- New API: favicons, webkit_feature_list_find(), view magnification,
  per-navigation User-Agent in WebKitWebsitePolicies
- Many input method, rendering, media and gamepad fixes, GStreamer
  1.28 and GCC 16 build support
- Security fixes listed in WSA-2026-0006 and WSA-2026-0007

2.54 requires gstreamer-mpegts from gst-plugins-bad whenever video is
enabled. Refresh the FindGI and __PAS_ALWAYS_INLINE patches.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...-variable-to-control-macro-__PAS_ALWAYS_I.patch | 14 +++++---------
 ...-bare-system-include-dirs-from-g-ir-scann.patch | 10 +++++-----
 .../{webkitgtk3_2.52.6.bb => webkitgtk3_2.54.3.bb} |  3 ++-
 3 files changed, 12 insertions(+), 15 deletions(-)
 rename meta-oe/recipes-support/webkitgtk/{webkitgtk3_2.52.6.bb => webkitgtk3_2.54.3.bb} (98%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch
index b1139b857e..87f6608592 100644
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch
@@ -44,11 +44,9 @@  Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
  Source/cmake/WebKitCompilerFlags.cmake              | 7 +++++++
  2 files changed, 8 insertions(+), 1 deletion(-)
 
-diff --git a/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h b/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
-index 5d5fb38c..a554f700 100644
 --- a/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
 +++ b/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
-@@ -44,7 +44,7 @@ __PAS_BEGIN_EXTERN_C;
+@@ -45,7 +45,7 @@
  #define __SUSPICIOUS__
  #define __BROKEN__
  
@@ -57,14 +55,12 @@  index 5d5fb38c..a554f700 100644
  #define __PAS_ALWAYS_INLINE_BUT_NOT_INLINE __attribute__((__always_inline__))
  #else
  #define __PAS_ALWAYS_INLINE_BUT_NOT_INLINE
-diff --git a/Source/cmake/WebKitCompilerFlags.cmake b/Source/cmake/WebKitCompilerFlags.cmake
-index f5ec0a55..dfd741e7 100644
 --- a/Source/cmake/WebKitCompilerFlags.cmake
 +++ b/Source/cmake/WebKitCompilerFlags.cmake
-@@ -503,3 +503,10 @@ endif ()
- 
- # FIXME: Enable pre-compiled headers for all ports <https://webkit.org/b/139438>
- set(CMAKE_DISABLE_PRECOMPILE_HEADERS ON)
+@@ -635,3 +635,10 @@
+     # (see comment #28 in the link above).
+     WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-mno-lxc1-sxc1)
+ endif ()
 +
 +# It fails to compile with `gcc -Og`
 +set(WEBKIT_NO_INLINE_HINTS OFF CACHE BOOL "Disable funtion attribute always_inline for WebKit")
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGI-drop-bare-system-include-dirs-from-g-ir-scann.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGI-drop-bare-system-include-dirs-from-g-ir-scann.patch
index e9e58c26d0..65a3371852 100644
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGI-drop-bare-system-include-dirs-from-g-ir-scann.patch
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGI-drop-bare-system-include-dirs-from-g-ir-scann.patch
@@ -40,7 +40,7 @@  Signed-off-by: Khem Raj <raj.khem@gmail.com>
 
 --- a/Source/cmake/FindGI.cmake
 +++ b/Source/cmake/FindGI.cmake
-@@ -297,6 +297,15 @@ function(GI_INTROSPECT namespace nsversion header)
+@@ -297,6 +297,15 @@
          if (NOT IS_ABSOLUTE "${incdir}")
              get_filename_component(incdir "${incdir}" REALPATH BASE_DIR "${target_srcdir}")
          endif ()
@@ -56,7 +56,7 @@  Signed-off-by: Khem Raj <raj.khem@gmail.com>
          list(APPEND scanner_flags "-I${incdir}")
      endforeach ()
  
-@@ -337,6 +346,13 @@ function(GI_INTROSPECT namespace nsversion header)
+@@ -337,6 +346,13 @@
      # Generate .gir
      set(target_def "$<TARGET_PROPERTY:${opt_TARGET},COMPILE_DEFINITIONS>")
      set(target_inc "$<TARGET_PROPERTY:${opt_TARGET},INTERFACE_INCLUDE_DIRECTORIES>")
@@ -67,6 +67,6 @@  Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +    # compiler. The sysroot include path is added automatically, so dropping
 +    # them is safe.
 +    set(target_inc "$<FILTER:${target_inc},EXCLUDE,^/usr/(local/)?include$>")
-     add_custom_command(
-         OUTPUT "${gir_path}"
-         COMMENT "Generating ${gir_name}.gir"
+     set(scanner_env "CC=${CMAKE_C_COMPILER}" "CFLAGS=${CMAKE_C_FLAGS}")
+     if (ENABLED_COMPILER_SANITIZERS)
+         string(JOIN " " sanitizer_flags ${ENABLED_COMPILER_SANITIZERS})
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.52.6.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.54.3.bb
similarity index 98%
rename from meta-oe/recipes-support/webkitgtk/webkitgtk3_2.52.6.bb
rename to meta-oe/recipes-support/webkitgtk/webkitgtk3_2.54.3.bb
index a192f89b64..96bfd7754d 100644
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.52.6.bb
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.54.3.bb
@@ -22,7 +22,7 @@  SRC_URI = "https://www.webkitgtk.org/releases/webkitgtk-${PV}.tar.xz \
            file://fix-ftbfs-riscv64.patch \
            file://0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch \
            "
-SRC_URI[sha256sum] = "179a2ea3f8f6edd4be7f31fdc55afc57bd0729f1fba648c61d4181539ac116fc"
+SRC_URI[sha256sum] = "2779c1b46f88762e8400650271ba14452dc4e30b37059981552d8b562b7d0862"
 
 inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gi-docgen
 
@@ -48,6 +48,7 @@  DEPENDS += " \
           libnotify \
           gstreamer1.0 \
           gstreamer1.0-plugins-base \
+          gstreamer1.0-plugins-bad \
           glib-2.0-native \
           gettext-native \
           libsoup \