summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHitendra Prajapati <hprajapati@mvista.com>2024-09-30 10:28:57 +0530
committerSteve Sakoman <steve@sakoman.com>2024-10-11 05:47:38 -0700
commit4639bc950311f091fa7fe42d4cc81ade9b16515c (patch)
tree80783a845d0dc33d3ff4d2af78b4418400b11352
parent2186202022d16e73f76596bb85c07223d63e61e3 (diff)
downloadpoky-4639bc950311f091fa7fe42d4cc81ade9b16515c.tar.gz
webkitgtk: upgrade 2.44.1 -> 2.44.3
Remove below patches which already fix in this upgraded version. 0001-Remove-ARM-specific-declarations-in-FELighting.h-unn.patch 0002-More-dynamicDowncast-adoption-in-platform-code.patch (From OE-Core rev: 9a05f72805fa4c8ac408024bc8cd51892ad4a37c) Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch6
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch2
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0001-Remove-ARM-specific-declarations-in-FELighting.h-unn.patch44
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0002-More-dynamicDowncast-adoption-in-platform-code.patch65
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch2
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch6
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/reproducibility.patch2
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/t6-not-declared.patch12
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.44.3.bb (renamed from meta/recipes-sato/webkit/webkitgtk_2.44.1.bb)6
9 files changed, 16 insertions, 129 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch b/meta/recipes-sato/webkit/webkitgtk/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch
index a819e22127..a19008a41f 100644
--- a/meta/recipes-sato/webkit/webkitgtk/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch
@@ -1,4 +1,4 @@
1From 575b848a3b3c14280679db80d0d518922c83d62a Mon Sep 17 00:00:00 2001 1From 99a21305ae683a216e9299e5dbdd763190a8cfe3 Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com> 2From: Kai Kang <kai.kang@windriver.com>
3Date: Fri, 11 Aug 2023 14:20:48 +0800 3Date: Fri, 11 Aug 2023 14:20:48 +0800
4Subject: [PATCH] Add a variable to control macro 4Subject: [PATCH] Add a variable to control macro
@@ -57,10 +57,10 @@ index 5d5fb38c..a554f700 100644
57 #else 57 #else
58 #define __PAS_ALWAYS_INLINE_BUT_NOT_INLINE 58 #define __PAS_ALWAYS_INLINE_BUT_NOT_INLINE
59diff --git a/Source/cmake/WebKitCompilerFlags.cmake b/Source/cmake/WebKitCompilerFlags.cmake 59diff --git a/Source/cmake/WebKitCompilerFlags.cmake b/Source/cmake/WebKitCompilerFlags.cmake
60index 9b2fecf9..7cdc2b6a 100644 60index 0732785e..4879ec40 100644
61--- a/Source/cmake/WebKitCompilerFlags.cmake 61--- a/Source/cmake/WebKitCompilerFlags.cmake
62+++ b/Source/cmake/WebKitCompilerFlags.cmake 62+++ b/Source/cmake/WebKitCompilerFlags.cmake
63@@ -453,3 +453,10 @@ endif () 63@@ -452,3 +452,10 @@ endif ()
64 64
65 # FIXME: Enable pre-compiled headers for all ports <https://webkit.org/b/139438> 65 # FIXME: Enable pre-compiled headers for all ports <https://webkit.org/b/139438>
66 set(CMAKE_DISABLE_PRECOMPILE_HEADERS ON) 66 set(CMAKE_DISABLE_PRECOMPILE_HEADERS ON)
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch b/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
index 8e29ce17ed..dda20a7b25 100644
--- a/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
@@ -1,4 +1,4 @@
1From 6348f91c29e2350ad3fec5264aa57dd4994d4583 Mon Sep 17 00:00:00 2001 1From d1f6a1b6a1298f6ef2f1677e9996aa60a002134a Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 27 Oct 2015 16:02:19 +0200 3Date: Tue, 27 Oct 2015 16:02:19 +0200
4Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained 4Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-Remove-ARM-specific-declarations-in-FELighting.h-unn.patch b/meta/recipes-sato/webkit/webkitgtk/0001-Remove-ARM-specific-declarations-in-FELighting.h-unn.patch
deleted file mode 100644
index 6ffe0a9454..0000000000
--- a/meta/recipes-sato/webkit/webkitgtk/0001-Remove-ARM-specific-declarations-in-FELighting.h-unn.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From dbd1a59b239b3902e717fdeb063883dbb0b06ee9 Mon Sep 17 00:00:00 2001
2From: Adrian Perez de Castro <aperez@igalia.com>
3Date: Sun, 26 May 2024 14:24:35 -0700
4Subject: [PATCH 1/2] Remove ARM-specific declarations in FELighting.h unneeded
5 after 272873@main
6
7Unreviewed build fix.
8
9* Source/WebCore/platform/graphics/filters/FELighting.h: Remove unneeded
10 declarations for the getPowerCoefficients() and platformApplyNeon()
11 functions, which are now defined elsewhere; and were causing a build
12 failure due to usage of the protected LightingData type.
13
14Canonical link: https://commits.webkit.org/279334@main
15
16Backport this patch for fixing following compile error:
17webkitgtk-2.44.1/Source/WebCore/platform/graphics/filters/FELighting.h:73:41: error: 'LightingData' does not name a type
18 73 | inline void platformApplyNeon(const LightingData&, const LightSource::PaintingData&);
19
20Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/36d1b5d7c0ef9a733ee8055b1f35b1d24435d538]
21Signed-off-by: Changqing Li <changqing.li@windriver.com>
22---
23 Source/WebCore/platform/graphics/filters/FELighting.h | 5 -----
24 1 file changed, 5 deletions(-)
25
26diff --git a/Source/WebCore/platform/graphics/filters/FELighting.h b/Source/WebCore/platform/graphics/filters/FELighting.h
27index 4efab920..dcd80b6f 100644
28--- a/Source/WebCore/platform/graphics/filters/FELighting.h
29+++ b/Source/WebCore/platform/graphics/filters/FELighting.h
30@@ -68,11 +68,6 @@ protected:
31
32 std::unique_ptr<FilterEffectApplier> createSoftwareApplier() const override;
33
34-#if CPU(ARM_NEON) && CPU(ARM_TRADITIONAL) && COMPILER(GCC_COMPATIBLE)
35- static int getPowerCoefficients(float exponent);
36- inline void platformApplyNeon(const LightingData&, const LightSource::PaintingData&);
37-#endif
38-
39 Color m_lightingColor;
40 float m_surfaceScale;
41 float m_diffuseConstant;
42--
432.25.1
44
diff --git a/meta/recipes-sato/webkit/webkitgtk/0002-More-dynamicDowncast-adoption-in-platform-code.patch b/meta/recipes-sato/webkit/webkitgtk/0002-More-dynamicDowncast-adoption-in-platform-code.patch
deleted file mode 100644
index a0c7b6bd57..0000000000
--- a/meta/recipes-sato/webkit/webkitgtk/0002-More-dynamicDowncast-adoption-in-platform-code.patch
+++ /dev/null
@@ -1,65 +0,0 @@
1From 88fa4b49a10ecfb74c36c678c1e2b76136357153 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 12 Jul 2024 10:16:05 +0800
4Subject: [PATCH 2/2] More dynamicDowncast<> adoption in platform code
5
6Backport part of commit [90d13e7 More dynamicDowncast<> adoption in
7platform code] to fix following compile error for ARM_NEON:
8webkitgtk-2.44.1/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp:545:37: error: 'LS_POINT' was not declared in this scope; did you mean 'WebCore::LightType::LS_POINT'?
9 545 | if (data.lightSource->type() == LS_POINT) {
10 | ^~~~~~~~
11 | WebCore::LightType::LS_POINT
12
13Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/90d13e77ab2192b7efa8e763eeb8b08dbbb6d5c3]
14
15Signed-off-by: Changqing Li <changqing.li@windriver.com>
16---
17 .../filters/FELightingNeonParallelApplier.cpp | 22 +++++++++----------
18 1 file changed, 10 insertions(+), 12 deletions(-)
19
20diff --git a/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp b/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp
21index 04d855fa..dccc003d 100644
22--- a/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp
23+++ b/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp
24@@ -542,19 +542,17 @@ void FELightingNeonParallelApplier::applyPlatformParallel(const LightingData& da
25 floatArguments.colorBlue = color.blue;
26 floatArguments.padding4 = 0;
27
28- if (data.lightSource->type() == LS_POINT) {
29+ if (auto* pointLightSource = dynamicDowncast<PointLightSource>(*data.lightSource)) {
30 neonData.flags |= FLAG_POINT_LIGHT;
31- auto& pointLightSource = downcast<PointLightSource>(*data.lightSource);
32- floatArguments.lightX = pointLightSource.position().x();
33- floatArguments.lightY = pointLightSource.position().y();
34- floatArguments.lightZ = pointLightSource.position().z();
35+ floatArguments.lightX = pointLightSource->position().x();
36+ floatArguments.lightY = pointLightSource->position().y();
37+ floatArguments.lightZ = pointLightSource->position().z();
38 floatArguments.padding2 = 0;
39- } else if (data.lightSource->type() == LS_SPOT) {
40+ } else if (auto* spotLightSource = dynamicDowncast<SpotLightSource>(*data.lightSource)) {
41 neonData.flags |= FLAG_SPOT_LIGHT;
42- auto& spotLightSource = downcast<SpotLightSource>(*data.lightSource);
43- floatArguments.lightX = spotLightSource.position().x();
44- floatArguments.lightY = spotLightSource.position().y();
45- floatArguments.lightZ = spotLightSource.position().z();
46+ floatArguments.lightX = spotLightSource->position().x();
47+ floatArguments.lightY = spotLightSource->position().y();
48+ floatArguments.lightZ = spotLightSource->position().z();
49 floatArguments.padding2 = 0;
50
51 floatArguments.directionX = paintingData.directionVector.x();
52@@ -565,8 +563,8 @@ void FELightingNeonParallelApplier::applyPlatformParallel(const LightingData& da
53 floatArguments.coneCutOffLimit = paintingData.coneCutOffLimit;
54 floatArguments.coneFullLight = paintingData.coneFullLight;
55 floatArguments.coneCutOffRange = paintingData.coneCutOffLimit - paintingData.coneFullLight;
56- neonData.coneExponent = getPowerCoefficients(spotLightSource.specularExponent());
57- if (spotLightSource.specularExponent() == 1)
58+ neonData.coneExponent = getPowerCoefficients(spotLightSource->specularExponent());
59+ if (spotLightSource->specularExponent() == 1)
60 neonData.flags |= FLAG_CONE_EXPONENT_IS_1;
61 } else {
62 ASSERT(data.lightSource->type() == LS_DISTANT);
63--
642.25.1
65
diff --git a/meta/recipes-sato/webkit/webkitgtk/30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch b/meta/recipes-sato/webkit/webkitgtk/30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch
index 76bcb3df99..0d8976c502 100644
--- a/meta/recipes-sato/webkit/webkitgtk/30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch
@@ -1,4 +1,4 @@
1From 1523e00a2a76e285262c8aa3721b5d99f3f2d612 Mon Sep 17 00:00:00 2001 1From 2ee948191de1c561b72ebf462605376cfb3ce7af Mon Sep 17 00:00:00 2001
2From: Thomas Devoogdt <thomas.devoogdt@barco.com> 2From: Thomas Devoogdt <thomas.devoogdt@barco.com>
3Date: Mon, 16 Jan 2023 17:03:30 +0100 3Date: Mon, 16 Jan 2023 17:03:30 +0100
4Subject: [PATCH] REGRESSION(257865@main): B3Validate.cpp: fix 4Subject: [PATCH] REGRESSION(257865@main): B3Validate.cpp: fix
diff --git a/meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch b/meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch
index 8ce37a01cc..793be48df2 100644
--- a/meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch
@@ -1,4 +1,4 @@
1From a9c874f7418cefbe78f7cd26505ae495cb59bbcf Mon Sep 17 00:00:00 2001 1From 31dca9601888f2a539dfb22693ffd62c22ee8912 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 12 Jan 2024 09:21:39 -0800 3Date: Fri, 12 Jan 2024 09:21:39 -0800
4Subject: [PATCH] clang/arm: Do not use MUST_TAIL_CALL 4Subject: [PATCH] clang/arm: Do not use MUST_TAIL_CALL
@@ -16,10 +16,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
16 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
17 17
18diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h 18diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h
19index 0ea5cb76..c5480dbc 100644 19index 449ca502..daac29d7 100644
20--- a/Source/WTF/wtf/Compiler.h 20--- a/Source/WTF/wtf/Compiler.h
21+++ b/Source/WTF/wtf/Compiler.h 21+++ b/Source/WTF/wtf/Compiler.h
22@@ -284,7 +284,7 @@ 22@@ -321,7 +321,7 @@
23 /* MUST_TAIL_CALL */ 23 /* MUST_TAIL_CALL */
24 24
25 #if !defined(MUST_TAIL_CALL) && defined(__cplusplus) && defined(__has_cpp_attribute) 25 #if !defined(MUST_TAIL_CALL) && defined(__cplusplus) && defined(__has_cpp_attribute)
diff --git a/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch b/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch
index 93a431a0b1..d614a1ee4f 100644
--- a/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/reproducibility.patch
@@ -1,4 +1,4 @@
1From d096b945113ddecaf33062296e20b6d5a007cab3 Mon Sep 17 00:00:00 2001 1From cb5458b5d15aafa3543a47a33975609026d45d32 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Mon, 3 Jan 2022 14:18:34 +0000 3Date: Mon, 3 Jan 2022 14:18:34 +0000
4Subject: [PATCH] webkitgtk: Add reproducibility fix 4Subject: [PATCH] webkitgtk: Add reproducibility fix
diff --git a/meta/recipes-sato/webkit/webkitgtk/t6-not-declared.patch b/meta/recipes-sato/webkit/webkitgtk/t6-not-declared.patch
index d4720e4f28..064925dace 100644
--- a/meta/recipes-sato/webkit/webkitgtk/t6-not-declared.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/t6-not-declared.patch
@@ -1,10 +1,9 @@
1From 3d5373575695b293b8559155431d0079a6153aff Mon Sep 17 00:00:00 2001 1From 36c092723ec6d4908039341c9d157db8ab1c0a59 Mon Sep 17 00:00:00 2001
2From: Michael Catanzaro <mcatanzaro@redhat.com> 2From: Michael Catanzaro <mcatanzaro@redhat.com>
3Date: Mon, 5 Feb 2024 11:00:49 -0600 3Date: Mon, 5 Feb 2024 11:00:49 -0600
4Subject: [PATCH] =?UTF-8?q?[GTK]=20[2.42.5]=20LowLevelInterpreter.cpp:339:?= 4Subject: [PATCH] =?UTF-8?q?LowLevelInterpreter.cpp:339:21:=20error:=20?=
5 =?UTF-8?q?21:=20error:=20=E2=80=98t6=E2=80=99=20was=20not=20declared=20in?= 5 =?UTF-8?q?=E2=80=98t6=E2=80=99=20was=20not=20declared=20in=20this=20scope?=
6 =?UTF-8?q?=20this=20scope=20https://bugs.webkit.org/show=5Fbug.cgi=3Fid?= 6 =?UTF-8?q?=20https://bugs.webkit.org/show=5Fbug.cgi=3Fid=3D268739?=
7 =?UTF-8?q?=3D268739?=
8MIME-Version: 1.0 7MIME-Version: 1.0
9Content-Type: text/plain; charset=UTF-8 8Content-Type: text/plain; charset=UTF-8
10Content-Transfer-Encoding: 8bit 9Content-Transfer-Encoding: 8bit
@@ -22,7 +21,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
22 1 file changed, 2 deletions(-) 21 1 file changed, 2 deletions(-)
23 22
24diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp 23diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
25index 5064ead6cd2e7..9a2e2653b1219 100644 24index 75cecbbd..b1020ea4 100644
26--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp 25--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
27+++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp 26+++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
28@@ -336,8 +336,6 @@ JSValue CLoop::execute(OpcodeID entryOpcodeID, void* executableAddress, VM* vm, 27@@ -336,8 +336,6 @@ JSValue CLoop::execute(OpcodeID entryOpcodeID, void* executableAddress, VM* vm,
@@ -34,4 +33,3 @@ index 5064ead6cd2e7..9a2e2653b1219 100644
34 33
35 struct StackPointerScope { 34 struct StackPointerScope {
36 StackPointerScope(CLoopStack& stack) 35 StackPointerScope(CLoopStack& stack)
37
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.44.1.bb b/meta/recipes-sato/webkit/webkitgtk_2.44.3.bb
index c4a3c464c1..90fb7a1d42 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.44.1.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.44.3.bb
@@ -16,10 +16,8 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
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://30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch \ 18 file://30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch \
19 file://0001-Remove-ARM-specific-declarations-in-FELighting.h-unn.patch \
20 file://0002-More-dynamicDowncast-adoption-in-platform-code.patch \
21 " 19 "
22SRC_URI[sha256sum] = "425b1459b0f04d0600c78d1abb5e7edfa3c060a420f8b231e9a6a2d5d29c5561" 20SRC_URI[sha256sum] = "dc82d042ecaca981a4852357c06e5235743319cf10a94cd36ad41b97883a0b54"
23 21
24inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gi-docgen 22inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gi-docgen
25 23
@@ -95,7 +93,7 @@ EXTRA_OECMAKE = " \
95 93
96# Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of the 94# Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of the
97# debug symbols (4.3GB to 700M at time of writing) 95# debug symbols (4.3GB to 700M at time of writing)
98DEBUG_FLAGS:append = "${@oe.utils.vartrue('DEBUG_BUILD', '', ' -g1', d)}" 96DEBUG_LEVELFLAG = "-g1"
99 97
100# Javascript JIT is not supported on ARC 98# Javascript JIT is not supported on ARC
101EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF " 99EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF "