pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/webkit-gtk



Module Name:    pkgsrc
Committed By:   leot
Date:           Tue Mar 10 18:14:05 UTC 2020

Modified Files:
        pkgsrc/www/webkit-gtk: Makefile PLIST distinfo options.mk
        pkgsrc/www/webkit-gtk/patches:
            patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
            patch-Source_JavaScriptCore_heap_MarkedSpace.cpp
            patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp
            patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh
            patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h
            patch-Source_WTF_wtf_RAMSize.cpp
Added Files:
        pkgsrc/www/webkit-gtk/patches: patch-Source_WTF_wtf_PlatformEnable.h
            patch-Source_WTF_wtf_PlatformHave.h
            patch-Source_WTF_wtf_PlatformOS.h
            patch-Source_WTF_wtf_PlatformUse.h
Removed Files:
        pkgsrc/www/webkit-gtk/patches: patch-Source_WTF_wtf_Platform.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 pkgsrc/www/webkit-gtk/Makefile
cvs rdiff -u -r1.57 -r1.58 pkgsrc/www/webkit-gtk/PLIST
cvs rdiff -u -r1.132 -r1.133 pkgsrc/www/webkit-gtk/distinfo
cvs rdiff -u -r1.20 -r1.21 pkgsrc/www/webkit-gtk/options.mk
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh \
    pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_RAMSize.cpp
cvs rdiff -u -r1.13 -r0 \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_Platform.h
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformEnable.h \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformHave.h \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformOS.h \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformUse.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/webkit-gtk/Makefile
diff -u pkgsrc/www/webkit-gtk/Makefile:1.180 pkgsrc/www/webkit-gtk/Makefile:1.181
--- pkgsrc/www/webkit-gtk/Makefile:1.180        Sun Mar  8 16:48:19 2020
+++ pkgsrc/www/webkit-gtk/Makefile      Tue Mar 10 18:14:04 2020
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.180 2020/03/08 16:48:19 wiz Exp $
+# $NetBSD: Makefile,v 1.181 2020/03/10 18:14:04 leot Exp $
 
-DISTNAME=      webkitgtk-2.26.4
+DISTNAME=      webkitgtk-2.28.0
 PKGNAME=       ${DISTNAME:S/webkitgtk/webkit-gtk/}
-PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  https://www.webkitgtk.org/releases/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/www/webkit-gtk/PLIST
diff -u pkgsrc/www/webkit-gtk/PLIST:1.57 pkgsrc/www/webkit-gtk/PLIST:1.58
--- pkgsrc/www/webkit-gtk/PLIST:1.57    Fri Feb 14 19:15:54 2020
+++ pkgsrc/www/webkit-gtk/PLIST Tue Mar 10 18:14:04 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.57 2020/02/14 19:15:54 leot Exp $
+@comment $NetBSD: PLIST,v 1.58 2020/03/10 18:14:04 leot Exp $
 bin/WebKitWebDriver
 include/webkitgtk-4.0/JavaScriptCore/JSBase.h
 include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h
@@ -48,6 +48,7 @@ include/webkitgtk-4.0/webkit2/WebKitFram
 include/webkitgtk-4.0/webkit2/WebKitGeolocationManager.h
 include/webkitgtk-4.0/webkit2/WebKitGeolocationPermissionRequest.h
 include/webkitgtk-4.0/webkit2/WebKitHitTestResult.h
+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/WebKitMimeInfo.h
@@ -60,6 +61,7 @@ include/webkitgtk-4.0/webkit2/WebKitOpti
 include/webkitgtk-4.0/webkit2/WebKitOptionMenuItem.h
 include/webkitgtk-4.0/webkit2/WebKitPermissionRequest.h
 include/webkitgtk-4.0/webkit2/WebKitPlugin.h
+include/webkitgtk-4.0/webkit2/WebKitPointerLockPermissionRequest.h
 include/webkitgtk-4.0/webkit2/WebKitPolicyDecision.h
 include/webkitgtk-4.0/webkit2/WebKitPrintCustomWidget.h
 include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h
@@ -77,6 +79,7 @@ include/webkitgtk-4.0/webkit2/WebKitUser
 include/webkitgtk-4.0/webkit2/WebKitUserContentFilterStore.h
 include/webkitgtk-4.0/webkit2/WebKitUserContentManager.h
 include/webkitgtk-4.0/webkit2/WebKitUserMediaPermissionRequest.h
+include/webkitgtk-4.0/webkit2/WebKitUserMessage.h
 include/webkitgtk-4.0/webkit2/WebKitVersion.h
 include/webkitgtk-4.0/webkit2/WebKitWebContext.h
 include/webkitgtk-4.0/webkit2/WebKitWebEditor.h
@@ -213,10 +216,10 @@ ${PLIST.introspection}lib/girepository-1
 ${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.14.9
+lib/libjavascriptcoregtk-4.0.so.18.16.3
 lib/libwebkit2gtk-4.0.so
 lib/libwebkit2gtk-4.0.so.37
-lib/libwebkit2gtk-4.0.so.37.39.5
+lib/libwebkit2gtk-4.0.so.37.44.2
 lib/pkgconfig/javascriptcoregtk-4.0.pc
 lib/pkgconfig/webkit2gtk-4.0.pc
 lib/pkgconfig/webkit2gtk-web-extension-4.0.pc

Index: pkgsrc/www/webkit-gtk/distinfo
diff -u pkgsrc/www/webkit-gtk/distinfo:1.132 pkgsrc/www/webkit-gtk/distinfo:1.133
--- pkgsrc/www/webkit-gtk/distinfo:1.132        Fri Feb 14 19:15:54 2020
+++ pkgsrc/www/webkit-gtk/distinfo      Tue Mar 10 18:14:04 2020
@@ -1,24 +1,27 @@
-$NetBSD: distinfo,v 1.132 2020/02/14 19:15:54 leot Exp $
+$NetBSD: distinfo,v 1.133 2020/03/10 18:14:04 leot Exp $
 
-SHA1 (webkitgtk-2.26.4.tar.xz) = 72f209c08ecc8ad4f0f6b767d4fa1be7a652df33
-RMD160 (webkitgtk-2.26.4.tar.xz) = b1dc653c9d675914f296a4bc0e63ea2b4fec7041
-SHA512 (webkitgtk-2.26.4.tar.xz) = b4d96672d0a41fb7591dd312254fc1b7a85e632923bf2d954d79d395306db96d5a6b4f85e24ea4ba0a447e45e29a41882249c26f6b2d6d572225abefcf28a474
-Size (webkitgtk-2.26.4.tar.xz) = 19329636 bytes
+SHA1 (webkitgtk-2.28.0.tar.xz) = 927d0922b986fd06567015ce4425ed05d9fca209
+RMD160 (webkitgtk-2.28.0.tar.xz) = 672920e0fbd4dc18427bec7bce5276970b5e7b66
+SHA512 (webkitgtk-2.28.0.tar.xz) = ce6b770e99741be6d353716d1e7bccba1372ed4667baeec41428d73c3502b0baa1cb8932f6bcede9c87d9b7f54b57a5a85a056c9882d4c5b34f9c70e6a2124dd
+Size (webkitgtk-2.28.0.tar.xz) = 21425084 bytes
 SHA1 (patch-CMakeLists.txt) = 08f647f6928bf3fce0dabb02586e1447d16da297
 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) = 2a8f28316ffd1acc0e8c746ad8c9cee9aaf8c611
+SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 79c282ca90d0ba2ef4769da40d4648f5f709951b
 SHA1 (patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h) = 70975aac175ec4131a4ed26a54dfe51e16ffb7cd
-SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = e6a23d5ef22bddd0a9606fb0e472960e4cf5673e
-SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = d600887955128cecece21ba401f6f53ba5cfbeb6
+SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = d49d91b9ff637ac4583d0c78c93efea12b07cd02
+SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = d04f2f59094d9b8af663fb68090e440887830d74
 SHA1 (patch-Source_JavaScriptCore_offlineasm_arm64.rb) = 8c05dafa317667bbf55504d05eeb8ae06fba4e93
 SHA1 (patch-Source_JavaScriptCore_runtime_MachineContext.h) = 23bc86a389f8009ec829c3ee0fe3effe3f20b012
-SHA1 (patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh) = b536bcbe0ac4ff158b5bc35dfa363d00120ed2f0
-SHA1 (patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h) = 00ee667591627b104135862658f8182895b51003
+SHA1 (patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh) = 0c0d5ef4e3bad794388fa406c35b34aa4d816f05
+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_WTF_wtf_FileSystem.cpp) = 53a8e65970f15202b3cdf1f4149d35b431c32a46
-SHA1 (patch-Source_WTF_wtf_Platform.h) = 584720f4e248ff7e51166c267d08954786c28ab7
-SHA1 (patch-Source_WTF_wtf_RAMSize.cpp) = b440e7041f72e76ab840977fc4d48d6dd32ed2ed
+SHA1 (patch-Source_WTF_wtf_PlatformEnable.h) = eb5598c20c8453314daba7897066f15827bbede7
+SHA1 (patch-Source_WTF_wtf_PlatformHave.h) = 3787817a0e288d00aa747c417aecd9abf52866d1
+SHA1 (patch-Source_WTF_wtf_PlatformOS.h) = 80aa6ff20f10407d447fdb41606d4bb4989351aa
+SHA1 (patch-Source_WTF_wtf_PlatformUse.h) = 595486b48e7d89378208c0a209a121ef136415e6
+SHA1 (patch-Source_WTF_wtf_RAMSize.cpp) = 81f8f63b4f974601cd50b1d49fcb89f326a43437
 SHA1 (patch-Source_WTF_wtf_StackBounds.cpp) = 22a71daac8443f079ad8bcc7285cfd7319c972b3
 SHA1 (patch-Source_WebCore_Scripts_check-xcfilelists.sh) = b292baf2494bcd459d9af91386263123046c6615
 SHA1 (patch-Source_WebCore_Scripts_generate-unified-sources.sh) = 740eb33931b6f9cb8008748323235f23466328dc

Index: pkgsrc/www/webkit-gtk/options.mk
diff -u pkgsrc/www/webkit-gtk/options.mk:1.20 pkgsrc/www/webkit-gtk/options.mk:1.21
--- pkgsrc/www/webkit-gtk/options.mk:1.20       Sun Jan  5 17:55:21 2020
+++ pkgsrc/www/webkit-gtk/options.mk    Tue Mar 10 18:14:04 2020
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.20 2020/01/05 17:55:21 nia Exp $
+# $NetBSD: options.mk,v 1.21 2020/03/10 18:14:04 leot Exp $
 #
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.webkit-gtk
@@ -18,7 +18,7 @@ PLIST_VARS=   introspection
 #
 # Please see:
 #  Source/cmake/WebKitFeatures.cmake
-#  Source/WTF/wtf/Platform.h
+#  Source/WTF/wtf/PlatformEnable.h
 #
 WEBKIT_JIT_MACHINE_PLATFORMS+= Darwin-*-*
 WEBKIT_JIT_MACHINE_PLATFORMS+= DragonFly-*-*

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

Index: pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp
diff -u pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp:1.1 pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp:1.2
--- pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp:1.1  Fri Jun 15 09:17:02 2018
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_heap_MarkedSpace.cpp      Tue Mar 10 18:14:04 2020
@@ -1,11 +1,11 @@
-$NetBSD: patch-Source_JavaScriptCore_heap_MarkedSpace.cpp,v 1.1 2018/06/15 09:17:02 jperkin Exp $
+$NetBSD: patch-Source_JavaScriptCore_heap_MarkedSpace.cpp,v 1.2 2020/03/10 18:14:04 leot Exp $
 
 Avoid ambiguous function call.
 
---- Source/JavaScriptCore/heap/MarkedSpace.cpp.orig    2018-02-20 11:01:51.000000000 +0000
+--- Source/JavaScriptCore/heap/MarkedSpace.cpp.orig    2020-02-04 10:23:59.000000000 +0000
 +++ Source/JavaScriptCore/heap/MarkedSpace.cpp
-@@ -29,6 +29,8 @@
- #include "MarkedBlockInlines.h"
+@@ -30,6 +30,8 @@
+ #include "MarkedSpaceInlines.h"
  #include <wtf/ListDump.h>
  
 +using std::pow;
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh
diff -u pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh:1.1 pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh:1.2
--- pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh:1.1       Tue Sep 10 22:10:04 2019
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh   Tue Mar 10 18:14:04 2020
@@ -1,8 +1,8 @@
-$NetBSD: patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh,v 1.1 2019/09/10 22:10:04 leot Exp $
+$NetBSD: patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh,v 1.2 2020/03/10 18:14:04 leot Exp $
 
 Avoid unportable `==' test(1) operator.
 
---- Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh.orig 2019-08-28 11:46:28.000000000 +0000
+--- Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh.orig 2020-02-04 10:24:05.000000000 +0000
 +++ Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh
 @@ -19,7 +19,7 @@
  # that they refer to each other. This avoids modifying the ANGLE
@@ -11,5 +11,14 @@ Avoid unportable `==' test(1) operator.
 -if [ "$DEPLOYMENT_LOCATION" == "YES" ] ; then
 +if [ "$DEPLOYMENT_LOCATION" = "YES" ] ; then
      # Apple-internal build.
-     output_dir=$DSTROOT/$PUBLIC_HEADERS_FOLDER_PATH
+     output_dir=${DSTROOT}${PUBLIC_HEADERS_FOLDER_PATH}
  else
+@@ -27,7 +27,7 @@ else
+     output_dir=${BUILT_PRODUCTS_DIR}${PUBLIC_HEADERS_FOLDER_PATH}
+ fi
+ 
+-if [ $(uname) == "Linux" ]; then
++if [ $(uname) = "Linux" ]; then
+     inplace_opt=(-i)
+ else
+     inplace_opt=(-i "")
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h
diff -u pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h:1.1 
pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h:1.2
--- pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h:1.1       Sun Sep 15 10:58:52 2019
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h   Tue Mar 10 18:14:04 2020
@@ -1,14 +1,14 @@
-$NetBSD: patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h,v 1.1 2019/09/15 10:58:52 leot Exp $
+$NetBSD: patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h,v 1.2 2020/03/10 18:14:04 leot Exp $
 
 Include <cmath> for is isinf/isnan used in SymbolTable_autogen.cpp.
 
---- Source/ThirdParty/ANGLE/src/compiler/translator/SymbolTable.h.orig 2019-08-28 11:46:28.000000000 +0000
+--- Source/ThirdParty/ANGLE/src/compiler/translator/SymbolTable.h.orig 2020-02-04 10:24:05.000000000 +0000
 +++ Source/ThirdParty/ANGLE/src/compiler/translator/SymbolTable.h
 @@ -30,6 +30,7 @@
  //   are tracked in the intermediate representation, not the symbol table.
  //
  
 +#include <cmath>
+ #include <limits>
  #include <memory>
  #include <set>
- 

Index: pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp
diff -u pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp:1.3 pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp:1.4
--- pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp:1.3   Wed Mar 13 20:49:40 2019
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp       Tue Mar 10 18:14:04 2020
@@ -1,4 +1,4 @@
-$NetBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp,v 1.3 2019/03/13 20:49:40 leot Exp $
+$NetBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp,v 1.4 2020/03/10 18:14:04 leot Exp $
 
 Avoid to (pre)allocate 1GB of memory on OpenBSD:
 
@@ -6,14 +6,14 @@ Avoid to (pre)allocate 1GB of memory on 
 
 From OpenBSD ports.
 
---- Source/JavaScriptCore/jit/ExecutableAllocator.cpp.orig     2019-02-12 11:21:03.000000000 +0000
+--- Source/JavaScriptCore/jit/ExecutableAllocator.cpp.orig     2020-02-04 10:23:59.000000000 +0000
 +++ Source/JavaScriptCore/jit/ExecutableAllocator.cpp
-@@ -92,7 +92,7 @@ static const size_t fixedExecutableMemor
- static const size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024;
+@@ -97,7 +97,7 @@ static constexpr size_t fixedExecutableM
+ static constexpr size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024;
  #elif CPU(ARM64)
- static const size_t fixedExecutableMemoryPoolSize = 128 * 1024 * 1024;
+ static constexpr size_t fixedExecutableMemoryPoolSize = 128 * 1024 * 1024;
 -#elif CPU(X86_64)
 +#elif CPU(X86_64) && !OS(OPENBSD)
- static const size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024;
+ static constexpr size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024;
  #else
- static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;
+ static constexpr size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_RAMSize.cpp
diff -u pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_RAMSize.cpp:1.3 pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_RAMSize.cpp:1.4
--- pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_RAMSize.cpp:1.3  Wed Mar 27 10:50:30 2019
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_RAMSize.cpp      Tue Mar 10 18:14:04 2020
@@ -1,8 +1,8 @@
-$NetBSD: patch-Source_WTF_wtf_RAMSize.cpp,v 1.3 2019/03/27 10:50:30 jperkin Exp $
+$NetBSD: patch-Source_WTF_wtf_RAMSize.cpp,v 1.4 2020/03/10 18:14:04 leot Exp $
 
 Add support for NetBSD and SunOS.
 
---- Source/WTF/wtf/RAMSize.cpp.orig    2019-02-12 11:21:17.000000000 +0000
+--- Source/WTF/wtf/RAMSize.cpp.orig    2020-02-04 10:24:07.000000000 +0000
 +++ Source/WTF/wtf/RAMSize.cpp
 @@ -35,13 +35,19 @@
  #if OS(LINUX)
@@ -22,7 +22,7 @@ Add support for NetBSD and SunOS.
  
 -#if OS(WINDOWS)
 +#if OS(WINDOWS) || (OS(NETBSD) && defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC)
- static const size_t ramSizeGuess = 512 * MB;
+ static constexpr size_t ramSizeGuess = 512 * MB;
  #endif
  
 @@ -59,9 +65,20 @@ static size_t computeRAMSize()

Added files:

Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformEnable.h
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformEnable.h:1.1
--- /dev/null   Tue Mar 10 18:14:05 2020
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformEnable.h Tue Mar 10 18:14:04 2020
@@ -0,0 +1,22 @@
+$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
+ 
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformHave.h
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformHave.h:1.1
--- /dev/null   Tue Mar 10 18:14:05 2020
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformHave.h   Tue Mar 10 18:14:04 2020
@@ -0,0 +1,15 @@
+$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
+ 
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformOS.h
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformOS.h:1.1
--- /dev/null   Tue Mar 10 18:14:05 2020
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformOS.h     Tue Mar 10 18:14:04 2020
@@ -0,0 +1,26 @@
+$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__)
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformUse.h
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformUse.h:1.1
--- /dev/null   Tue Mar 10 18:14:05 2020
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_PlatformUse.h    Tue Mar 10 18:14:04 2020
@@ -0,0 +1,15 @@
+$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
+ 



Home | Main Index | Thread Index | Old Index