mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/webkitgtk: bump to version 2.42.2
Update to a new major release. Release notes: https://webkitgtk.org/2023/09/15/webkitgtk2.42.0-released.html https://webkitgtk.org/2023/09/27/webkitgtk2.42.1-released.html https://webkitgtk.org/2023/11/10/webkitgtk2.42.2-released.html Security notes: https://webkitgtk.org/security/WSA-2023-0008.html - USE_JPEGXL is enabled by default now [1], so add a libjxl if used. - ENABLE_GLES2 has been dropped, so drop it also here [2]. Instead, enable USE_OPENGL_OR_ES if libgles is present. Beware that also libegl is needed for USE_OPENGL_OR_ES, but that one is most of the time a dependency for libgles, so leave it out here. - Also raise the minimal GCC version to 10.2, which is required since webkitgtk-2.42.x [3]. Similar to commitec1ff802df, we do check on >= GCC 10, because we can't check on >= GCC 10.2. [1]93865414f3[2]cfe917fec4[3]133498aaeeSigned-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> Tested-by: Adrian Perez de Castro <aperez@igalia.com> Acked-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commitc4abff80b0) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
05292fbfdb
commit
54be12aaed
@@ -1,36 +0,0 @@
|
|||||||
From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matt Turner <mattst88@gmail.com>
|
|
||||||
Date: Tue, 8 Aug 2023 16:51:25 -0700
|
|
||||||
Subject: [PATCH] Fix build failure when gstreamer support is disabled
|
|
||||||
https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663
|
|
||||||
|
|
||||||
Reviewed by Carlos Alberto Lopez Perez.
|
|
||||||
|
|
||||||
* Source/WebCore/loader/MixedContentChecker.cpp:
|
|
||||||
|
|
||||||
Canonical link: https://commits.webkit.org/260527.429@fix-build
|
|
||||||
|
|
||||||
(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732)
|
|
||||||
|
|
||||||
Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732
|
|
||||||
Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
|
|
||||||
---
|
|
||||||
Source/WebCore/loader/MixedContentChecker.cpp | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp
|
|
||||||
index 9b4c7fe62020..ac4733bc08bc 100644
|
|
||||||
--- a/Source/WebCore/loader/MixedContentChecker.cpp
|
|
||||||
+++ b/Source/WebCore/loader/MixedContentChecker.cpp
|
|
||||||
@@ -33,6 +33,8 @@
|
|
||||||
#include "ContentSecurityPolicy.h"
|
|
||||||
#include "Document.h"
|
|
||||||
#include "Frame.h"
|
|
||||||
+#include "FrameLoader.h"
|
|
||||||
+#include "FrameLoaderClient.h"
|
|
||||||
#include "SecurityOrigin.h"
|
|
||||||
|
|
||||||
namespace WebCore {
|
|
||||||
--
|
|
||||||
2.42.0
|
|
||||||
|
|
||||||
@@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
|||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
|
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
|
||||||
|
|
||||||
comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9"
|
comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 10, host gcc >= 4.9"
|
||||||
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
||||||
depends on !BR2_BINFMT_FLAT
|
depends on !BR2_BINFMT_FLAT
|
||||||
depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \
|
depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \
|
||||||
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
||||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \
|
||||||
!BR2_HOST_GCC_AT_LEAST_4_9
|
!BR2_HOST_GCC_AT_LEAST_4_9
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK
|
|||||||
depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby
|
depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup
|
depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10
|
||||||
depends on BR2_USE_WCHAR # icu, libsoup
|
depends on BR2_USE_WCHAR # icu, libsoup
|
||||||
depends on BR2_PACKAGE_LIBGTK3
|
depends on BR2_PACKAGE_LIBGTK3
|
||||||
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums
|
# From https://www.webkitgtk.org/releases/webkitgtk-2.42.2.tar.xz.sums
|
||||||
sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz
|
sha1 05bec6a824e46f043b865478735bc8395249510e webkitgtk-2.42.2.tar.xz
|
||||||
sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz
|
sha256 5720aa3e8627f1b9f63252187d4df0f8233ae71d697b1796ebfbe5ca750bd118 webkitgtk-2.42.2.tar.xz
|
||||||
|
|
||||||
# Hashes for license files:
|
# Hashes for license files:
|
||||||
sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE
|
sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
WEBKITGTK_VERSION = 2.40.5
|
WEBKITGTK_VERSION = 2.42.2
|
||||||
WEBKITGTK_SITE = https://www.webkitgtk.org/releases
|
WEBKITGTK_SITE = https://www.webkitgtk.org/releases
|
||||||
WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz
|
WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz
|
||||||
WEBKITGTK_INSTALL_STAGING = YES
|
WEBKITGTK_INSTALL_STAGING = YES
|
||||||
@@ -71,6 +71,13 @@ else
|
|||||||
WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=OFF
|
WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBJXL),y)
|
||||||
|
WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=ON
|
||||||
|
WEBKITGTK_DEPENDENCIES += libjxl
|
||||||
|
else
|
||||||
|
WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBMANETTE),y)
|
ifeq ($(BR2_PACKAGE_LIBMANETTE),y)
|
||||||
WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=ON
|
WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=ON
|
||||||
WEBKITGTK_DEPENDENCIES += libmanette
|
WEBKITGTK_DEPENDENCIES += libmanette
|
||||||
@@ -78,12 +85,11 @@ else
|
|||||||
WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=OFF
|
WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Use GLES if available and desktop GL is not.
|
ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
|
||||||
ifeq ($(BR2_PACKAGE_HAS_LIBGL):$(BR2_PACKAGE_HAS_LIBGLES),:y)
|
WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=ON
|
||||||
WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=ON
|
|
||||||
WEBKITGTK_DEPENDENCIES += libgles
|
WEBKITGTK_DEPENDENCIES += libgles
|
||||||
else
|
else
|
||||||
WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF
|
WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y)
|
ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user