Skip to content

Commit ec2b049

Browse files
committed
raspberrypi: Fix build for raspberrypi3
Changes: - Update patch '0001-Add-LAYER_BASED_SVG_ENGINE-envvar_v2.50.patch'. - Update 'wpewebkit_2.50.%.bbappend' to include '/usr/bin/mimalloc-3.2'. Maintenance-Type: ci
1 parent b7f5072 commit ec2b049

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

recipes-browser/wpewebkit/wpewebkit/0001-Add-LAYER_BASED_SVG_ENGINE-envvar_v2.50.patch

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
From 5fb4b3703fc19683a3689d3df557560079a71df0 Mon Sep 17 00:00:00 2001
1+
From a25216c56a57e35496ca5f1e043c1685b8eb5298 Mon Sep 17 00:00:00 2001
22
From: Pablo Saavedra <psaavedra@igalia.com>
33
Date: Wed, 24 May 2023 13:50:19 +0000
4-
Subject: [PATCH] Add LAYER_BASED_SVG_ENGINE and
4+
Subject: Add LAYER_BASED_SVG_ENGINE and LAYER_BASED_SVG_ENGINE_TOGGLER envvars
55

6-
LAYER_BASED_SVG_ENGINE_TOGGLER envvars
76
---
87
.../UIProcess/API/glib/WebKitWebView.cpp | 3 +++
98
Source/WebKit/UIProcess/WebPageProxy.cpp | 2 ++
109
Source/WebKit/WebProcess/WebPage/WebPage.cpp | 25 +++++++++++++++++++
1110
3 files changed, 30 insertions(+)
1211

1312
diff --git a/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp b/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
14-
index 277b4cdf..4ae56c8e 100644
13+
index 277b4cdf400f..4ae56c8ef1d3 100644
1514
--- a/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
1615
+++ b/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
1716
@@ -3578,6 +3578,9 @@ void webkit_web_view_reload(WebKitWebView* webView)
@@ -25,7 +24,7 @@ index 277b4cdf..4ae56c8e 100644
2524
}
2625

2726
diff --git a/Source/WebKit/UIProcess/WebPageProxy.cpp b/Source/WebKit/UIProcess/WebPageProxy.cpp
28-
index ffa22ccd..e8771a55 100644
27+
index d3967b989dfe..2795c3b135b5 100644
2928
--- a/Source/WebKit/UIProcess/WebPageProxy.cpp
3029
+++ b/Source/WebKit/UIProcess/WebPageProxy.cpp
3130
@@ -1147,8 +1147,10 @@ void WebPageProxy::notifyProcessPoolToPrewarm()
@@ -40,10 +39,10 @@ index ffa22ccd..e8771a55 100644
4039
protectedPreferences()->removePage(*this);
4140
m_preferences = preferences;
4241
diff --git a/Source/WebKit/WebProcess/WebPage/WebPage.cpp b/Source/WebKit/WebProcess/WebPage/WebPage.cpp
43-
index bf2d3f7e..ea95b826 100644
42+
index 54ab23ec581c..2334446b86dc 100644
4443
--- a/Source/WebKit/WebProcess/WebPage/WebPage.cpp
4544
+++ b/Source/WebKit/WebProcess/WebPage/WebPage.cpp
46-
@@ -497,6 +497,10 @@
45+
@@ -498,6 +498,10 @@
4746
#include <WebKitAdditions/WebPreferencesDefaultValuesAdditions.h>
4847
#endif
4948

@@ -54,7 +53,7 @@ index bf2d3f7e..ea95b826 100644
5453
namespace WebKit {
5554
using namespace JSC;
5655
using namespace WebCore;
57-
@@ -4781,6 +4785,27 @@ void WebPage::updatePreferences(const WebPreferencesStore& store)
56+
@@ -4782,6 +4786,27 @@ void WebPage::updatePreferences(const WebPreferencesStore& store)
5857

5958
updateSettingsGenerated(store, settings);
6059

@@ -67,7 +66,7 @@ index bf2d3f7e..ea95b826 100644
6766
+ } else {
6867
+ fprintf(stderr, "LAYER_BASED_SVG_ENGINE: 0 ('%s' the toggler doesn't exist)\n", lbseEnabledToggler);
6968
+ settings.setLayerBasedSVGEngineEnabled(false);
70-
+ }
69+
+ }
7170
+ } else {
7271
+ const char* lbseEnabled = getenv("LAYER_BASED_SVG_ENGINE");
7372
+ if (lbseEnabled != NULL && strcmp(lbseEnabled, "1") == 0) {
@@ -82,3 +81,4 @@ index bf2d3f7e..ea95b826 100644
8281
#if !PLATFORM(GTK) && !PLATFORM(WIN) && !PLATFORM(PLAYSTATION)
8382
if (!settings.acceleratedCompositingEnabled()) {
8483
WEBPAGE_RELEASE_LOG(Layers, "updatePreferences: acceleratedCompositingEnabled setting was false. WebKit cannot function in this mode; changing setting to true");
84+

recipes-browser/wpewebkit/wpewebkit_2.50.%.bbappend

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,7 @@ PACKAGECONFIG:remove = "speech-synthesis"
1717
TOOLCHAIN:aarch64 = "clang"
1818
LIBCPLUSPLUS:aarch64 = "-stdlib=libc++"
1919

20+
FILES:${PN} += "${libdir}/mimalloc-3.2*"
21+
2022
# Added for 2.52.x
2123
PACKAGECONFIG[libhyphen] = "-DUSE_LIBHYPHEN=ON,-DUSE_LIBHYPHEN=OFF,libhyphen"

0 commit comments

Comments
 (0)