package/webkitgtk: bump to version 2.37.1
PATCH 1/1 package/webkitgtk: bump to version 2.37.1
From: Thomas Devoogdt <[email protected]>
Update to a new major release which brings in improvements and a few new features. Release notes:
https://webkitgtk.org/2022/07/12/webkitgtk2.37.1-released.html
The build option ENABLE_GTKDOC has been replaced by ENABLE_DOCUMENTATION.
https://github.com/WebKit/WebKit/commit/b0ae032850bb6b2672051bab8032fc9f9ef5eb97
Cmake 3.20 is now required!
https://github.com/WebKit/WebKit/commit/6cd89696b5d406c1a3d9a7a9bbb18fda9284fa1f
A small patch (cherry-pick) was required to get it compiled.
--- ...ld-fixes-early-ish-July-2022-edition.patch | 111 ++++++++++++++++++ package/webkitgtk/webkitgtk.hash | 8 +- package/webkitgtk/webkitgtk.mk | 3 +- 3 files changed, 116 insertions(+), 6 deletions(-) create mode 100644 package/webkitgtk/0001-Non-unified-build-fixes-early-ish-July-2022-edition.patch
package/webkitgtk/0001-Non-unified-build-fixes-early-ish-July-2022-edition.patch new file +111 -0
@@ -0,0 +1,111 @@ +From b7940becf07f182f3331116d8677b20e99354a46 Mon Sep 17 00:00:00 2001 +From: Adrian Perez de Castro <[email protected]> +Date: Thu, 14 Jul 2022 01:41:19 -0700 +Subject: [PATCH] Non-unified build fixes, early-ish July 2022 edition + https://bugs.webkit.org/show_bug.cgi?id=242688 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Unreviewed non-unified build fixes. + +* Source/WebCore/html/ValidityState.h: Add missing HTMLElement.h header. +* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp: Add + missing FlexFormattingContext.h header. +* Source/WebCore/page/ResizeObservation.cpp: Add missing Logging.h header. +* Source/WebCore/rendering/RenderBlock.cpp: Add missing RenderGrid.h header. +* Source/WebCore/rendering/RenderLayer.cpp: Add missing + wtf/IsoMallocInlines.h header. + +Canonical link: https://commits.webkit.org/252445@main + +(cherry picked from commit fa6290046ee65fc3587f517d0f095f24dbecd85e) + +In file included from /home/thomas/buildroot/output/build/webkitgtk-2.37.1/WebCore/DerivedSources/JSValidityState.h:24, + from /home/thomas/buildroot/output/build/webkitgtk-2.37.1/WebCore/DerivedSources/JSValidityState.cpp:22, + from /home/thomas/buildroot/output/build/webkitgtk-2.37.1/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-143.cpp:6: +/home/thomas/buildroot/output/build/webkitgtk-2.37.1/Source/WebCore/html/ValidityState.h: In member function ‘WebCore::Element* WebCore::ValidityState::element()’: +/home/thomas/buildroot/output/build/webkitgtk-2.37.1/Source/WebCore/html/ValidityState.h:35:48: error: cannot convert ‘WebCore::HTMLElement*’ to ‘WebCore::Element*’ in return + Element* element() { return &asHTMLElement(); } + ^ + +In file included from /home/thomas/buildroot/output/build/webkitgtk-2.37.1/WebCore/DerivedSources/JSValidityState.h:24, + from /home/thomas/buildroot/output/build/webkitgtk-2.37.1/WebCore/DerivedSources/JSValidityState.cpp:22, + from /home/thomas/buildroot/output/build/webkitgtk-2.37.1/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-143.cpp:6: +/home/thomas/buildroot/output/build/webkitgtk-2.37.1/Source/WebCore/html/ValidityState.h: In member function ‘WebCore::Node* WebCore::ValidityState::opaqueRootConcurrently()’: +/home/thomas/buildroot/output/build/webkitgtk-2.37.1/Source/WebCore/html/ValidityState.h:36:60: error: cannot convert ‘WebCore::HTMLElement*’ to ‘WebCore::Node*’ in return + Node* opaqueRootConcurrently() { return &asHTMLElement(); } + ^ + +Signed-off-by: Thomas Devoogdt <[email protected]> +--- + Source/WebCore/html/ValidityState.h | 1 + + Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp | 1 + + Source/WebCore/page/ResizeObservation.cpp | 1 + + Source/WebCore/rendering/RenderBlock.cpp | 1 + + Source/WebCore/rendering/RenderLayer.cpp | 1 + + 5 files changed, 5 insertions(+) + +diff --git a/Source/WebCore/html/ValidityState.h b/Source/WebCore/html/ValidityState.h +index 5d3321d1f3b4..f5faaeaec3a3 100644 +--- a/Source/WebCore/html/ValidityState.h ++++ b/Source/WebCore/html/ValidityState.h +@@ -23,6 +23,7 @@ + #pragma once + + #include "FormAssociatedElement.h" ++#include "HTMLElement.h" + + namespace WebCore { + +diff --git a/Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp b/Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp +index a3b91e20373d..6142c378001d 100644 +--- a/Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp ++++ b/Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp +@@ -28,6 +28,7 @@ + + #if ENABLE(LAYOUT_FORMATTING_CONTEXT) + ++#include "FlexFormattingContext.h" + #include "FlexRect.h" + #include "LayoutContext.h" + +diff --git a/Source/WebCore/page/ResizeObservation.cpp b/Source/WebCore/page/ResizeObservation.cpp +index 89fc65634882..246b46c772ad 100644 +--- a/Source/WebCore/page/ResizeObservation.cpp ++++ b/Source/WebCore/page/ResizeObservation.cpp +@@ -28,6 +28,7 @@ + + #include "ElementInlines.h" + #include "HTMLFrameOwnerElement.h" ++#include "Logging.h" + #include "RenderBox.h" + #include "SVGElement.h" + +diff --git a/Source/WebCore/rendering/RenderBlock.cpp b/Source/WebCore/rendering/RenderBlock.cpp +index f8c4d1ce5981..0177f376066e 100644 +--- a/Source/WebCore/rendering/RenderBlock.cpp ++++ b/Source/WebCore/rendering/RenderBlock.cpp +@@ -58,6 +58,7 @@ + #include "RenderDeprecatedFlexibleBox.h" + #include "RenderFlexibleBox.h" + #include "RenderFragmentedFlow.h" ++#include "RenderGrid.h" + #include "RenderInline.h" + #include "RenderIterator.h" + #include "RenderLayer.h" +diff --git a/Source/WebCore/rendering/RenderLayer.cpp b/Source/WebCore/rendering/RenderLayer.cpp +index c9d6ce9c514d..e568fdeffb71 100644 +--- a/Source/WebCore/rendering/RenderLayer.cpp ++++ b/Source/WebCore/rendering/RenderLayer.cpp +@@ -138,6 +138,7 @@ + #include "WheelEventTestMonitor.h" + #include <stdio.h> + #include <wtf/HexNumber.h> ++#include <wtf/IsoMallocInlines.h> + #include <wtf/MonotonicTime.h> + #include <wtf/StdLibExtras.h> + #include <wtf/text/CString.h> +-- +2.37.2 +
package/webkitgtk/webkitgtk.hash +4 -4
@@ -1,7 +1,7 @@ -# From https://webkitgtk.org/releases/webkitgtk-2.36.7.tar.xz.sums -md5 466351cf35e4f742590919380b5dee93 webkitgtk-2.36.7.tar.xz -sha1 36078148b6e0ef002f0279b25b1caf173f851ac8 webkitgtk-2.36.7.tar.xz -sha256 0c260cf2b32f0481d017670dfed1b61e554967cd067195606c9f9eb5fe731743 webkitgtk-2.36.7.tar.xz +# From https://webkitgtk.org/releases/webkitgtk-2.37.1.tar.xz.sums +md5 11a5a291784349cc26b892bfdadeff87 webkitgtk-2.37.1.tar.xz +sha1 c61cc88556653dc8295fd6c463dc02b3357fb2c0 webkitgtk-2.37.1.tar.xz +sha256 c53326b1751f8c6da3db2f4bfa91c1801755893e287d0e1f6c07344589d4a6a7 webkitgtk-2.37.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE
package/webkitgtk/webkitgtk.mk +1 -2
@@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.36.7 +WEBKITGTK_VERSION = 2.37.1 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES
@@ -20,7 +20,6 @@ WEBKITGTK_CONF_OPTS = \ -DENABLE_API_TESTS=OFF \ -DENABLE_GAMEPAD=OFF \ -DENABLE_GEOLOCATION=OFF \ - -DENABLE_GTKDOC=OFF \ -DENABLE_MINIBROWSER=ON \ -DENABLE_SPELLCHECK=ON \ -DPORT=GTK \
Signature · 6 lines
2.37.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Thomas,
Quoted 6 lines · On Mon, 05 Sep 2022 14:25:22 +0200 Thomas Devoogdt <[email protected]> wrote:
From: Thomas Devoogdt <[email protected]>
Update to a new major release which brings in improvements and a few new features. Release notes:
https://webkitgtk.org/2022/07/12/webkitgtk2.37.1-released.html
We do NOT want to update Buildroot to version 2.37.x because those are development releases. WebKit GTK (and WPE) follow the old-style GNOME versioning scheme:
* If the second version number is odd, it's a development release.
- If the number is <90, it's unstable. Example: 2.37.1 is unstable.
- If the number is >=90, it's a release candidate. Example: 2.37.90.
* If the second number is even, it's a stable release. Example: 2.38.0.
The versioning scheme is detailed here, too:
https://wpewebkit.org/release/schedule/
Usually I take care myself of WebKit updates in Buildroot, but I appreciate others wanting to help, so thanks anyway for your effort.
package/webkitgtk/0001-Non-unified-build-fixes-early-ish-July-2022-edition.patch
Quoted 18 lines
The build option
ENABLE_GTKDOChas been replaced byENABLE_DOCUMENTATION.
https://github.com/WebKit/WebKit/commit/b0ae032850bb6b2672051bab8032fc9f9ef5eb97Cmake 3.20 is now required!
https://github.com/WebKit/WebKit/commit/6cd89696b5d406c1a3d9a7a9bbb18fda9284fa1fA small patch (cherry-pick) was required to get it compiled.
Signed-off-by Thomas Devoogdt <[email protected]>--- ...ld-fixes-early-ish-July-2022-edition.patch | 111 ++++++++++++++++++ package/webkitgtk/webkitgtk.hash | 8 +- package/webkitgtk/webkitgtk.mk | 3 +- 3 files changed, 116 insertions(+), 6 deletions(-) create mode 100644 package/webkitgtk/0001-Non-unified-build-fixes-early-ish-July-2022-edition.patchpackage/webkitgtk/0001-Non-unified-build-fixes-early-ish-July-2022-edition.patch +0
-0
I also happen to be the person typically in charge of WPE WebKit releases (sometimes I do the WebKitGTK ones, too) and I try to make sure that stable releases build fine without needing to import patches from WebKit's main branch. In a few weeks we will be preparing to release 2.38.0 and I will check that all needed build fixes are included in the release branch.
We would rather prefer that packagers can avoid needing to hunt for build fixes :-)
Quoted 160 lines
new file mode 100644
index 0000000000..8e15e37a11package/webkitgtk/0001-Non-unified-build-fixes-early-ish-July-2022-edition.patch new file +111
-0@@ -0,0 +1,111 @@ +From b7940becf07f182f3331116d8677b20e99354a46 Mon Sep 17 00:00:00 2001 +From: Adrian Perez de Castro <[email protected]> +Date: Thu, 14 Jul 2022 01:41:19 -0700 +Subject: [PATCH] Non-unified build fixes, early-ish July 2022 edition + https://bugs.webkit.org/show_bug.cgi?id=242688 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Unreviewed non-unified build fixes. + +* Source/WebCore/html/ValidityState.h: Add missing HTMLElement.h header. +* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp: Add + missing FlexFormattingContext.h header. +* Source/WebCore/page/ResizeObservation.cpp: Add missing Logging.h header. +* Source/WebCore/rendering/RenderBlock.cpp: Add missing RenderGrid.h header. +* Source/WebCore/rendering/RenderLayer.cpp: Add missing + wtf/IsoMallocInlines.h header. + +Canonical link: https://commits.webkit.org/252445@main + +(cherry picked from commit fa6290046ee65fc3587f517d0f095f24dbecd85e) + +In file included from /home/thomas/buildroot/output/build/webkitgtk-2.37.1/WebCore/DerivedSources/JSValidityState.h:24, + from /home/thomas/buildroot/output/build/webkitgtk-2.37.1/WebCore/DerivedSources/JSValidityState.cpp:22, + from /home/thomas/buildroot/output/build/webkitgtk-2.37.1/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-143.cpp:6: +/home/thomas/buildroot/output/build/webkitgtk-2.37.1/Source/WebCore/html/ValidityState.h: In member function ‘WebCore::Element* WebCore::ValidityState::element()’: +/home/thomas/buildroot/output/build/webkitgtk-2.37.1/Source/WebCore/html/ValidityState.h:35:48: error: cannot convert ‘WebCore::HTMLElement*’ to ‘WebCore::Element*’ in return + Element* element() { return &asHTMLElement(); } + ^ + +In file included from /home/thomas/buildroot/output/build/webkitgtk-2.37.1/WebCore/DerivedSources/JSValidityState.h:24, + from /home/thomas/buildroot/output/build/webkitgtk-2.37.1/WebCore/DerivedSources/JSValidityState.cpp:22, + from /home/thomas/buildroot/output/build/webkitgtk-2.37.1/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-143.cpp:6: +/home/thomas/buildroot/output/build/webkitgtk-2.37.1/Source/WebCore/html/ValidityState.h: In member function ‘WebCore::Node* WebCore::ValidityState::opaqueRootConcurrently()’: +/home/thomas/buildroot/output/build/webkitgtk-2.37.1/Source/WebCore/html/ValidityState.h:36:60: error: cannot convert ‘WebCore::HTMLElement*’ to ‘WebCore::Node*’ in return + Node* opaqueRootConcurrently() { return &asHTMLElement(); } + ^ + +Signed-off-by: Thomas Devoogdt <[email protected]> +--- + Source/WebCore/html/ValidityState.h | 1 + + Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp | 1 + + Source/WebCore/page/ResizeObservation.cpp | 1 + + Source/WebCore/rendering/RenderBlock.cpp | 1 + + Source/WebCore/rendering/RenderLayer.cpp | 1 + + 5 files changed, 5 insertions(+) + +diff --git a/Source/WebCore/html/ValidityState.h b/Source/WebCore/html/ValidityState.h +index 5d3321d1f3b4..f5faaeaec3a3 100644 +--- a/Source/WebCore/html/ValidityState.h ++++ b/Source/WebCore/html/ValidityState.h +@@ -23,6 +23,7 @@ + #pragma once + + #include "FormAssociatedElement.h" ++#include "HTMLElement.h" + + namespace WebCore { + +diff --git a/Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp b/Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp +index a3b91e20373d..6142c378001d 100644 +--- a/Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp ++++ b/Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp +@@ -28,6 +28,7 @@ + + #if ENABLE(LAYOUT_FORMATTING_CONTEXT) + ++#include "FlexFormattingContext.h" + #include "FlexRect.h" + #include "LayoutContext.h" + +diff --git a/Source/WebCore/page/ResizeObservation.cpp b/Source/WebCore/page/ResizeObservation.cpp +index 89fc65634882..246b46c772ad 100644 +--- a/Source/WebCore/page/ResizeObservation.cpp ++++ b/Source/WebCore/page/ResizeObservation.cpp +@@ -28,6 +28,7 @@ + + #include "ElementInlines.h" + #include "HTMLFrameOwnerElement.h" ++#include "Logging.h" + #include "RenderBox.h" + #include "SVGElement.h" + +diff --git a/Source/WebCore/rendering/RenderBlock.cpp b/Source/WebCore/rendering/RenderBlock.cpp +index f8c4d1ce5981..0177f376066e 100644 +--- a/Source/WebCore/rendering/RenderBlock.cpp ++++ b/Source/WebCore/rendering/RenderBlock.cpp +@@ -58,6 +58,7 @@ + #include "RenderDeprecatedFlexibleBox.h" + #include "RenderFlexibleBox.h" + #include "RenderFragmentedFlow.h" ++#include "RenderGrid.h" + #include "RenderInline.h" + #include "RenderIterator.h" + #include "RenderLayer.h" +diff --git a/Source/WebCore/rendering/RenderLayer.cpp b/Source/WebCore/rendering/RenderLayer.cpp +index c9d6ce9c514d..e568fdeffb71 100644 +--- a/Source/WebCore/rendering/RenderLayer.cpp ++++ b/Source/WebCore/rendering/RenderLayer.cpp +@@ -138,6 +138,7 @@ + #include "WheelEventTestMonitor.h" + #include <stdio.h> + #include <wtf/HexNumber.h> ++#include <wtf/IsoMallocInlines.h> + #include <wtf/MonotonicTime.h> + #include <wtf/StdLibExtras.h> + #include <wtf/text/CString.h> +-- +2.37.2 +package/webkitgtk/webkitgtk.hash +4
-4@@ -1,7 +1,7 @@ -# From https://webkitgtk.org/releases/webkitgtk-2.36.7.tar.xz.sums -md5 466351cf35e4f742590919380b5dee93 webkitgtk-2.36.7.tar.xz -sha1 36078148b6e0ef002f0279b25b1caf173f851ac8 webkitgtk-2.36.7.tar.xz -sha256 0c260cf2b32f0481d017670dfed1b61e554967cd067195606c9f9eb5fe731743 webkitgtk-2.36.7.tar.xz +# From https://webkitgtk.org/releases/webkitgtk-2.37.1.tar.xz.sums +md5 11a5a291784349cc26b892bfdadeff87 webkitgtk-2.37.1.tar.xz +sha1 c61cc88556653dc8295fd6c463dc02b3357fb2c0 webkitgtk-2.37.1.tar.xz +sha256 c53326b1751f8c6da3db2f4bfa91c1801755893e287d0e1f6c07344589d4a6a7 webkitgtk-2.37.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLEpackage/webkitgtk/webkitgtk.mk +1
-2@@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.36.7 +WEBKITGTK_VERSION = 2.37.1 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES@@ -20,7 +20,6 @@ WEBKITGTK_CONF_OPTS = \ -DENABLE_API_TESTS=OFF \ -DENABLE_GAMEPAD=OFF \ -DENABLE_GEOLOCATION=OFF \ - -DENABLE_GTKDOC=OFF \ -DENABLE_MINIBROWSER=ON \ -DENABLE_SPELLCHECK=ON \ -DPORT=GTK \Signature · 6 lines
2.37.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Cheers,
—Adrián
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Adrian,
Quoted 11 lines · On Mon, 5 Sep 2022 16:20:07 +0300 Adrian Perez de Castro <[email protected]>…
development releases. WebKit GTK (and WPE) follow the old-style GNOME versioning scheme:
* If the second version number is odd, it's a development release.
- If the number is <90, it's unstable. Example: 2.37.1 is unstable.
- If the number is >=90, it's a release candidate. Example: 2.37.90.
* If the second number is even, it's a stable release. Example: 2.38.0.The versioning scheme is detailed here, too:
This has come up many times for GNOME packages. Perhaps we should add a comment above the <pkg>_VERSION variable which explains this?
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot