diff --git a/fix-warnings.patch b/fix-warnings.patch deleted file mode 100644 index e55a79d..0000000 --- a/fix-warnings.patch +++ /dev/null @@ -1,52 +0,0 @@ -From bca7975b39efea16e6e669853fe897d0d6bd89f7 Mon Sep 17 00:00:00 2001 -From: "commit-queue@webkit.org" - -Date: Fri, 3 Sep 2021 12:07:18 +0000 -Subject: [PATCH] Silence more -Wreturn-type warnings - https://bugs.webkit.org/show_bug.cgi?id=229858 - -Unreviewed. - -Patch by Michael Catanzaro on 2021-09-03 - -* runtime/TemporalDuration.cpp: -(JSC::propertyName): -* runtime/TemporalObject.cpp: -(JSC::roundNumberToIncrement): - -git-svn-id: http://svn.webkit.org/repository/webkit/trunk@281986 268f45cc-cd09-0410-ab3c-d52691b4dbfc ---- - Source/JavaScriptCore/ChangeLog | 12 ++++++++++++ - Source/JavaScriptCore/runtime/TemporalDuration.cpp | 2 ++ - Source/JavaScriptCore/runtime/TemporalObject.cpp | 2 ++ - 3 files changed, 16 insertions(+) - -diff --git a/Source/JavaScriptCore/runtime/TemporalDuration.cpp b/Source/JavaScriptCore/runtime/TemporalDuration.cpp -index 67ad4e819ff4..0da24a52557e 100644 ---- a/Source/JavaScriptCore/runtime/TemporalDuration.cpp -+++ b/Source/JavaScriptCore/runtime/TemporalDuration.cpp -@@ -42,6 +42,8 @@ static PropertyName propertyName(VM& vm, unsigned index) - JSC_TEMPORAL_UNITS(JSC_TEMPORAL_DURATION_PROPERTY_NAME) - #undef JSC_TEMPORAL_DURATION_PROPERTY_NAME - } -+ -+ RELEASE_ASSERT_NOT_REACHED(); - } - - const ClassInfo TemporalDuration::s_info = { "Object", &Base::s_info, nullptr, nullptr, CREATE_METHOD_TABLE(TemporalDuration) }; -diff --git a/Source/JavaScriptCore/runtime/TemporalObject.cpp b/Source/JavaScriptCore/runtime/TemporalObject.cpp -index 9535719f7ec1..e9b872d2418a 100644 ---- a/Source/JavaScriptCore/runtime/TemporalObject.cpp -+++ b/Source/JavaScriptCore/runtime/TemporalObject.cpp -@@ -328,6 +328,8 @@ double roundNumberToIncrement(double x, double increment, RoundingMode mode) - case RoundingMode::HalfExpand: - return std::round(quotient) * increment; - } -+ -+ RELEASE_ASSERT_NOT_REACHED(); - } - - } // namespace JSC --- -2.32.0 - diff --git a/no-forced-sse.patch b/no-forced-sse.patch index 3d18ee4..3a8e1dd 100644 --- a/no-forced-sse.patch +++ b/no-forced-sse.patch @@ -1,29 +1,9 @@ -From: Jan Engelhardt -Date: 2020-01-30 14:15:51.612533365 +0100 - -cmake tests whether the compiler can emit SSE, which is the wrongest of all -options. (At the very least, a build system would check the buildhost's actual -CPU feature set; while not great, there are convincable usecases for doing -that.) - -Disable unconditional emission of -msse2 into the command line. -On x86_64 where SSE2 is always available, gcc already implies -msse2 -anyway, so there should not be anything lost by removing this block -of makefilery. - ---- - Source/cmake/WebKitCompilerFlags.cmake | 9 --------- - 1 file changed, 9 deletions(-) - -Index: webkitgtk-2.33.3/Source/cmake/WebKitCompilerFlags.cmake -=================================================================== ---- webkitgtk-2.33.3.orig/Source/cmake/WebKitCompilerFlags.cmake -+++ webkitgtk-2.33.3/Source/cmake/WebKitCompilerFlags.cmake -@@ -148,15 +148,6 @@ if (COMPILER_IS_GCC_OR_CLANG) - if (CMAKE_CXX_COMPILER_ID MATCHES "GNU") +--- orig-webkitgtk-2.35.3/Source/cmake/WebKitCompilerFlags.cmake 2022-02-10 14:13:15.967239967 +0100 ++++ webkitgtk-2.35.3/Source/cmake/WebKitCompilerFlags.cmake 2022-02-10 18:20:56.008703314 +0100 +@@ -156,15 +156,6 @@ WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-Wno-expansion-to-defined) endif () -- + - # Force SSE2 fp on x86 builds. - if (WTF_CPU_X86 AND NOT CMAKE_CROSSCOMPILING) - WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-msse2 -mfpmath=sse) @@ -32,6 +12,7 @@ Index: webkitgtk-2.33.3/Source/cmake/WebKitCompilerFlags.cmake - message(FATAL_ERROR "SSE2 support is required to compile WebKit") - endif () - endif () - endif () - - if (COMPILER_IS_GCC_OR_CLANG AND NOT MSVC) +- + # Makes builds faster. The GCC manual warns about the possibility that the assembler being + # used may not support input from a pipe, but in practice the toolchains we support all do. + WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-pipe) diff --git a/webkit2gtk3-link-fix.patch b/webkit2gtk3-link-fix.patch deleted file mode 100644 index 4d09611..0000000 --- a/webkit2gtk3-link-fix.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 94396c05ce816b9f7245ac493367c84219cef407 Mon Sep 17 00:00:00 2001 -From: "ysuzuki@apple.com" - -Date: Thu, 2 Sep 2021 08:13:12 +0000 -Subject: [PATCH] Unreviewed, annotate executeJSCJITProbe with - REFERENCED_FROM_ASM WTF_INTERNAL - -* assembler/ProbeContext.h: - -git-svn-id: http://svn.webkit.org/repository/webkit/trunk@281911 268f45cc-cd09-0410-ab3c-d52691b4dbfc ---- - Source/JavaScriptCore/ChangeLog | 6 ++++++ - Source/JavaScriptCore/assembler/ProbeContext.h | 2 +- - 2 files changed, 7 insertions(+), 1 deletion(-) - -diff --git a/Source/JavaScriptCore/assembler/ProbeContext.h b/Source/JavaScriptCore/assembler/ProbeContext.h -index 54db1ce832ef..36f430bcb509 100644 ---- a/Source/JavaScriptCore/assembler/ProbeContext.h -+++ b/Source/JavaScriptCore/assembler/ProbeContext.h -@@ -249,7 +249,7 @@ private: - friend JS_EXPORT_PRIVATE void* probeStateForContext(Context&); // Not for general use. This should only be for writing tests. - }; - --extern "C" void executeJSCJITProbe(State*); -+extern "C" void executeJSCJITProbe(State*) REFERENCED_FROM_ASM WTF_INTERNAL; - - } // namespace Probe - } // namespace JSC --- -2.33.0 - diff --git a/webkit2gtk3.changes b/webkit2gtk3.changes index 6d4f824..cf48f18 100644 --- a/webkit2gtk3.changes +++ b/webkit2gtk3.changes @@ -1,3 +1,72 @@ +------------------------------------------------------------------- +Mon Mar 21 19:45:49 UTC 2022 - Bjørn Lie + +- Update to version 2.36.0: + + Add new accessibility implementation using ATSPI DBus + interfaces instead of ATK. + + Add support for requestVideoFrameCallback. + + Change hardware-acceleration-policy setting default value to + always. + + Add support for media session. + + Add new API to set HTTP response information to custom uri + schemes. + + Make user interactive threads (event handler, scrolling, …) + real time in linux. + +------------------------------------------------------------------- +Mon Feb 28 01:29:27 UTC 2022 - Bjørn Lie + +- Update to version 2.35.90: + + Fix scrolling with the mouse wheel on sites using + overscroll-behavior. + + Suspend web processes after some time in the process cache. + + Fix renderning of horizontal scrollbars with themes enabling + steppers. + + Ensure EGL displays are terminated before web process exits. + + Deinitialize gstreamer before web process exits. + + Make fonts under XDG_DATA_DIRS available in web process sanbox. + + Canonicalize paths passed to bubblewrap launcher. + + Fix several crashes and rendering issues. + + Updated translations. + +------------------------------------------------------------------- +Thu Feb 17 16:14:43 UTC 2022 - Bjørn Lie + +- Update to version 2.35.3: + + Fix a crash at startup when bubblewrap sandbox is enabled. + + Fix a crash when starting a drag an drop on touchscreen. + + Fix several crashes and rendering issues. +- Changes from version 2.35.2: + + Add new accessibility implementation using ATSPI DBus + interfaces instead of ATK. + + Use native GtkWidgets for form validation popups. + + Add support for requestVideoFrameCallback. + + Add support for accent colors. + + Fix pinch zooming from a link to not activate the link. + + Fix kinetic scrolling via touch screen. + + Fix several crashes and rendering issues. +- Changes from version 2.35.1: + + Make user interactive threads (event handler, scrolling, …) + real time in linux. + + Add new API to set HTTP response information to custom uri + schemes. + + Add support for media session. + + Change hardware-acceleration-policy setting default value to + always. + + Fix jsc_value_object_define_property_accessor() to work with + objects not having a wrapped instance. + + Fix several crashes and rendering issues. +- Add gstreamer-plugins-good, gstreamer-plugins-bad and + xdg-desktop-portal-gtk Recommends: Needed for mediaplayback and + features in the mandatory sandbox. +- Add flex BuildRequires: Optional dependency. +- Rebase no-forced-sse.patch: Not sure this makes sense anymore, + we are building for i686, and the number of cpu of that class not + supporting SSE2 can probably be counted on one hand. +- Drop patches fixed upstream: + + fix-warnings.patch + + webkit2gtk3-link-fix.patch + ------------------------------------------------------------------- Thu Feb 17 16:14:42 UTC 2022 - Michael Gorse diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index a857f31..ae7cfbd 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -75,7 +75,7 @@ ExclusiveArch: do-not-build %define _gold_linker 0 %endif Name: webkit2%{_gtknamesuffix} -Version: 2.34.6 +Version: 2.36.0 Release: 0 Summary: Library for rendering web content, GTK+ Port License: BSD-3-Clause AND LGPL-2.0-or-later @@ -86,12 +86,8 @@ Source1: %{url}/releases/%{_name}-%{version}.tar.xz.asc Source98: baselibs.conf Source99: webkit2gtk3.keyring -# PATCH-FIX-OPENSUSE no-forced-sse.patch jengelh@iani.de -- cure execution of illegal instruction in i586 firefox. +# PATCH-FIX-OPENSUSE no-forced-sse.patch jengelh@iani.de -- cure execution of illegal instruction in i586 webkit Patch0: no-forced-sse.patch -# PATCH-FIX-UPSTREAM fix-warnings.patch mgorse@suse.com -- silence return-type warnings. -Patch1: fix-warnings.patch -# PATCH-FIX-UPSTREAM webkit2gtk3-link-fix.patch mgorse@suse.com -- annotate executeJSCJITProbe. -Patch2: webkit2gtk3-link-fix.patch BuildRequires: Mesa-libEGL-devel BuildRequires: Mesa-libGL-devel @@ -102,6 +98,7 @@ BuildRequires: bison >= 2.3 BuildRequires: bubblewrap BuildRequires: cmake BuildRequires: enchant-devel +BuildRequires: flex %if %usegcc10 BuildRequires: gcc10-c++ >= 4.9 %else @@ -200,6 +197,9 @@ Requires: xdg-dbus-proxy Provides: %{_pkgname_no_slpp} = %{version} Provides: WebKit2GTK-%{_apiver} Obsoletes: webkit2gtk3-plugin-process-gtk2 < %{version} +Recommends: gstreamer-plugins-bad +Recommends: gstreamer-plugins-good +Recommends: xdg-desktop-portal-gtk %description -n libwebkit2gtk%{_wk2sover} WebKit is a web content engine, derived from KHTML and KJS from KDE, diff --git a/webkitgtk-2.34.6.tar.xz b/webkitgtk-2.34.6.tar.xz deleted file mode 100644 index cb14e30..0000000 --- a/webkitgtk-2.34.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6bc8fd034aad0432a2459ce4fc7ee25ad65a4924c618bf8d93b52b0c1a84c1f6 -size 24393340 diff --git a/webkitgtk-2.34.6.tar.xz.asc b/webkitgtk-2.34.6.tar.xz.asc deleted file mode 100644 index 96a7ae4..0000000 --- a/webkitgtk-2.34.6.tar.xz.asc +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iF0EABECAB0WIQRao7wzT9fjNp58d7KRxVnb5MkSOwUCYg5JzQAKCRCRxVnb5MkS -O2fTAJ0bM+z81IRILK3jrBeY2FvVF9XMgACffrCY/lTW8tvkhMt+xNQvn5aPLO4= -=duRI ------END PGP SIGNATURE----- diff --git a/webkitgtk-2.36.0.tar.xz b/webkitgtk-2.36.0.tar.xz new file mode 100644 index 0000000..682159b --- /dev/null +++ b/webkitgtk-2.36.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d +size 26900828 diff --git a/webkitgtk-2.36.0.tar.xz.asc b/webkitgtk-2.36.0.tar.xz.asc new file mode 100644 index 0000000..22e096e --- /dev/null +++ b/webkitgtk-2.36.0.tar.xz.asc @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABEDAB0WIQTX/PYc+aLeqzHYG9Pz0yLQ7EWCwwUCYjh7KgAKCRDz0yLQ7EWC +w8pLAKChc/CNsM9zCHs8wVCl2Zprjp56kwCdGWOhK+IMB27jVnVLcNM9LP1QlQw= +=1G/P +-----END PGP SIGNATURE-----