diff options
| author | Kai Kang <kai.kang@windriver.com> | 2025-03-19 01:15:29 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-19 09:48:14 +0000 |
| commit | 37306727c7f0936d927351c545e76a1c25f677c1 (patch) | |
| tree | 8545c47897bc54e85495a3b7c7c05286b663906b /meta | |
| parent | d029e4e033d7bb57e0d02eca6c112e7722c6d262 (diff) | |
| download | poky-37306727c7f0936d927351c545e76a1c25f677c1.tar.gz | |
webkitgtk: 2.46.6 -> 2.48.0
Upgrade webkitgtk from 2.46.6 to 2.48.0:
* remove backported patch bmalloc-fix.patch
* update context of no-musttail-arm.patch
* add PACKAGECONFIG speech
(From OE-Core rev: a80e06186e919c72b352103e87a9921073d81213)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/bmalloc-fix.patch | 36 | ||||
| -rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch | 14 | ||||
| -rw-r--r-- | meta/recipes-sato/webkit/webkitgtk_2.48.0.bb (renamed from meta/recipes-sato/webkit/webkitgtk_2.46.6.bb) | 4 |
3 files changed, 11 insertions, 43 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/bmalloc-fix.patch b/meta/recipes-sato/webkit/webkitgtk/bmalloc-fix.patch deleted file mode 100644 index 37e0fdcbbd..0000000000 --- a/meta/recipes-sato/webkit/webkitgtk/bmalloc-fix.patch +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | From 6ab7d3f7d8d0d8e1ab401d0fb13f60bbc64279a2 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Thomas Klausner <wiz@gatalith.at> | ||
| 3 | Date: Thu, 7 Nov 2024 11:54:30 -0800 | ||
| 4 | Subject: [PATCH] bmalloc: Build problem in bmalloc when X11/X.h is in the same | ||
| 5 | namespace https://bugs.webkit.org/show_bug.cgi?id=282693 | ||
| 6 | |||
| 7 | This avoids a build problem when the X11/X.h is included, | ||
| 8 | which defines Success to '0'. | ||
| 9 | |||
| 10 | Reviewed by Fujii Hironori. | ||
| 11 | |||
| 12 | * Source/bmalloc/bmalloc/EligibilityResult.h: | ||
| 13 | |||
| 14 | Canonical link: https://commits.webkit.org/286295@main | ||
| 15 | Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/6ab7d3f7d8d0d8e1ab401d0fb13f60bbc64279a2] | ||
| 16 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 17 | --- | ||
| 18 | Source/bmalloc/bmalloc/EligibilityResult.h | 5 +++++ | ||
| 19 | 1 file changed, 5 insertions(+) | ||
| 20 | |||
| 21 | diff --git a/Source/bmalloc/bmalloc/EligibilityResult.h b/Source/bmalloc/bmalloc/EligibilityResult.h | ||
| 22 | index ead7dbb52c07a..48f9e5bfe8a80 100644 | ||
| 23 | --- a/Source/bmalloc/bmalloc/EligibilityResult.h | ||
| 24 | +++ b/Source/bmalloc/bmalloc/EligibilityResult.h | ||
| 25 | @@ -29,6 +29,11 @@ | ||
| 26 | |||
| 27 | #if !BUSE(LIBPAS) | ||
| 28 | |||
| 29 | +/* avoid conflict with symbol from X11 headers */ | ||
| 30 | +#ifdef Success | ||
| 31 | +#undef Success | ||
| 32 | +#endif | ||
| 33 | + | ||
| 34 | namespace bmalloc { | ||
| 35 | |||
| 36 | enum class EligibilityKind { | ||
diff --git a/meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch b/meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch index c98d8b7727..367e6b8342 100644 --- a/meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch +++ b/meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch | |||
| @@ -11,20 +11,24 @@ this code is new in webkit 2.42[2] thats why we do not see the crash in older we | |||
| 11 | 11 | ||
| 12 | Upstream-Status: Inappropriate [work around to avoid clang compiler crash] | 12 | Upstream-Status: Inappropriate [work around to avoid clang compiler crash] |
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 14 | |||
| 15 | Update context for webkitgtk 2.48.0. | ||
| 16 | |||
| 17 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
| 14 | --- | 18 | --- |
| 15 | Source/WTF/wtf/Compiler.h | 2 +- | 19 | Source/WTF/wtf/Compiler.h | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | 21 | ||
| 18 | diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h | 22 | diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h |
| 19 | index c01ed849..b69b1527 100644 | 23 | index 16e416d..68dd9a0 100644 |
| 20 | --- a/Source/WTF/wtf/Compiler.h | 24 | --- a/Source/WTF/wtf/Compiler.h |
| 21 | +++ b/Source/WTF/wtf/Compiler.h | 25 | +++ b/Source/WTF/wtf/Compiler.h |
| 22 | @@ -290,7 +290,7 @@ | 26 | @@ -293,7 +293,7 @@ |
| 23 | #if COMPILER(CLANG) | 27 | #if COMPILER(CLANG) |
| 24 | #if __SIZEOF_POINTER__ == 8 | 28 | #if __SIZEOF_POINTER__ == 8 |
| 25 | #if !defined(MUST_TAIL_CALL) && defined(__cplusplus) && defined(__has_cpp_attribute) | 29 | #if !defined(MUST_TAIL_CALL) && defined(__cplusplus) && defined(__has_cpp_attribute) |
| 26 | -#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc__) | 30 | -#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc__) && !defined(_WIN32) |
| 27 | +#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc__) && !defined(__arm__) | 31 | +#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc__) && !defined(_WIN32) && !defined(__arm__) |
| 28 | #define MUST_TAIL_CALL [[clang::musttail]] | 32 | #define MUST_TAIL_CALL [[clang::musttail]] |
| 29 | #endif | 33 | #define HAVE_MUST_TAIL_CALL 1 |
| 30 | #endif | 34 | #endif |
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.46.6.bb b/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb index d1f24bbbf7..cb4e09662f 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.46.6.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb | |||
| @@ -15,10 +15,9 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ | |||
| 15 | file://0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch \ | 15 | file://0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch \ |
| 16 | file://no-musttail-arm.patch \ | 16 | file://no-musttail-arm.patch \ |
| 17 | file://t6-not-declared.patch \ | 17 | file://t6-not-declared.patch \ |
| 18 | file://bmalloc-fix.patch \ | ||
| 19 | file://sys_futex.patch \ | 18 | file://sys_futex.patch \ |
| 20 | " | 19 | " |
| 21 | SRC_URI[sha256sum] = "f2b31de693220ba9bab76ce6ddfe5b0bfab2515cb2b0a70f3c54d4050766c32b" | 20 | SRC_URI[sha256sum] = "94904a55cf12d44a4e36ceadafff02d46da73d76be9b4769f34cbfdf0eebf88e" |
| 22 | 21 | ||
| 23 | inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gi-docgen | 22 | inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gi-docgen |
| 24 | 23 | ||
| @@ -81,6 +80,7 @@ PACKAGECONFIG[jpegxl] = "-DUSE_JPEGXL=ON,-DUSE_JPEGXL=OFF,libjxl" | |||
| 81 | PACKAGECONFIG[backtrace] = "-DUSE_LIBBACKTRACE=ON,-DUSE_LIBBACKTRACE=OFF,libbacktrace" | 80 | PACKAGECONFIG[backtrace] = "-DUSE_LIBBACKTRACE=ON,-DUSE_LIBBACKTRACE=OFF,libbacktrace" |
| 82 | PACKAGECONFIG[gamepad] = "-DENABLE_GAMEPAD=ON,-DENABLE_GAMEPAD=OFF,libmanette" | 81 | PACKAGECONFIG[gamepad] = "-DENABLE_GAMEPAD=ON,-DENABLE_GAMEPAD=OFF,libmanette" |
| 83 | PACKAGECONFIG[sysprof-capture] = "-DUSE_SYSTEM_SYSPROF_CAPTURE=YES,-DUSE_SYSTEM_SYSPROF_CAPTURE=NO,sysprof" | 82 | PACKAGECONFIG[sysprof-capture] = "-DUSE_SYSTEM_SYSPROF_CAPTURE=YES,-DUSE_SYSTEM_SYSPROF_CAPTURE=NO,sysprof" |
| 83 | PACKAGECONFIG[speech] = "-DENABLE_SPEECH_SYNTHESIS=ON,-DENABLE_SPEECH_SYNTHESIS=OFF,flite" | ||
| 84 | 84 | ||
| 85 | EXTRA_OECMAKE = " \ | 85 | EXTRA_OECMAKE = " \ |
| 86 | -DPORT=GTK \ | 86 | -DPORT=GTK \ |
