summaryrefslogtreecommitdiff
path: root/www/webkit-gtk
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2021-09-28 22:11:54 +0000
committerleot <leot@pkgsrc.org>2021-09-28 22:11:54 +0000
commit5e2ca79d8c409dbf1bf968ddf95ce937a27739d9 (patch)
treee3b3ce04098996e9e45f9831b37c3814dc02a957 /www/webkit-gtk
parent295b1128840fdc0531760d5fd9f6d28e7a7b4579 (diff)
downloadpkgsrc-5e2ca79d8c409dbf1bf968ddf95ce937a27739d9.tar.gz
webkit-gtk: Update to 2.34.0
Changes: 2.34.0 ------ - Add support for HTTP/2 when building with libsoup3. - Add support for CSS Scroll Snap. - Add support for date and datetime-local input elements. - Add support for display capture. - Add support for ICC color management. - Add support color-schemes CSS property. - Add support for link preconnect when building with libsoup3. - Add support for client side certificates when building with libsoup3. - Add multi-track support to MSE media backend. - Add new API to handle web process unresponsiveness. - Add API to disable CORS on a web view for particular domains. - Add new API to access/modify capture devices states. - Add new API to configure the memory pressure handler.
Diffstat (limited to 'www/webkit-gtk')
-rw-r--r--www/webkit-gtk/Makefile6
-rw-r--r--www/webkit-gtk/PLIST7
-rw-r--r--www/webkit-gtk/buildlink3.mk3
-rw-r--r--www/webkit-gtk/distinfo18
-rw-r--r--www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp8
-rw-r--r--www/webkit-gtk/patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h32
-rw-r--r--www/webkit-gtk/patches/patch-Source_WebCore_platform_network_DNS.h8
-rw-r--r--www/webkit-gtk/patches/patch-Source_bmalloc_bmalloc_VMAllocate.h12
8 files changed, 41 insertions, 53 deletions
diff --git a/www/webkit-gtk/Makefile b/www/webkit-gtk/Makefile
index 6ab6c47a637..04edbb1be6e 100644
--- a/www/webkit-gtk/Makefile
+++ b/www/webkit-gtk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.211 2021/09/17 15:50:34 leot Exp $
+# $NetBSD: Makefile,v 1.212 2021/09/28 22:11:54 leot Exp $
-DISTNAME= webkitgtk-2.32.4
+DISTNAME= webkitgtk-2.34.0
PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/}
CATEGORIES= www
MASTER_SITES= https://www.webkitgtk.org/releases/
@@ -46,6 +46,7 @@ CMAKE_ARGS+= -DENABLE_BUBBLEWRAP_SANDBOX=OFF
CMAKE_ARGS+= -DUSE_GSTREAMER_GL=OFF
CMAKE_ARGS+= -DUSE_LIBHYPHEN=OFF
CMAKE_ARGS+= -DUSE_OPENJPEG=OFF
+CMAKE_ARGS+= -DUSE_SOUP2=ON
CMAKE_ARGS+= -DUSE_SYSTEMD=OFF
REPLACE_PERL+= Source/JavaScriptCore/Scripts/*.pl
@@ -139,6 +140,7 @@ BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.1
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libwebp/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/lcms2/buildlink3.mk"
BUILDLINK_API_DEPENDS.png+= png>=1.5.1beta08
.include "../../graphics/png/buildlink3.mk"
BUILDLINK_API_DEPENDS.gstreamer1+= gstreamer1>=1.0.3
diff --git a/www/webkit-gtk/PLIST b/www/webkit-gtk/PLIST
index d75d90181ff..040661b43f9 100644
--- a/www/webkit-gtk/PLIST
+++ b/www/webkit-gtk/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.75 2021/09/17 15:50:34 leot Exp $
+@comment $NetBSD: PLIST,v 1.76 2021/09/28 22:11:54 leot Exp $
bin/WebKitWebDriver
include/webkitgtk-4.0/JavaScriptCore/JSBase.h
include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h
@@ -52,6 +52,7 @@ include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h
include/webkitgtk-4.0/webkit2/WebKitInstallMissingMediaPluginsPermissionRequest.h
include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h
include/webkitgtk-4.0/webkit2/WebKitMediaKeySystemPermissionRequest.h
+include/webkitgtk-4.0/webkit2/WebKitMemoryPressureSettings.h
include/webkitgtk-4.0/webkit2/WebKitMimeInfo.h
include/webkitgtk-4.0/webkit2/WebKitNavigationAction.h
include/webkitgtk-4.0/webkit2/WebKitNavigationPolicyDecision.h
@@ -219,10 +220,10 @@ ${PLIST.introspection}lib/girepository-1.0/WebKit2-4.0.typelib
${PLIST.introspection}lib/girepository-1.0/WebKit2WebExtension-4.0.typelib
lib/libjavascriptcoregtk-4.0.so
lib/libjavascriptcoregtk-4.0.so.18
-lib/libjavascriptcoregtk-4.0.so.18.18.8
+lib/libjavascriptcoregtk-4.0.so.18.19.5
lib/libwebkit2gtk-4.0.so
lib/libwebkit2gtk-4.0.so.37
-lib/libwebkit2gtk-4.0.so.37.53.5
+lib/libwebkit2gtk-4.0.so.37.55.3
lib/pkgconfig/javascriptcoregtk-4.0.pc
lib/pkgconfig/webkit2gtk-4.0.pc
lib/pkgconfig/webkit2gtk-web-extension-4.0.pc
diff --git a/www/webkit-gtk/buildlink3.mk b/www/webkit-gtk/buildlink3.mk
index 8e26a275b79..5a9578a19dd 100644
--- a/www/webkit-gtk/buildlink3.mk
+++ b/www/webkit-gtk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.82 2021/04/21 11:40:44 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.83 2021/09/28 22:11:54 leot Exp $
BUILDLINK_TREE+= webkit-gtk
@@ -23,6 +23,7 @@ pkgbase := webkit-gtk
.include "../../devel/gperf/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/lcms2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/libwebp/buildlink3.mk"
.include "../../multimedia/gstreamer1/buildlink3.mk"
diff --git a/www/webkit-gtk/distinfo b/www/webkit-gtk/distinfo
index 464862614be..cd482ece605 100644
--- a/www/webkit-gtk/distinfo
+++ b/www/webkit-gtk/distinfo
@@ -1,20 +1,20 @@
-$NetBSD: distinfo,v 1.153 2021/09/17 15:50:34 leot Exp $
+$NetBSD: distinfo,v 1.154 2021/09/28 22:11:54 leot Exp $
-SHA1 (webkitgtk-2.32.4.tar.xz) = f7255ffb488e727e9e250e0dae9f192266f50f01
-RMD160 (webkitgtk-2.32.4.tar.xz) = 410788d0911dc2d4ce86b1178401440c511629ef
-SHA512 (webkitgtk-2.32.4.tar.xz) = c2d72850097da72a82faab0a1218b312668b88bc8b67fcd62f08368c71d46bc833e08b3e095eb286beeae59ee88ac74c8393caee8a4ec5a8e90e02425e43350b
-Size (webkitgtk-2.32.4.tar.xz) = 23327956 bytes
+SHA1 (webkitgtk-2.34.0.tar.xz) = a370f8844b99828531228ad6f1f7a02d8b07488d
+RMD160 (webkitgtk-2.34.0.tar.xz) = 9478d7164391d66de6f2580fdca5d05ee211dd60
+SHA512 (webkitgtk-2.34.0.tar.xz) = 165cd075680c6890f8d92bb319df4ef13787998e9e24a96dbc601fc922f468c86c5bfebdfde2b7fa21775d1a2c2efa5cb5d3b0e9f7d4b655b4b3b352a17ec6c8
+Size (webkitgtk-2.34.0.tar.xz) = 24998292 bytes
SHA1 (patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh) = f4f117e6c1cd8eb8e4905f74946e0367156ed528
SHA1 (patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh) = 308a7c8f687253b4fc75de0c66016dd18666e697
SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 79c282ca90d0ba2ef4769da40d4648f5f709951b
SHA1 (patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h) = 70975aac175ec4131a4ed26a54dfe51e16ffb7cd
-SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = 709e5dcf4cdb834617c2ef542686bb2aa4aa37b3
+SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = 8f324091df41be96b011bcbeed5fd64c4464f010
SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = 7f6c0c57d46478e83c4ff21dae2415f44085ba32
SHA1 (patch-Source_JavaScriptCore_offlineasm_arm64.rb) = 8c05dafa317667bbf55504d05eeb8ae06fba4e93
SHA1 (patch-Source_JavaScriptCore_runtime_MachineContext.h) = 3bf3c200917ba49573388081ea9c5f6c55605b9b
SHA1 (patch-Source_ThirdParty_ANGLE_src_common_third__party_smhasher_src_PMurHash.cpp) = 73dfe781efe7e8aa7d49094af8820a87c501818f
SHA1 (patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h) = 10debffda84bc752ed434657a337a466aad19a3a
-SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = a5454eb891ad1f9d8285c28af2e9efb4ff439e6b
+SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = ac07d4d8faa6dab606bcea31936340d260fcda33
SHA1 (patch-Source_WTF_wtf_Assertions.h) = 427de20eba4627578087feaa7de2f23e80b9debf
SHA1 (patch-Source_WTF_wtf_FileSystem.cpp) = 2fe7b7755646d9a1cc022aec3d01091766378aba
SHA1 (patch-Source_WTF_wtf_PlatformEnable.h) = eb5598c20c8453314daba7897066f15827bbede7
@@ -27,7 +27,7 @@ SHA1 (patch-Source_WebCore_Scripts_generate-unified-sources.sh) = 9b323aa1fa8e6e
SHA1 (patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES__GCM.cpp) = 03337c5eec54d6974dfea1766b14cb2c1b9f7750
SHA1 (patch-Source_WebCore_inspector_InspectorFrontendHost.cpp) = daf6351a1a0b5a49592a2bb6db0d54620c7b09e3
SHA1 (patch-Source_WebCore_platform_graphics_filters_FEMorphology.cpp) = 16b36d2d91fd7f43156b9ee09bcafd19602ebbd9
-SHA1 (patch-Source_WebCore_platform_network_DNS.h) = a491ed31e288af1ef56c4a70564045609ecb4b6a
+SHA1 (patch-Source_WebCore_platform_network_DNS.h) = dd9fb67aae0029c6a452e7d8f09eeed1235d5700
SHA1 (patch-Source_WebCore_rendering_RenderLayerBacking.h) = ecf722df1d1cca13573786b34fe1e3d85edf1e1e
SHA1 (patch-Source_WebCore_rendering_shapes_RasterShape.cpp) = 551e47698dee50d097b11e3218f13bb3447edfea
SHA1 (patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp) = 3a4d9415e7d3ac78a948b9e7eb5e0377575835c3
@@ -39,7 +39,7 @@ SHA1 (patch-Source_WebKit_Platform_classifier_ResourceLoadStatisticsClassifier.c
SHA1 (patch-Source_WebKit_Scripts_check-xcfilelists.sh) = 22cc5ba1ababc6395aa0ef467db0c27c2fbf6878
SHA1 (patch-Source_WebKit_Scripts_generate-unified-sources.sh) = def930cf3f706ac657b2f8835c8c0278ade8f663
SHA1 (patch-Source_bmalloc_bmalloc_BPlatform.h) = 28d1f657fde427062a729b26398e96825082fc4d
-SHA1 (patch-Source_bmalloc_bmalloc_VMAllocate.h) = b1eb6ab93f2ce272cfee94a544d19806feb9a625
+SHA1 (patch-Source_bmalloc_bmalloc_VMAllocate.h) = 22c23689fa79c930145068ed7966844bbf92a6a9
SHA1 (patch-Source_cmake_OptionsCommon.cmake) = b0f0070bb006081e5f609d07103cd8abf382d60e
SHA1 (patch-Source_cmake_WebKitCommon.cmake) = 5f275eb75cf61b89a9168e4d72f9587dd5c732bc
SHA1 (patch-Tools_TestWebKitAPI_Scripts_check-xcfilelists.sh) = 6e8327bf46150806910b21b298767f313e1eb3ce
diff --git a/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp b/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp
index 5c079974bef..4c113366aea 100644
--- a/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp
+++ b/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp
@@ -1,12 +1,12 @@
-$NetBSD: patch-Source_JavaScriptCore_heap_MarkedSpace.cpp,v 1.3 2020/09/11 14:47:35 leot Exp $
+$NetBSD: patch-Source_JavaScriptCore_heap_MarkedSpace.cpp,v 1.4 2021/09/28 22:11:54 leot Exp $
Avoid ambiguous function call.
---- Source/JavaScriptCore/heap/MarkedSpace.cpp.orig 2020-08-12 09:17:52.000000000 +0000
+--- Source/JavaScriptCore/heap/MarkedSpace.cpp.orig 2021-09-01 09:16:46.000000000 +0000
+++ Source/JavaScriptCore/heap/MarkedSpace.cpp
-@@ -28,6 +28,8 @@
- #include "MarkedSpaceInlines.h"
+@@ -29,6 +29,8 @@
#include <wtf/ListDump.h>
+ #include <wtf/SimpleStats.h>
+using std::pow;
+
diff --git a/www/webkit-gtk/patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h b/www/webkit-gtk/patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h
index 382329760a6..d6a33d4e5ca 100644
--- a/www/webkit-gtk/patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h
+++ b/www/webkit-gtk/patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h
@@ -1,36 +1,20 @@
-$NetBSD: patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h,v 1.4 2019/03/13 20:49:40 leot Exp $
+$NetBSD: patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h,v 1.5 2021/09/28 22:11:54 leot Exp $
---- Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h.orig 2019-02-12 11:21:03.000000000 +0000
+--- Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h.orig 2021-09-01 09:16:47.000000000 +0000
+++ Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h
@@ -42,6 +42,7 @@
- #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_
- #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_
+ #ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_
+ #define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_
+#include <ciso646>
// Environment-describing macros
// -----------------------------
-@@ -268,6 +269,7 @@
- #include <stdlib.h>
+@@ -261,6 +262,7 @@
#include <stdio.h>
+ #include <stdlib.h>
#include <string.h>
+#include <unistd.h>
- #ifndef _WIN32_WCE
- # include <sys/types.h>
- # include <sys/stat.h>
-@@ -755,7 +757,14 @@ typedef struct _RTL_CRITICAL_SECTION GTE
- // GCC 4.0+ implements tr1/tuple in the <tr1/tuple> header. This does
- // not conform to the TR1 spec, which requires the header to be <tuple>.
--# if !GTEST_HAS_RTTI && GTEST_GCC_VER_ < 40302
-+#if defined(_LIBCPP_VERSION)
-+#include <tuple>
-+namespace std {
-+ namespace tr1 {
-+ using ::std::tuple;
-+ }
-+}
-+#elif !GTEST_HAS_RTTI && GTEST_GCC_VER_ < 40302
- // Until version 4.3.2, gcc has a bug that causes <tr1/functional>,
- // which is #included by <tr1/tuple>, to not compile when RTTI is
- // disabled. _TR1_FUNCTIONAL is the header guard for
+ #include <cerrno>
+ #include <cstdint>
diff --git a/www/webkit-gtk/patches/patch-Source_WebCore_platform_network_DNS.h b/www/webkit-gtk/patches/patch-Source_WebCore_platform_network_DNS.h
index 621db0e7789..8185637aeff 100644
--- a/www/webkit-gtk/patches/patch-Source_WebCore_platform_network_DNS.h
+++ b/www/webkit-gtk/patches/patch-Source_WebCore_platform_network_DNS.h
@@ -1,14 +1,14 @@
-$NetBSD: patch-Source_WebCore_platform_network_DNS.h,v 1.1 2021/01/12 15:21:31 jperkin Exp $
+$NetBSD: patch-Source_WebCore_platform_network_DNS.h,v 1.2 2021/09/28 22:11:54 leot Exp $
Include sys/socket.h for AF_*.
---- Source/WebCore/platform/network/DNS.h.orig 2020-08-12 09:17:55.000000000 +0000
+--- Source/WebCore/platform/network/DNS.h.orig 2021-09-01 09:16:50.000000000 +0000
+++ Source/WebCore/platform/network/DNS.h
-@@ -30,6 +30,7 @@
+@@ -34,6 +34,7 @@
#include <ws2tcpip.h>
#else
#include <netinet/in.h>
+#include <sys/socket.h>
#endif
- #include <wtf/Forward.h>
+ namespace WebCore {
diff --git a/www/webkit-gtk/patches/patch-Source_bmalloc_bmalloc_VMAllocate.h b/www/webkit-gtk/patches/patch-Source_bmalloc_bmalloc_VMAllocate.h
index 13514d10537..f3c8fdb3cbd 100644
--- a/www/webkit-gtk/patches/patch-Source_bmalloc_bmalloc_VMAllocate.h
+++ b/www/webkit-gtk/patches/patch-Source_bmalloc_bmalloc_VMAllocate.h
@@ -1,9 +1,9 @@
-$NetBSD: patch-Source_bmalloc_bmalloc_VMAllocate.h,v 1.3 2019/09/10 22:10:04 leot Exp $
+$NetBSD: patch-Source_bmalloc_bmalloc_VMAllocate.h,v 1.4 2021/09/28 22:11:54 leot Exp $
NetBSD has MADV_FREE too.
Use posix_madvise on SunOS.
---- Source/bmalloc/bmalloc/VMAllocate.h.orig 2019-08-28 11:46:33.000000000 +0000
+--- Source/bmalloc/bmalloc/VMAllocate.h.orig 2021-09-01 09:16:51.000000000 +0000
+++ Source/bmalloc/bmalloc/VMAllocate.h
@@ -201,8 +201,10 @@ inline void vmDeallocatePhysicalPages(vo
vmValidatePhysical(p, vmSize);
@@ -17,10 +17,10 @@ Use posix_madvise on SunOS.
#else
SYSCALL(madvise(p, vmSize, MADV_DONTNEED));
#if BOS(LINUX)
-@@ -216,6 +218,8 @@ inline void vmAllocatePhysicalPages(void
- vmValidatePhysical(p, vmSize);
- #if BOS(DARWIN)
- SYSCALL(madvise(p, vmSize, MADV_FREE_REUSE));
+@@ -220,6 +222,8 @@ inline void vmAllocatePhysicalPages(void
+ // For the Darwin platform, we don't need to call madvise(..., MADV_FREE_REUSE)
+ // to commit physical memory to back a range of allocated virtual memory.
+ // Instead the kernel will commit pages as they are touched.
+#elif BOS(SOLARIS)
+ SYSCALL(posix_madvise(p, vmSize, MADV_NORMAL));
#else