diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-05-13 00:56:06 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-13 11:34:14 +0100 |
commit | 1e122267fd94ca17fde4ad459ad056a46fc7a9c3 (patch) | |
tree | 8fa82670f5f415ef5a9688bbe06328e24b7a78a2 /meta/recipes-sato | |
parent | 5dd7fde24fa4c8ab747ac6b8898f30eb34705869 (diff) | |
download | poky-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.patch | 37 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk_2.32.0.bb | 1 |
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 @@ | |||
1 | From 834f335bb3e63e0bf78eed0520df33d5c55e5e8a Mon Sep 17 00:00:00 2001 | ||
2 | From: "commit-queue@webkit.org" | ||
3 | <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | ||
4 | Date: Sat, 10 Apr 2021 22:02:50 +0000 | ||
5 | Subject: [PATCH] Properly use CompletionHandler when USE_OPENGL_OR_ES is set | ||
6 | to OFF https://bugs.webkit.org/show_bug.cgi?id=224149 | ||
7 | MIME-Version: 1.0 | ||
8 | Content-Type: text/plain; charset=UTF-8 | ||
9 | Content-Transfer-Encoding: 8bit | ||
10 | |||
11 | Patch by Charlène Wendling <julianaito@posteo.jp> on 2021-04-10 | ||
12 | Reviewed by Fujii Hironori. | ||
13 | |||
14 | * WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h: | ||
15 | (WebKit::LayerTreeHost::forceRepaintAsync): | ||
16 | |||
17 | git-svn-id: http://svn.webkit.org/repository/webkit/trunk@275802 268f45cc-cd09-0410-ab3c-d52691b4dbfc | ||
18 | |||
19 | Upstream-Status: Backport | ||
20 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
21 | --- | ||
22 | .../WebPage/CoordinatedGraphics/LayerTreeHost.h | 2 +- | ||
23 | 2 files changed, 11 insertions(+), 1 deletion(-) | ||
24 | |||
25 | diff --git a/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h b/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h | ||
26 | index 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 | ||
26 | SRC_URI[sha256sum] = "9d7df4dae9ada2394257565acc2a68ace9308c4c61c3fcc00111dc1f11076bf0" | 27 | SRC_URI[sha256sum] = "9d7df4dae9ada2394257565acc2a68ace9308c4c61c3fcc00111dc1f11076bf0" |