summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-05-13 00:56:06 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-13 11:34:14 +0100
commit1e122267fd94ca17fde4ad459ad056a46fc7a9c3 (patch)
tree8fa82670f5f415ef5a9688bbe06328e24b7a78a2 /meta/recipes-sato
parent5dd7fde24fa4c8ab747ac6b8898f30eb34705869 (diff)
downloadpoky-1e122267fd94ca17fde4ad459ad056a46fc7a9c3.tar.gz
webkitgtk: fix build without opengl in DISTRO_FEATURES
(From OE-Core rev: 3b46038685c4d319ca0c88b3519cde04d615dc2a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0001-Properly-use-CompletionHandler-when-USE_OPENGL_OR_ES.patch37
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.32.0.bb1
2 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-Properly-use-CompletionHandler-when-USE_OPENGL_OR_ES.patch b/meta/recipes-sato/webkit/webkitgtk/0001-Properly-use-CompletionHandler-when-USE_OPENGL_OR_ES.patch
new file mode 100644
index 0000000000..b5367022d8
--- /dev/null
+++ b/meta/recipes-sato/webkit/webkitgtk/0001-Properly-use-CompletionHandler-when-USE_OPENGL_OR_ES.patch
@@ -0,0 +1,37 @@
1From 834f335bb3e63e0bf78eed0520df33d5c55e5e8a Mon Sep 17 00:00:00 2001
2From: "commit-queue@webkit.org"
3 <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
4Date: Sat, 10 Apr 2021 22:02:50 +0000
5Subject: [PATCH] Properly use CompletionHandler when USE_OPENGL_OR_ES is set
6 to OFF https://bugs.webkit.org/show_bug.cgi?id=224149
7MIME-Version: 1.0
8Content-Type: text/plain; charset=UTF-8
9Content-Transfer-Encoding: 8bit
10
11Patch by Charlène Wendling <julianaito@posteo.jp> on 2021-04-10
12Reviewed by Fujii Hironori.
13
14* WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h:
15(WebKit::LayerTreeHost::forceRepaintAsync):
16
17git-svn-id: http://svn.webkit.org/repository/webkit/trunk@275802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18
19Upstream-Status: Backport
20Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
21---
22 .../WebPage/CoordinatedGraphics/LayerTreeHost.h | 2 +-
23 2 files changed, 11 insertions(+), 1 deletion(-)
24
25diff --git a/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h b/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
26index 6727d16c8c0b..db65f813267d 100644
27--- a/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
28+++ b/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
29@@ -213,7 +213,7 @@ inline void LayerTreeHost::setRootCompositingLayer(WebCore::GraphicsLayer*) { }
30 inline void LayerTreeHost::setViewOverlayRootLayer(WebCore::GraphicsLayer*) { }
31 inline void LayerTreeHost::scrollNonCompositedContents(const WebCore::IntRect&) { }
32 inline void LayerTreeHost::forceRepaint() { }
33-inline bool LayerTreeHost::forceRepaintAsync(CompletionHandler<void()>&) { return false; }
34+inline void LayerTreeHost::forceRepaintAsync(CompletionHandler<void()>&&) { }
35 inline void LayerTreeHost::sizeDidChange(const WebCore::IntSize&) { }
36 inline void LayerTreeHost::pauseRendering() { }
37 inline void LayerTreeHost::resumeRendering() { }
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.32.0.bb b/meta/recipes-sato/webkit/webkitgtk_2.32.0.bb
index 8a07fadd9b..31a6c97a32 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.32.0.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.32.0.bb
@@ -21,6 +21,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
21 file://musl-lower-stack-usage.patch \ 21 file://musl-lower-stack-usage.patch \
22 file://0001-MiniBrowser-Fix-reproduciblity.patch \ 22 file://0001-MiniBrowser-Fix-reproduciblity.patch \
23 file://49a19c49c6de8af74e521f36cb43e6c1ec2e391c.patch \ 23 file://49a19c49c6de8af74e521f36cb43e6c1ec2e391c.patch \
24 file://0001-Properly-use-CompletionHandler-when-USE_OPENGL_OR_ES.patch \
24 " 25 "
25 26
26SRC_URI[sha256sum] = "9d7df4dae9ada2394257565acc2a68ace9308c4c61c3fcc00111dc1f11076bf0" 27SRC_URI[sha256sum] = "9d7df4dae9ada2394257565acc2a68ace9308c4c61c3fcc00111dc1f11076bf0"