Tue Mar 10 18:14:05 2020 UTC ()
webkit-gtk: Update to 2.28.0

Changes:
WebKitGTK 2.28.0
================
  - Enable JIT in MIPS platform.
  - Do not limit the surrounding text for input methods to current paragraph.
  - Fix the build with OpenGL disabled.
  - Fix the build when Wayland target is disabled.
  - Fix the build on ppc64le if __unix is undefined.
  - Fix several crashes and rendering issues.
  - Translation updates: Polish.

WebKitGTK 2.27.91
=================
  - Update user agent quirks to fix the unsupported browser message in several google services.
  - Fix several compile warnings with GCC 10.
  - Fix the build with GCC 10.
  - Fix several crashes and rendering issues.
  - Translation updates: Chinese

WebKitGTK 2.27.90
=================
  - Add support for same-site cookies.
  - Add flatpak sandbox support.
  - Enable WebAudio and WebGL by default in WebKitSettings.
  - Add a setting to disallow top level navigation to a data URI.
  - Add support for the -webkit-font-smoothing CSS property.
  - Always use a light theme for rendering form controls.
  - Stop making the Web Inspector windows transient.
  - Ensure mouse cursor is hidden during fullscreen video playback.
  - Add support for inspecting service workers to the remote inspector.
  - Fix several crashes and rendering issues.

WebKitGTK 2.27.4
================
  - Add API for input methods.
  - Add API to serialize/deserialize a JSCValue to/from a JSON string.
  - Add support for strict secure cookies.
  - Add support for saving data from remote inspector.
  - Make ondemand hardware acceleration policy never leave accelerated compositing mode.
  - Fix rendering of conic gradients in high resolution displays.
  - Fix special combination characters not respecting the keystroke order when high CPU load.
  - Honor the IndexedDB directory set in WebsiteDataManager.
  - Fix rendering of text when there's an initial advance in the text run.
  - Fix web process crash when displaying a KaTeX formula.
  - Fix network process crash with PSON enabled.
  - Fix several crashes and rendering issues.

WebKitGTK 2.27.3
================
  - Add support for Pointer Lock API.
  - Improve performance when falling back to system fonts.
  - Stop using DBus for the remote inspector implementation to improve the performance of both
    WebDriver and remote inspector.
  - Implement support for new ARIA roles: code, strong, emphasis, generic.
  - Fix handling of content type with new custom protocols implementation.
  - Make image decoders fully thread safe.
  - Add support for get page source command in WebDriver.
  - Add support for network proxy capabilities in WebDriver.
  - Add support for new window command in WebDriver.
  - Fix several crashes and rendering issues.
  - Translation updates: Brazilian Portuguese, Ukrainian.

WebKitGTK 2.27.2
================
  - Add user messages API for the communication with the web extension.
  - Enable service workers by default.
  - Add support for saving data in Web Inspector.
  - More navigation gesture improvement.
  - Fix the build with WebDriver disabled.
  - Show also client EGL extensions in about:gpu.
  - Disable accelerated compositing when we fail to initialize the EGL dispaly under Wayland.
  - Fix several crashes and rendering issues.

WebKitGTK 2.27.1
================
  - Enable async scrolling when accelerating compositing policy is 'always'.
  - Add about:gpu to show information about the graphics stack.
  - Add API to enable Process Swap on (Cross-site) Navigation, that is now disabled by default.
  - Add WebKitWebView:page-id property.
  - Improve swipe navigation gesture style.
  - Fix several crashes and rendering issues.


(leot)
diff -r1.180 -r1.181 pkgsrc/www/webkit-gtk/Makefile
diff -r1.57 -r1.58 pkgsrc/www/webkit-gtk/PLIST
diff -r1.132 -r1.133 pkgsrc/www/webkit-gtk/distinfo
diff -r1.20 -r1.21 pkgsrc/www/webkit-gtk/options.mk
diff -r1.4 -r1.5 pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
diff -r1.1 -r1.2 pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp
diff -r1.1 -r1.2 pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh
diff -r1.1 -r1.2 pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h
diff -r1.3 -r1.4 pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp
diff -r1.3 -r1.4 pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_RAMSize.cpp
diff -r1.13 -r0 pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_Platform.h
diff -r0 -r1.1 pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformEnable.h
diff -r0 -r1.1 pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformHave.h
diff -r0 -r1.1 pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformOS.h
diff -r0 -r1.1 pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformUse.h

cvs diff -r1.180 -r1.181 pkgsrc/www/webkit-gtk/Makefile (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/Makefile 2020/03/08 16:48:19 1.180
+++ pkgsrc/www/webkit-gtk/Makefile 2020/03/10 18:14:04 1.181
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.180 2020/03/08 16:48:19 wiz Exp $ 1# $NetBSD: Makefile,v 1.181 2020/03/10 18:14:04 leot Exp $
2 2
3DISTNAME= webkitgtk-2.26.4 3DISTNAME= webkitgtk-2.28.0
4PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/} 4PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/}
5PKGREVISION= 1 
6CATEGORIES= www 5CATEGORIES= www
7MASTER_SITES= https://www.webkitgtk.org/releases/ 6MASTER_SITES= https://www.webkitgtk.org/releases/
8EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://www.webkitgtk.org/ 10HOMEPAGE= https://www.webkitgtk.org/
12COMMENT= GTK port of the WebKit browser engine 11COMMENT= GTK port of the WebKit browser engine
13LICENSE= 2-clause-bsd AND gnu-lgpl-v2 12LICENSE= 2-clause-bsd AND gnu-lgpl-v2
14 13
15# shm_open(3) and shm_unlink(3) appeared in NetBSD 7.0 14# shm_open(3) and shm_unlink(3) appeared in NetBSD 7.0
16NOT_FOR_PLATFORM= NetBSD-[1-6].*-* 15NOT_FOR_PLATFORM= NetBSD-[1-6].*-*
17 16
18TOOL_DEPENDS+= gettext-tools>=0.18:../../devel/gettext-tools 17TOOL_DEPENDS+= gettext-tools>=0.18:../../devel/gettext-tools

cvs diff -r1.57 -r1.58 pkgsrc/www/webkit-gtk/PLIST (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/PLIST 2020/02/14 19:15:54 1.57
+++ pkgsrc/www/webkit-gtk/PLIST 2020/03/10 18:14:04 1.58
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.57 2020/02/14 19:15:54 leot Exp $ 1@comment $NetBSD: PLIST,v 1.58 2020/03/10 18:14:04 leot Exp $
2bin/WebKitWebDriver 2bin/WebKitWebDriver
3include/webkitgtk-4.0/JavaScriptCore/JSBase.h 3include/webkitgtk-4.0/JavaScriptCore/JSBase.h
4include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h 4include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h
5include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h 5include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h
6include/webkitgtk-4.0/JavaScriptCore/JSStringRef.h 6include/webkitgtk-4.0/JavaScriptCore/JSStringRef.h
7include/webkitgtk-4.0/JavaScriptCore/JSTypedArray.h 7include/webkitgtk-4.0/JavaScriptCore/JSTypedArray.h
8include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h 8include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h
9include/webkitgtk-4.0/JavaScriptCore/JavaScript.h 9include/webkitgtk-4.0/JavaScriptCore/JavaScript.h
10include/webkitgtk-4.0/JavaScriptCore/WebKitAvailability.h 10include/webkitgtk-4.0/JavaScriptCore/WebKitAvailability.h
11include/webkitgtk-4.0/jsc/JSCAutocleanups.h 11include/webkitgtk-4.0/jsc/JSCAutocleanups.h
12include/webkitgtk-4.0/jsc/JSCClass.h 12include/webkitgtk-4.0/jsc/JSCClass.h
13include/webkitgtk-4.0/jsc/JSCContext.h 13include/webkitgtk-4.0/jsc/JSCContext.h
14include/webkitgtk-4.0/jsc/JSCDefines.h 14include/webkitgtk-4.0/jsc/JSCDefines.h
@@ -38,55 +38,58 @@ include/webkitgtk-4.0/webkit2/WebKitDown @@ -38,55 +38,58 @@ include/webkitgtk-4.0/webkit2/WebKitDown
38include/webkitgtk-4.0/webkit2/WebKitEditingCommands.h 38include/webkitgtk-4.0/webkit2/WebKitEditingCommands.h
39include/webkitgtk-4.0/webkit2/WebKitEditorState.h 39include/webkitgtk-4.0/webkit2/WebKitEditorState.h
40include/webkitgtk-4.0/webkit2/WebKitEnumTypes.h 40include/webkitgtk-4.0/webkit2/WebKitEnumTypes.h
41include/webkitgtk-4.0/webkit2/WebKitError.h 41include/webkitgtk-4.0/webkit2/WebKitError.h
42include/webkitgtk-4.0/webkit2/WebKitFaviconDatabase.h 42include/webkitgtk-4.0/webkit2/WebKitFaviconDatabase.h
43include/webkitgtk-4.0/webkit2/WebKitFileChooserRequest.h 43include/webkitgtk-4.0/webkit2/WebKitFileChooserRequest.h
44include/webkitgtk-4.0/webkit2/WebKitFindController.h 44include/webkitgtk-4.0/webkit2/WebKitFindController.h
45include/webkitgtk-4.0/webkit2/WebKitFormSubmissionRequest.h 45include/webkitgtk-4.0/webkit2/WebKitFormSubmissionRequest.h
46include/webkitgtk-4.0/webkit2/WebKitForwardDeclarations.h 46include/webkitgtk-4.0/webkit2/WebKitForwardDeclarations.h
47include/webkitgtk-4.0/webkit2/WebKitFrame.h 47include/webkitgtk-4.0/webkit2/WebKitFrame.h
48include/webkitgtk-4.0/webkit2/WebKitGeolocationManager.h 48include/webkitgtk-4.0/webkit2/WebKitGeolocationManager.h
49include/webkitgtk-4.0/webkit2/WebKitGeolocationPermissionRequest.h 49include/webkitgtk-4.0/webkit2/WebKitGeolocationPermissionRequest.h
50include/webkitgtk-4.0/webkit2/WebKitHitTestResult.h 50include/webkitgtk-4.0/webkit2/WebKitHitTestResult.h
 51include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h
51include/webkitgtk-4.0/webkit2/WebKitInstallMissingMediaPluginsPermissionRequest.h 52include/webkitgtk-4.0/webkit2/WebKitInstallMissingMediaPluginsPermissionRequest.h
52include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h 53include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h
53include/webkitgtk-4.0/webkit2/WebKitMimeInfo.h 54include/webkitgtk-4.0/webkit2/WebKitMimeInfo.h
54include/webkitgtk-4.0/webkit2/WebKitNavigationAction.h 55include/webkitgtk-4.0/webkit2/WebKitNavigationAction.h
55include/webkitgtk-4.0/webkit2/WebKitNavigationPolicyDecision.h 56include/webkitgtk-4.0/webkit2/WebKitNavigationPolicyDecision.h
56include/webkitgtk-4.0/webkit2/WebKitNetworkProxySettings.h 57include/webkitgtk-4.0/webkit2/WebKitNetworkProxySettings.h
57include/webkitgtk-4.0/webkit2/WebKitNotification.h 58include/webkitgtk-4.0/webkit2/WebKitNotification.h
58include/webkitgtk-4.0/webkit2/WebKitNotificationPermissionRequest.h 59include/webkitgtk-4.0/webkit2/WebKitNotificationPermissionRequest.h
59include/webkitgtk-4.0/webkit2/WebKitOptionMenu.h 60include/webkitgtk-4.0/webkit2/WebKitOptionMenu.h
60include/webkitgtk-4.0/webkit2/WebKitOptionMenuItem.h 61include/webkitgtk-4.0/webkit2/WebKitOptionMenuItem.h
61include/webkitgtk-4.0/webkit2/WebKitPermissionRequest.h 62include/webkitgtk-4.0/webkit2/WebKitPermissionRequest.h
62include/webkitgtk-4.0/webkit2/WebKitPlugin.h 63include/webkitgtk-4.0/webkit2/WebKitPlugin.h
 64include/webkitgtk-4.0/webkit2/WebKitPointerLockPermissionRequest.h
63include/webkitgtk-4.0/webkit2/WebKitPolicyDecision.h 65include/webkitgtk-4.0/webkit2/WebKitPolicyDecision.h
64include/webkitgtk-4.0/webkit2/WebKitPrintCustomWidget.h 66include/webkitgtk-4.0/webkit2/WebKitPrintCustomWidget.h
65include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h 67include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h
66include/webkitgtk-4.0/webkit2/WebKitResponsePolicyDecision.h 68include/webkitgtk-4.0/webkit2/WebKitResponsePolicyDecision.h
67include/webkitgtk-4.0/webkit2/WebKitScriptDialog.h 69include/webkitgtk-4.0/webkit2/WebKitScriptDialog.h
68include/webkitgtk-4.0/webkit2/WebKitScriptWorld.h 70include/webkitgtk-4.0/webkit2/WebKitScriptWorld.h
69include/webkitgtk-4.0/webkit2/WebKitSecurityManager.h 71include/webkitgtk-4.0/webkit2/WebKitSecurityManager.h
70include/webkitgtk-4.0/webkit2/WebKitSecurityOrigin.h 72include/webkitgtk-4.0/webkit2/WebKitSecurityOrigin.h
71include/webkitgtk-4.0/webkit2/WebKitSettings.h 73include/webkitgtk-4.0/webkit2/WebKitSettings.h
72include/webkitgtk-4.0/webkit2/WebKitURIRequest.h 74include/webkitgtk-4.0/webkit2/WebKitURIRequest.h
73include/webkitgtk-4.0/webkit2/WebKitURIResponse.h 75include/webkitgtk-4.0/webkit2/WebKitURIResponse.h
74include/webkitgtk-4.0/webkit2/WebKitURISchemeRequest.h 76include/webkitgtk-4.0/webkit2/WebKitURISchemeRequest.h
75include/webkitgtk-4.0/webkit2/WebKitURIUtilities.h 77include/webkitgtk-4.0/webkit2/WebKitURIUtilities.h
76include/webkitgtk-4.0/webkit2/WebKitUserContent.h 78include/webkitgtk-4.0/webkit2/WebKitUserContent.h
77include/webkitgtk-4.0/webkit2/WebKitUserContentFilterStore.h 79include/webkitgtk-4.0/webkit2/WebKitUserContentFilterStore.h
78include/webkitgtk-4.0/webkit2/WebKitUserContentManager.h 80include/webkitgtk-4.0/webkit2/WebKitUserContentManager.h
79include/webkitgtk-4.0/webkit2/WebKitUserMediaPermissionRequest.h 81include/webkitgtk-4.0/webkit2/WebKitUserMediaPermissionRequest.h
 82include/webkitgtk-4.0/webkit2/WebKitUserMessage.h
80include/webkitgtk-4.0/webkit2/WebKitVersion.h 83include/webkitgtk-4.0/webkit2/WebKitVersion.h
81include/webkitgtk-4.0/webkit2/WebKitWebContext.h 84include/webkitgtk-4.0/webkit2/WebKitWebContext.h
82include/webkitgtk-4.0/webkit2/WebKitWebEditor.h 85include/webkitgtk-4.0/webkit2/WebKitWebEditor.h
83include/webkitgtk-4.0/webkit2/WebKitWebExtension.h 86include/webkitgtk-4.0/webkit2/WebKitWebExtension.h
84include/webkitgtk-4.0/webkit2/WebKitWebExtensionAutocleanups.h 87include/webkitgtk-4.0/webkit2/WebKitWebExtensionAutocleanups.h
85include/webkitgtk-4.0/webkit2/WebKitWebHitTestResult.h 88include/webkitgtk-4.0/webkit2/WebKitWebHitTestResult.h
86include/webkitgtk-4.0/webkit2/WebKitWebInspector.h 89include/webkitgtk-4.0/webkit2/WebKitWebInspector.h
87include/webkitgtk-4.0/webkit2/WebKitWebPage.h 90include/webkitgtk-4.0/webkit2/WebKitWebPage.h
88include/webkitgtk-4.0/webkit2/WebKitWebProcessEnumTypes.h 91include/webkitgtk-4.0/webkit2/WebKitWebProcessEnumTypes.h
89include/webkitgtk-4.0/webkit2/WebKitWebResource.h 92include/webkitgtk-4.0/webkit2/WebKitWebResource.h
90include/webkitgtk-4.0/webkit2/WebKitWebView.h 93include/webkitgtk-4.0/webkit2/WebKitWebView.h
91include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h 94include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h
92include/webkitgtk-4.0/webkit2/WebKitWebViewSessionState.h 95include/webkitgtk-4.0/webkit2/WebKitWebViewSessionState.h
@@ -203,30 +206,30 @@ include/webkitgtk-4.0/webkitdom/WebKitDO @@ -203,30 +206,30 @@ include/webkitgtk-4.0/webkitdom/WebKitDO
203include/webkitgtk-4.0/webkitdom/WebKitDOMUIEvent.h 206include/webkitgtk-4.0/webkitdom/WebKitDOMUIEvent.h
204include/webkitgtk-4.0/webkitdom/WebKitDOMWheelEvent.h 207include/webkitgtk-4.0/webkitdom/WebKitDOMWheelEvent.h
205include/webkitgtk-4.0/webkitdom/WebKitDOMXPathExpression.h 208include/webkitgtk-4.0/webkitdom/WebKitDOMXPathExpression.h
206include/webkitgtk-4.0/webkitdom/WebKitDOMXPathNSResolver.h 209include/webkitgtk-4.0/webkitdom/WebKitDOMXPathNSResolver.h
207include/webkitgtk-4.0/webkitdom/WebKitDOMXPathResult.h 210include/webkitgtk-4.0/webkitdom/WebKitDOMXPathResult.h
208include/webkitgtk-4.0/webkitdom/webkitdom.h 211include/webkitgtk-4.0/webkitdom/webkitdom.h
209include/webkitgtk-4.0/webkitdom/webkitdomautocleanups.h 212include/webkitgtk-4.0/webkitdom/webkitdomautocleanups.h
210include/webkitgtk-4.0/webkitdom/webkitdomdefines.h 213include/webkitgtk-4.0/webkitdom/webkitdomdefines.h
211${PLIST.introspection}lib/girepository-1.0/JavaScriptCore-4.0.typelib 214${PLIST.introspection}lib/girepository-1.0/JavaScriptCore-4.0.typelib
212${PLIST.introspection}lib/girepository-1.0/WebKit2-4.0.typelib 215${PLIST.introspection}lib/girepository-1.0/WebKit2-4.0.typelib
213${PLIST.introspection}lib/girepository-1.0/WebKit2WebExtension-4.0.typelib 216${PLIST.introspection}lib/girepository-1.0/WebKit2WebExtension-4.0.typelib
214lib/libjavascriptcoregtk-4.0.so 217lib/libjavascriptcoregtk-4.0.so
215lib/libjavascriptcoregtk-4.0.so.18 218lib/libjavascriptcoregtk-4.0.so.18
216lib/libjavascriptcoregtk-4.0.so.18.14.9 219lib/libjavascriptcoregtk-4.0.so.18.16.3
217lib/libwebkit2gtk-4.0.so 220lib/libwebkit2gtk-4.0.so
218lib/libwebkit2gtk-4.0.so.37 221lib/libwebkit2gtk-4.0.so.37
219lib/libwebkit2gtk-4.0.so.37.39.5 222lib/libwebkit2gtk-4.0.so.37.44.2
220lib/pkgconfig/javascriptcoregtk-4.0.pc 223lib/pkgconfig/javascriptcoregtk-4.0.pc
221lib/pkgconfig/webkit2gtk-4.0.pc 224lib/pkgconfig/webkit2gtk-4.0.pc
222lib/pkgconfig/webkit2gtk-web-extension-4.0.pc 225lib/pkgconfig/webkit2gtk-web-extension-4.0.pc
223lib/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so 226lib/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so
224libexec/webkit2gtk-4.0/MiniBrowser 227libexec/webkit2gtk-4.0/MiniBrowser
225libexec/webkit2gtk-4.0/WebKitNetworkProcess 228libexec/webkit2gtk-4.0/WebKitNetworkProcess
226libexec/webkit2gtk-4.0/WebKitPluginProcess 229libexec/webkit2gtk-4.0/WebKitPluginProcess
227libexec/webkit2gtk-4.0/WebKitWebProcess 230libexec/webkit2gtk-4.0/WebKitWebProcess
228libexec/webkit2gtk-4.0/jsc 231libexec/webkit2gtk-4.0/jsc
229${PLIST.introspection}share/gir-1.0/JavaScriptCore-4.0.gir 232${PLIST.introspection}share/gir-1.0/JavaScriptCore-4.0.gir
230${PLIST.introspection}share/gir-1.0/WebKit2-4.0.gir 233${PLIST.introspection}share/gir-1.0/WebKit2-4.0.gir
231${PLIST.introspection}share/gir-1.0/WebKit2WebExtension-4.0.gir 234${PLIST.introspection}share/gir-1.0/WebKit2WebExtension-4.0.gir
232share/locale/ar/LC_MESSAGES/WebKit2GTK-4.0.mo 235share/locale/ar/LC_MESSAGES/WebKit2GTK-4.0.mo

cvs diff -r1.132 -r1.133 pkgsrc/www/webkit-gtk/distinfo (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/distinfo 2020/02/14 19:15:54 1.132
+++ pkgsrc/www/webkit-gtk/distinfo 2020/03/10 18:14:04 1.133
@@ -1,34 +1,37 @@ @@ -1,34 +1,37 @@
1$NetBSD: distinfo,v 1.132 2020/02/14 19:15:54 leot Exp $ 1$NetBSD: distinfo,v 1.133 2020/03/10 18:14:04 leot Exp $
2 2
3SHA1 (webkitgtk-2.26.4.tar.xz) = 72f209c08ecc8ad4f0f6b767d4fa1be7a652df33 3SHA1 (webkitgtk-2.28.0.tar.xz) = 927d0922b986fd06567015ce4425ed05d9fca209
4RMD160 (webkitgtk-2.26.4.tar.xz) = b1dc653c9d675914f296a4bc0e63ea2b4fec7041 4RMD160 (webkitgtk-2.28.0.tar.xz) = 672920e0fbd4dc18427bec7bce5276970b5e7b66
5SHA512 (webkitgtk-2.26.4.tar.xz) = b4d96672d0a41fb7591dd312254fc1b7a85e632923bf2d954d79d395306db96d5a6b4f85e24ea4ba0a447e45e29a41882249c26f6b2d6d572225abefcf28a474 5SHA512 (webkitgtk-2.28.0.tar.xz) = ce6b770e99741be6d353716d1e7bccba1372ed4667baeec41428d73c3502b0baa1cb8932f6bcede9c87d9b7f54b57a5a85a056c9882d4c5b34f9c70e6a2124dd
6Size (webkitgtk-2.26.4.tar.xz) = 19329636 bytes 6Size (webkitgtk-2.28.0.tar.xz) = 21425084 bytes
7SHA1 (patch-CMakeLists.txt) = 08f647f6928bf3fce0dabb02586e1447d16da297 7SHA1 (patch-CMakeLists.txt) = 08f647f6928bf3fce0dabb02586e1447d16da297
8SHA1 (patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh) = f4f117e6c1cd8eb8e4905f74946e0367156ed528 8SHA1 (patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh) = f4f117e6c1cd8eb8e4905f74946e0367156ed528
9SHA1 (patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh) = 308a7c8f687253b4fc75de0c66016dd18666e697 9SHA1 (patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh) = 308a7c8f687253b4fc75de0c66016dd18666e697
10SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 2a8f28316ffd1acc0e8c746ad8c9cee9aaf8c611 10SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 79c282ca90d0ba2ef4769da40d4648f5f709951b
11SHA1 (patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h) = 70975aac175ec4131a4ed26a54dfe51e16ffb7cd 11SHA1 (patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h) = 70975aac175ec4131a4ed26a54dfe51e16ffb7cd
12SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = e6a23d5ef22bddd0a9606fb0e472960e4cf5673e 12SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = d49d91b9ff637ac4583d0c78c93efea12b07cd02
13SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = d600887955128cecece21ba401f6f53ba5cfbeb6 13SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = d04f2f59094d9b8af663fb68090e440887830d74
14SHA1 (patch-Source_JavaScriptCore_offlineasm_arm64.rb) = 8c05dafa317667bbf55504d05eeb8ae06fba4e93 14SHA1 (patch-Source_JavaScriptCore_offlineasm_arm64.rb) = 8c05dafa317667bbf55504d05eeb8ae06fba4e93
15SHA1 (patch-Source_JavaScriptCore_runtime_MachineContext.h) = 23bc86a389f8009ec829c3ee0fe3effe3f20b012 15SHA1 (patch-Source_JavaScriptCore_runtime_MachineContext.h) = 23bc86a389f8009ec829c3ee0fe3effe3f20b012
16SHA1 (patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh) = b536bcbe0ac4ff158b5bc35dfa363d00120ed2f0 16SHA1 (patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh) = 0c0d5ef4e3bad794388fa406c35b34aa4d816f05
17SHA1 (patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h) = 00ee667591627b104135862658f8182895b51003 17SHA1 (patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h) = 10debffda84bc752ed434657a337a466aad19a3a
18SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = a5454eb891ad1f9d8285c28af2e9efb4ff439e6b 18SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = a5454eb891ad1f9d8285c28af2e9efb4ff439e6b
19SHA1 (patch-Source_WTF_wtf_FileSystem.cpp) = 53a8e65970f15202b3cdf1f4149d35b431c32a46 19SHA1 (patch-Source_WTF_wtf_FileSystem.cpp) = 53a8e65970f15202b3cdf1f4149d35b431c32a46
20SHA1 (patch-Source_WTF_wtf_Platform.h) = 584720f4e248ff7e51166c267d08954786c28ab7 20SHA1 (patch-Source_WTF_wtf_PlatformEnable.h) = eb5598c20c8453314daba7897066f15827bbede7
21SHA1 (patch-Source_WTF_wtf_RAMSize.cpp) = b440e7041f72e76ab840977fc4d48d6dd32ed2ed 21SHA1 (patch-Source_WTF_wtf_PlatformHave.h) = 3787817a0e288d00aa747c417aecd9abf52866d1
 22SHA1 (patch-Source_WTF_wtf_PlatformOS.h) = 80aa6ff20f10407d447fdb41606d4bb4989351aa
 23SHA1 (patch-Source_WTF_wtf_PlatformUse.h) = 595486b48e7d89378208c0a209a121ef136415e6
 24SHA1 (patch-Source_WTF_wtf_RAMSize.cpp) = 81f8f63b4f974601cd50b1d49fcb89f326a43437
22SHA1 (patch-Source_WTF_wtf_StackBounds.cpp) = 22a71daac8443f079ad8bcc7285cfd7319c972b3 25SHA1 (patch-Source_WTF_wtf_StackBounds.cpp) = 22a71daac8443f079ad8bcc7285cfd7319c972b3
23SHA1 (patch-Source_WebCore_Scripts_check-xcfilelists.sh) = b292baf2494bcd459d9af91386263123046c6615 26SHA1 (patch-Source_WebCore_Scripts_check-xcfilelists.sh) = b292baf2494bcd459d9af91386263123046c6615
24SHA1 (patch-Source_WebCore_Scripts_generate-unified-sources.sh) = 740eb33931b6f9cb8008748323235f23466328dc 27SHA1 (patch-Source_WebCore_Scripts_generate-unified-sources.sh) = 740eb33931b6f9cb8008748323235f23466328dc
25SHA1 (patch-Source_WebCore_inspector_InspectorFrontendHost.cpp) = daf6351a1a0b5a49592a2bb6db0d54620c7b09e3 28SHA1 (patch-Source_WebCore_inspector_InspectorFrontendHost.cpp) = daf6351a1a0b5a49592a2bb6db0d54620c7b09e3
26SHA1 (patch-Source_WebCore_platform_graphics_filters_FEMorphology.cpp) = 16b36d2d91fd7f43156b9ee09bcafd19602ebbd9 29SHA1 (patch-Source_WebCore_platform_graphics_filters_FEMorphology.cpp) = 16b36d2d91fd7f43156b9ee09bcafd19602ebbd9
27SHA1 (patch-Source_WebCore_rendering_shapes_RasterShape.cpp) = 551e47698dee50d097b11e3218f13bb3447edfea 30SHA1 (patch-Source_WebCore_rendering_shapes_RasterShape.cpp) = 551e47698dee50d097b11e3218f13bb3447edfea
28SHA1 (patch-Source_WebKit_CMakeLists.txt) = 228cc4734de3b08a3877ac839b1ffa2fbf2d3aa8 31SHA1 (patch-Source_WebKit_CMakeLists.txt) = 228cc4734de3b08a3877ac839b1ffa2fbf2d3aa8
29SHA1 (patch-Source_WebKit_NetworkProcess_cache_NetworkCacheFileSystem.cpp) = 8c19692e78b1cfb021b95435508a10bc6542b173 32SHA1 (patch-Source_WebKit_NetworkProcess_cache_NetworkCacheFileSystem.cpp) = 8c19692e78b1cfb021b95435508a10bc6542b173
30SHA1 (patch-Source_WebKit_PlatformGTK.cmake) = 61d2b4942b83d3f3c1b642d122f109ba90bbff9d 33SHA1 (patch-Source_WebKit_PlatformGTK.cmake) = 61d2b4942b83d3f3c1b642d122f109ba90bbff9d
31SHA1 (patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp) = 35b62538d09af8725202673a2a23d814f624f8bd 34SHA1 (patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp) = 35b62538d09af8725202673a2a23d814f624f8bd
32SHA1 (patch-Source_WebKit_Platform_classifier_ResourceLoadStatisticsClassifier.cpp) = 920376ec8697780637f376b2fff312b7e214a7f6 35SHA1 (patch-Source_WebKit_Platform_classifier_ResourceLoadStatisticsClassifier.cpp) = 920376ec8697780637f376b2fff312b7e214a7f6
33SHA1 (patch-Source_WebKit_Scripts_check-xcfilelists.sh) = 22cc5ba1ababc6395aa0ef467db0c27c2fbf6878 36SHA1 (patch-Source_WebKit_Scripts_check-xcfilelists.sh) = 22cc5ba1ababc6395aa0ef467db0c27c2fbf6878
34SHA1 (patch-Source_WebKit_Scripts_generate-unified-sources.sh) = def930cf3f706ac657b2f8835c8c0278ade8f663 37SHA1 (patch-Source_WebKit_Scripts_generate-unified-sources.sh) = def930cf3f706ac657b2f8835c8c0278ade8f663

cvs diff -r1.20 -r1.21 pkgsrc/www/webkit-gtk/options.mk (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/options.mk 2020/01/05 17:55:21 1.20
+++ pkgsrc/www/webkit-gtk/options.mk 2020/03/10 18:14:04 1.21
@@ -1,34 +1,34 @@ @@ -1,34 +1,34 @@
1# $NetBSD: options.mk,v 1.20 2020/01/05 17:55:21 nia Exp $ 1# $NetBSD: options.mk,v 1.21 2020/03/10 18:14:04 leot Exp $
2# 2#
3 3
4PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk 4PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk
5PKG_SUPPORTED_OPTIONS= debug enchant introspection opengl webkit-jit wayland 5PKG_SUPPORTED_OPTIONS= debug enchant introspection opengl webkit-jit wayland
6PKG_SUGGESTED_OPTIONS= enchant introspection opengl 6PKG_SUGGESTED_OPTIONS= enchant introspection opengl
7.include "../../devel/wayland/platform.mk" 7.include "../../devel/wayland/platform.mk"
8.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes" 8.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
9PKG_SUGGESTED_OPTIONS+= wayland 9PKG_SUGGESTED_OPTIONS+= wayland
10.endif 10.endif
11 11
12PLIST_VARS= introspection 12PLIST_VARS= introspection
13 13
14.include "../../mk/bsd.fast.prefs.mk" 14.include "../../mk/bsd.fast.prefs.mk"
15 15
16# 16#
17# Platforms that support the webkit-jit option 17# Platforms that support the webkit-jit option
18# 18#
19# Please see: 19# Please see:
20# Source/cmake/WebKitFeatures.cmake 20# Source/cmake/WebKitFeatures.cmake
21# Source/WTF/wtf/Platform.h 21# Source/WTF/wtf/PlatformEnable.h
22# 22#
23WEBKIT_JIT_MACHINE_PLATFORMS+= Darwin-*-* 23WEBKIT_JIT_MACHINE_PLATFORMS+= Darwin-*-*
24WEBKIT_JIT_MACHINE_PLATFORMS+= DragonFly-*-* 24WEBKIT_JIT_MACHINE_PLATFORMS+= DragonFly-*-*
25WEBKIT_JIT_MACHINE_PLATFORMS+= FreeBSD-*-x86_64 FreeBSD-*-aarch64 25WEBKIT_JIT_MACHINE_PLATFORMS+= FreeBSD-*-x86_64 FreeBSD-*-aarch64
26WEBKIT_JIT_MACHINE_PLATFORMS+= Linux-*-x86_64 Linux-*-arm* 26WEBKIT_JIT_MACHINE_PLATFORMS+= Linux-*-x86_64 Linux-*-arm*
27WEBKIT_JIT_MACHINE_PLATFORMS+= Linux-*-aarch64 Linux-*-mips* 27WEBKIT_JIT_MACHINE_PLATFORMS+= Linux-*-aarch64 Linux-*-mips*
28WEBKIT_JIT_MACHINE_PLATFORMS+= NetBSD-*-x86_64 NetBSD-*-aarch64 28WEBKIT_JIT_MACHINE_PLATFORMS+= NetBSD-*-x86_64 NetBSD-*-aarch64
29 29
30.if !empty(WEBKIT_JIT_MACHINE_PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@) 30.if !empty(WEBKIT_JIT_MACHINE_PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@)
31PKG_SUGGESTED_OPTIONS+= webkit-jit 31PKG_SUGGESTED_OPTIONS+= webkit-jit
32.endif 32.endif
33 33
34.include "../../mk/bsd.options.mk" 34.include "../../mk/bsd.options.mk"

cvs diff -r1.4 -r1.5 pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h 2019/07/02 10:48:08 1.4
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h 2020/03/10 18:14:04 1.5
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1$NetBSD: patch-Source_JavaScriptCore_assembler_ARM64Assembler.h,v 1.4 2019/07/02 10:48:08 leot Exp $ 1$NetBSD: patch-Source_JavaScriptCore_assembler_ARM64Assembler.h,v 1.5 2020/03/10 18:14:04 leot Exp $
2 2
3- Add support for FreeBSD and NetBSD. 3- Add support for FreeBSD and NetBSD.
4 Based on patch from FreeBSD ports but using __builtin___clear_cache() 4 Based on patch from FreeBSD ports but using __builtin___clear_cache()
5 instead of __clear_cache() (the former is also available in gcc). 5 instead of __clear_cache() (the former is also available in gcc).
6 6
7--- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2019-02-12 11:21:03.000000000 +0000 7--- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2020-02-04 10:23:58.000000000 +0000
8+++ Source/JavaScriptCore/assembler/ARM64Assembler.h 8+++ Source/JavaScriptCore/assembler/ARM64Assembler.h
9@@ -2874,6 +2874,8 @@ public: 9@@ -2809,6 +2809,8 @@ public:
10 { 10 {
11 #if OS(IOS_FAMILY) 11 #if OS(DARWIN)
12 sys_cache_control(kCacheFunctionPrepareForExecution, code, size); 12 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
13+#elif OS(FREEBSD) || OS(NETBSD) 13+#elif OS(FREEBSD) || OS(NETBSD)
14+ __builtin___clear_cache(code, reinterpret_cast<char*>(code) + size); 14+ __builtin___clear_cache(code, reinterpret_cast<char*>(code) + size);
15 #elif OS(FUCHSIA) 15 #elif OS(FUCHSIA)
16 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN); 16 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
17 #elif OS(LINUX) 17 #elif OS(LINUX)

cvs diff -r1.1 -r1.2 pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp 2018/06/15 09:17:02 1.1
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp 2020/03/10 18:14:04 1.2
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: patch-Source_JavaScriptCore_heap_MarkedSpace.cpp,v 1.1 2018/06/15 09:17:02 jperkin Exp $ 1$NetBSD: patch-Source_JavaScriptCore_heap_MarkedSpace.cpp,v 1.2 2020/03/10 18:14:04 leot Exp $
2 2
3Avoid ambiguous function call. 3Avoid ambiguous function call.
4 4
5--- Source/JavaScriptCore/heap/MarkedSpace.cpp.orig 2018-02-20 11:01:51.000000000 +0000 5--- Source/JavaScriptCore/heap/MarkedSpace.cpp.orig 2020-02-04 10:23:59.000000000 +0000
6+++ Source/JavaScriptCore/heap/MarkedSpace.cpp 6+++ Source/JavaScriptCore/heap/MarkedSpace.cpp
7@@ -29,6 +29,8 @@ 7@@ -30,6 +30,8 @@
8 #include "MarkedBlockInlines.h" 8 #include "MarkedSpaceInlines.h"
9 #include <wtf/ListDump.h> 9 #include <wtf/ListDump.h>
10  10
11+using std::pow; 11+using std::pow;
12+ 12+
13 namespace JSC { 13 namespace JSC {
14  14
15 std::array<size_t, MarkedSpace::numSizeClasses> MarkedSpace::s_sizeClassForSizeStep; 15 std::array<size_t, MarkedSpace::numSizeClasses> MarkedSpace::s_sizeClassForSizeStep;

cvs diff -r1.1 -r1.2 pkgsrc/www/webkit-gtk/patches/Attic/patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/patches/Attic/patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh 2019/09/10 22:10:04 1.1
+++ pkgsrc/www/webkit-gtk/patches/Attic/patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh 2020/03/10 18:14:04 1.2
@@ -1,15 +1,24 @@ @@ -1,15 +1,24 @@
1$NetBSD: patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh,v 1.1 2019/09/10 22:10:04 leot Exp $ 1$NetBSD: patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh,v 1.2 2020/03/10 18:14:04 leot Exp $
2 2
3Avoid unportable `==' test(1) operator. 3Avoid unportable `==' test(1) operator.
4 4
5--- Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh.orig 2019-08-28 11:46:28.000000000 +0000 5--- Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh.orig 2020-02-04 10:24:05.000000000 +0000
6+++ Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh 6+++ Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh
7@@ -19,7 +19,7 @@ 7@@ -19,7 +19,7 @@
8 # that they refer to each other. This avoids modifying the ANGLE 8 # that they refer to each other. This avoids modifying the ANGLE
9 # sources, and allows WebCore to more easily call ANGLE APIs directly. 9 # sources, and allows WebCore to more easily call ANGLE APIs directly.
10  10
11-if [ "$DEPLOYMENT_LOCATION" == "YES" ] ; then 11-if [ "$DEPLOYMENT_LOCATION" == "YES" ] ; then
12+if [ "$DEPLOYMENT_LOCATION" = "YES" ] ; then 12+if [ "$DEPLOYMENT_LOCATION" = "YES" ] ; then
13 # Apple-internal build. 13 # Apple-internal build.
14 output_dir=$DSTROOT/$PUBLIC_HEADERS_FOLDER_PATH 14 output_dir=${DSTROOT}${PUBLIC_HEADERS_FOLDER_PATH}
15 else 15 else
 16@@ -27,7 +27,7 @@ else
 17 output_dir=${BUILT_PRODUCTS_DIR}${PUBLIC_HEADERS_FOLDER_PATH}
 18 fi
 19
 20-if [ $(uname) == "Linux" ]; then
 21+if [ $(uname) = "Linux" ]; then
 22 inplace_opt=(-i)
 23 else
 24 inplace_opt=(-i "")

cvs diff -r1.1 -r1.2 pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h 2019/09/15 10:58:52 1.1
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h 2020/03/10 18:14:04 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1$NetBSD: patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h,v 1.1 2019/09/15 10:58:52 leot Exp $ 1$NetBSD: patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h,v 1.2 2020/03/10 18:14:04 leot Exp $
2 2
3Include <cmath> for is isinf/isnan used in SymbolTable_autogen.cpp. 3Include <cmath> for is isinf/isnan used in SymbolTable_autogen.cpp.
4 4
5--- Source/ThirdParty/ANGLE/src/compiler/translator/SymbolTable.h.orig 2019-08-28 11:46:28.000000000 +0000 5--- Source/ThirdParty/ANGLE/src/compiler/translator/SymbolTable.h.orig 2020-02-04 10:24:05.000000000 +0000
6+++ Source/ThirdParty/ANGLE/src/compiler/translator/SymbolTable.h 6+++ Source/ThirdParty/ANGLE/src/compiler/translator/SymbolTable.h
7@@ -30,6 +30,7 @@ 7@@ -30,6 +30,7 @@
8 // are tracked in the intermediate representation, not the symbol table. 8 // are tracked in the intermediate representation, not the symbol table.
9 // 9 //
10  10
11+#include <cmath> 11+#include <cmath>
 12 #include <limits>
12 #include <memory> 13 #include <memory>
13 #include <set> 14 #include <set>
14  

cvs diff -r1.3 -r1.4 pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp 2019/03/13 20:49:40 1.3
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp 2020/03/10 18:14:04 1.4
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1$NetBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp,v 1.3 2019/03/13 20:49:40 leot Exp $ 1$NetBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp,v 1.4 2020/03/10 18:14:04 leot Exp $
2 2
3Avoid to (pre)allocate 1GB of memory on OpenBSD: 3Avoid to (pre)allocate 1GB of memory on OpenBSD:
4 4
5 <https://bugs.webkit.org/show_bug.cgi?id=61137> 5 <https://bugs.webkit.org/show_bug.cgi?id=61137>
6 6
7From OpenBSD ports. 7From OpenBSD ports.
8 8
9--- Source/JavaScriptCore/jit/ExecutableAllocator.cpp.orig 2019-02-12 11:21:03.000000000 +0000 9--- Source/JavaScriptCore/jit/ExecutableAllocator.cpp.orig 2020-02-04 10:23:59.000000000 +0000
10+++ Source/JavaScriptCore/jit/ExecutableAllocator.cpp 10+++ Source/JavaScriptCore/jit/ExecutableAllocator.cpp
11@@ -92,7 +92,7 @@ static const size_t fixedExecutableMemor 11@@ -97,7 +97,7 @@ static constexpr size_t fixedExecutableM
12 static const size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024; 12 static constexpr size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024;
13 #elif CPU(ARM64) 13 #elif CPU(ARM64)
14 static const size_t fixedExecutableMemoryPoolSize = 128 * 1024 * 1024; 14 static constexpr size_t fixedExecutableMemoryPoolSize = 128 * 1024 * 1024;
15-#elif CPU(X86_64) 15-#elif CPU(X86_64)
16+#elif CPU(X86_64) && !OS(OPENBSD) 16+#elif CPU(X86_64) && !OS(OPENBSD)
17 static const size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024; 17 static constexpr size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024;
18 #else 18 #else
19 static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024; 19 static constexpr size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;

cvs diff -r1.3 -r1.4 pkgsrc/www/webkit-gtk/patches/Attic/patch-Source_WTF_wtf_RAMSize.cpp (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/patches/Attic/patch-Source_WTF_wtf_RAMSize.cpp 2019/03/27 10:50:30 1.3
+++ pkgsrc/www/webkit-gtk/patches/Attic/patch-Source_WTF_wtf_RAMSize.cpp 2020/03/10 18:14:04 1.4
@@ -1,38 +1,38 @@ @@ -1,38 +1,38 @@
1$NetBSD: patch-Source_WTF_wtf_RAMSize.cpp,v 1.3 2019/03/27 10:50:30 jperkin Exp $ 1$NetBSD: patch-Source_WTF_wtf_RAMSize.cpp,v 1.4 2020/03/10 18:14:04 leot Exp $
2 2
3Add support for NetBSD and SunOS. 3Add support for NetBSD and SunOS.
4 4
5--- Source/WTF/wtf/RAMSize.cpp.orig 2019-02-12 11:21:17.000000000 +0000 5--- Source/WTF/wtf/RAMSize.cpp.orig 2020-02-04 10:24:07.000000000 +0000
6+++ Source/WTF/wtf/RAMSize.cpp 6+++ Source/WTF/wtf/RAMSize.cpp
7@@ -35,13 +35,19 @@ 7@@ -35,13 +35,19 @@
8 #if OS(LINUX) 8 #if OS(LINUX)
9 #include <sys/sysinfo.h> 9 #include <sys/sysinfo.h>
10 #endif // OS(LINUX) 10 #endif // OS(LINUX)
11+#if OS(SOLARIS) 11+#if OS(SOLARIS)
12+#include <unistd.h> 12+#include <unistd.h>
13+#endif 13+#endif
14+#if OS(NETBSD) 14+#if OS(NETBSD)
15+#include <sys/sysctl.h> 15+#include <sys/sysctl.h>
16+#endif // OS(NETBSD) 16+#endif // OS(NETBSD)
17 #else 17 #else
18 #include <bmalloc/bmalloc.h> 18 #include <bmalloc/bmalloc.h>
19 #endif 19 #endif
20  20
21 namespace WTF { 21 namespace WTF {
22  22
23-#if OS(WINDOWS) 23-#if OS(WINDOWS)
24+#if OS(WINDOWS) || (OS(NETBSD) && defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC) 24+#if OS(WINDOWS) || (OS(NETBSD) && defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC)
25 static const size_t ramSizeGuess = 512 * MB; 25 static constexpr size_t ramSizeGuess = 512 * MB;
26 #endif 26 #endif
27  27
28@@ -59,9 +65,20 @@ static size_t computeRAMSize() 28@@ -59,9 +65,20 @@ static size_t computeRAMSize()
29 struct sysinfo si; 29 struct sysinfo si;
30 sysinfo(&si); 30 sysinfo(&si);
31 return si.totalram * si.mem_unit; 31 return si.totalram * si.mem_unit;
32+#elif OS(SOLARIS) 32+#elif OS(SOLARIS)
33+ return (sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE)); 33+ return (sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE));
34+#elif OS(NETBSD) 34+#elif OS(NETBSD)
35+ int mib[2]; 35+ int mib[2];
36+ size_t len, totalram; 36+ size_t len, totalram;
37+ mib[0] = CTL_HW; 37+ mib[0] = CTL_HW;
38+ mib[1] = HW_USERMEM64; 38+ mib[1] = HW_USERMEM64;

File Deleted: pkgsrc/www/webkit-gtk/patches/Attic/patch-Source_WTF_wtf_Platform.h

File Added: pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformEnable.h
$NetBSD: patch-Source_WTF_wtf_PlatformEnable.h,v 1.1 2020/03/10 18:14:04 leot Exp $

Enable the JIT on NetBSD.

--- Source/WTF/wtf/PlatformEnable.h.orig	2020-02-04 10:24:07.000000000 +0000
+++ Source/WTF/wtf/PlatformEnable.h
@@ -625,12 +625,12 @@
 #if !defined(ENABLE_DFG_JIT) && ENABLE(JIT)
 
 /* Enable the DFG JIT on X86 and X86_64. */
-#if CPU(X86_64) && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD) || OS(HURD) || OS(WINDOWS))
+#if CPU(X86_64) && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD) || OS(NETBSD) || OS(HURD) || OS(WINDOWS))
 #define ENABLE_DFG_JIT 1
 #endif
 
-/* Enable the DFG JIT on ARMv7.  Only tested on iOS, Linux, and FreeBSD. */
-#if (CPU(ARM_THUMB2) || CPU(ARM64)) && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD))
+/* Enable the DFG JIT on ARMv7.  Only tested on iOS, Linux, and FreeBSD and NetBSD. */
+#if (CPU(ARM_THUMB2) || CPU(ARM64)) && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD) || OS(NETBSD))
 #define ENABLE_DFG_JIT 1
 #endif
 

File Added: pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformHave.h
$NetBSD: patch-Source_WTF_wtf_PlatformHave.h,v 1.1 2020/03/10 18:14:04 leot Exp $

Add support for NetBSD.

--- Source/WTF/wtf/PlatformHave.h.orig	2020-02-26 10:34:01.000000000 +0000
+++ Source/WTF/wtf/PlatformHave.h
@@ -222,7 +222,7 @@
 #define HAVE_HOSTED_CORE_ANIMATION 1
 #endif
 
-#if OS(DARWIN) || OS(FUCHSIA) || ((OS(FREEBSD) || defined(__GLIBC__) || defined(__BIONIC__)) && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)))
+#if OS(DARWIN) || OS(FUCHSIA) || ((OS(FREEBSD) || OS(NETBSD) || defined(__GLIBC__) || defined(__BIONIC__)) && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)))
 #define HAVE_MACHINE_CONTEXT 1
 #endif
 

File Added: pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformOS.h
$NetBSD: patch-Source_WTF_wtf_PlatformOS.h,v 1.1 2020/03/10 18:14:04 leot Exp $

Add OS(SOLARIS) definition and add them to Unix systems.

--- Source/WTF/wtf/PlatformOS.h.orig	2020-02-04 10:24:07.000000000 +0000
+++ Source/WTF/wtf/PlatformOS.h
@@ -114,6 +114,11 @@
 #define WTF_OS_OPENBSD 1
 #endif
 
+/* OS(SOLARIS) - Solaris and derivatives */
+#ifdef __sun
+#define WTF_OS_SOLARIS 1
+#endif
+
 /* OS(WINDOWS) - Any version of Windows */
 #if defined(WIN32) || defined(_WIN32)
 #define WTF_OS_WINDOWS 1
@@ -129,6 +134,7 @@
     || OS(LINUX)            \
     || OS(NETBSD)           \
     || OS(OPENBSD)          \
+    || OS(SOLARIS)          \
     || defined(unix)        \
     || defined(__unix)      \
     || defined(__unix__)

File Added: pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformUse.h
$NetBSD: patch-Source_WTF_wtf_PlatformUse.h,v 1.1 2020/03/10 18:14:04 leot Exp $

Avoid flock() on SunOS, not supported on older platforms.

--- Source/WTF/wtf/PlatformUse.h.orig	2020-02-04 10:24:07.000000000 +0000
+++ Source/WTF/wtf/PlatformUse.h
@@ -87,7 +87,7 @@
 #define USE_CF 1
 #endif
 
-#if PLATFORM(COCOA) || (PLATFORM(GTK) || PLATFORM(WPE))
+#if (PLATFORM(COCOA) || (PLATFORM(GTK) || PLATFORM(WPE))) && !OS(SOLARIS)
 #define USE_FILE_LOCK 1
 #endif