aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2018-04-06 04:13:48 +0800
committertobik <tobik@FreeBSD.org>2018-04-06 04:13:48 +0800
commit742278408f8aac049371ee164cc096982840c3c8 (patch)
treef41b467e6743bc5e79cfe4633aae469cf2552713 /www
parent735cac5e7ebcbba2a5b3d85769f3da09ff41cccd (diff)
downloadfreebsd-ports-gnome-742278408f8aac049371ee164cc096982840c3c8.tar.gz
freebsd-ports-gnome-742278408f8aac049371ee164cc096982840c3c8.tar.zst
freebsd-ports-gnome-742278408f8aac049371ee164cc096982840c3c8.zip
www/webkit2-gtk3: Update to 2.20.0
- Add WAYLAND option - Bump PORTREVISION of dependents - Fix build of epiphany 3.24.2 with newer WebKit versions PR: 223733 Submitted by: Greg V <greg@unrelenting.technology> (initial update to 2.18.3) Reviewed by: Ting-Wei Lan <lantw44@gmail.com> Approved by: gnome (maintainer timeout, too long) Security: 1ce95bc7-3278-11e8-b527-00012e582166 MFH: 2018Q2 Differential Revision: https://reviews.freebsd.org/D14872
Diffstat (limited to 'www')
-rw-r--r--www/epiphany/Makefile2
-rw-r--r--www/epiphany/files/patch-src_ephy-window.c25
-rw-r--r--www/luakit/Makefile1
-rw-r--r--www/surf/Makefile1
-rw-r--r--www/webkit2-gtk3/Makefile104
-rw-r--r--www/webkit2-gtk3/distinfo6
-rw-r--r--www/webkit2-gtk3/files/patch-CMakeLists.txt6
-rw-r--r--www/webkit2-gtk3/files/patch-Source_JavaScriptCore_PlatformGTK.cmake11
-rw-r--r--www/webkit2-gtk3/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h4
-rw-r--r--www/webkit2-gtk3/files/patch-Source_JavaScriptCore_jit_ExecutableAllocator.h15
-rw-r--r--www/webkit2-gtk3/files/patch-Source_WTF_wtf_NumberOfCores.cpp10
-rw-r--r--www/webkit2-gtk3/files/patch-Source_WTF_wtf_Platform.h6
-rw-r--r--www/webkit2-gtk3/files/patch-Source_WebCore_PAL_pal_PlatformGTK.cmake14
-rw-r--r--www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp2
-rw-r--r--www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.h15
-rw-r--r--www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp8
-rw-r--r--www/webkit2-gtk3/files/patch-Source_WebDriver_PlatformGTK.cmake10
-rw-r--r--www/webkit2-gtk3/files/patch-Source_WebKit2_PlatformGTK.cmake11
-rw-r--r--www/webkit2-gtk3/files/patch-Source_WebKit2_Shared_Plugins_unix_PluginSearchPath.cpp10
-rw-r--r--www/webkit2-gtk3/files/patch-Source__JavaScriptCore__assembler__ARMAssembler.h6
-rw-r--r--www/webkit2-gtk3/files/patch-Source_bmalloc_bmalloc_BPlatform.h4
-rw-r--r--www/webkit2-gtk3/pkg-plist14
22 files changed, 149 insertions, 136 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile
index 2ec73b971b33..55297a9b6f92 100644
--- a/www/epiphany/Makefile
+++ b/www/epiphany/Makefile
@@ -3,7 +3,7 @@
PORTNAME= epiphany
PORTVERSION= 3.24.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
diff --git a/www/epiphany/files/patch-src_ephy-window.c b/www/epiphany/files/patch-src_ephy-window.c
new file mode 100644
index 000000000000..6f2eb9d22356
--- /dev/null
+++ b/www/epiphany/files/patch-src_ephy-window.c
@@ -0,0 +1,25 @@
+--- src/ephy-window.c.orig 2018-03-27 15:41:00 UTC
++++ src/ephy-window.c
+@@ -1301,13 +1301,6 @@ webkit_context_menu_item_new_from_gaction_with_paramet
+ #pragma GCC diagnostic pop
+ }
+
+-static WebKitContextMenuItem *
+-webkit_context_menu_item_new_from_gaction (GAction *action,
+- const char *label)
+-{
+- return webkit_context_menu_item_new_from_gaction_with_parameter (action, label, NULL);
+-}
+-
+ static char *
+ ellipsize_string (const char *string,
+ glong max_length)
+@@ -1380,7 +1373,7 @@ add_action_to_context_menu (WebKitContextMenu *context
+ action = g_action_map_lookup_action (G_ACTION_MAP (action_group), name);
+ label = g_hash_table_lookup (window->action_labels, name);
+ if (strcmp (label, "search-selection-placeholder") != 0) {
+- webkit_context_menu_append (context_menu, webkit_context_menu_item_new_from_gaction (action, _(label)));
++ webkit_context_menu_append (context_menu, webkit_context_menu_item_new_from_gaction_with_parameter (action, _(label), NULL));
+ } else {
+ search_term = g_variant_get_string (target, NULL);
+ search_label = format_search_label (search_term);
diff --git a/www/luakit/Makefile b/www/luakit/Makefile
index a6d3d3afb8f2..ec3d36333b35 100644
--- a/www/luakit/Makefile
+++ b/www/luakit/Makefile
@@ -3,6 +3,7 @@
PORTNAME= luakit
PORTVERSION= 2017.08.10
+PORTREVISION= 1
CATEGORIES= www
MAINTAINER= ports@textmail.me
diff --git a/www/surf/Makefile b/www/surf/Makefile
index 8891905aefd5..761fb7a9abc9 100644
--- a/www/surf/Makefile
+++ b/www/surf/Makefile
@@ -3,6 +3,7 @@
PORTNAME= surf
DISTVERSION= 2.0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://dl.suckless.org/${PORTNAME}/
PKGNAMESUFFIX= -browser
diff --git a/www/webkit2-gtk3/Makefile b/www/webkit2-gtk3/Makefile
index 06e4e9e0547b..d2913236bb9a 100644
--- a/www/webkit2-gtk3/Makefile
+++ b/www/webkit2-gtk3/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= webkit
-PORTVERSION= 2.16.6
-PORTREVISION= 3
+PORTVERSION= 2.20.0
CATEGORIES= www
MASTER_SITES= http://webkitgtk.org/releases/
PKGNAMESUFFIX= 2-gtk3
@@ -28,82 +27,78 @@ LIB_DEPENDS= libenchant.so:textproc/enchant \
libharfbuzz-icu.so:print/harfbuzz-icu \
libsoup-2.4.so:devel/libsoup \
libgcrypt.so:security/libgcrypt \
- libgnutls.so:security/gnutls
+ libgnutls.so:security/gnutls \
+ libtasn1.so:security/libtasn1 \
+ libwoff2dec.so:devel/woff2
PORTSCOUT= limitw:1,even
-USE_GSTREAMER1= bad gl
-USE_XORG= x11 xcomposite xdamage xext xrender xt ice
-USES= bison cmake compiler:c++14-lang gettext gnome gperf \
- jpeg perl5 pkgconfig python:2.7,build sqlite tar:xz
-USE_RUBY= yes
-RUBY_NO_RUN_DEPENDS=yes
+USES= bison cmake:outsource compiler:c++14-lang gettext gnome gperf \
+ jpeg localbase:ldflags perl5 pkgconfig python:2.7,build \
+ sqlite tar:xz
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build libxml2 libxslt
-USE_GL= gl egl
-USE_PERL5= build
+USE_GL= gl egl glesv2
+USE_GSTREAMER1= bad gl
USE_LDCONFIG= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-INSTALL_TARGET= install
-
-CMAKE_ARGS+= -DPORT=GTK \
- -DENABLE_WAYLAND_TARGET:BOOL=OFF \
- -DENABLE_MINIBROWSER:BOOL=ON \
- -DENABLE_GLES2:BOOL=OFF \
- -DENABLE_ACCELERATED_2D_CANVAS=ON \
- -DUSE_LD_GOLD:BOOL=OFF \
- -DENABLE_WEBKIT:BOOL=OFF
-CONFIGURE_ENV+= XDG_CACHE_HOME=${WRKDIR}
+USE_PERL5= build
+USE_RUBY= yes
+RUBY_NO_RUN_DEPENDS= yes
+USE_XORG= x11 xcomposite xdamage xext xrender xt ice
+
+BINARY_ALIAS= python=${PYTHON_CMD}
+CXXFLAGS+= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
+CXXFLAGS_powerpc= -DENABLE_YARR_JIT=0
+CXXFLAGS_powerpc64= -DENABLE_YARR_JIT=0 \
+ -mminimal-toc
+CMAKE_ARGS= -DPORT=GTK
+CMAKE_OFF= USE_LD_GOLD ${CMAKE_OFF_${ARCH}:U}
+CMAKE_ON= ENABLE_GLES2 ENABLE_MINIBROWSER
+CMAKE_OFF_armv6= ENABLE_JIT
+CMAKE_OFF_armv7= ENABLE_JIT
+CMAKE_OFF_powerpc= ENABLE_JIT
+CMAKE_OFF_powerpc64= ENABLE_JIT
+CONFIGURE_ENV= XDG_CACHE_HOME=${WRKDIR}
+INSTALL_TARGET= install
BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk3
-#_BROWSER_PLUGINS_DIR= ${BROWSER_PLUGINS_DIR:S|^/|"|:S|/|", "|g}",
-OPTIONS_SUB= yes
-OPTIONS_DEFINE= DEBUG GEOIP NPAPI
-OPTIONS_DEFAULT=GEOIP
+OPTIONS_DEFINE= DEBUG GEOIP NPAPI WAYLAND
+OPTIONS_DEFAULT= GEOIP
OPTIONS_DEFAULT_i386= NPAPI
OPTIONS_DEFAULT_amd64= NPAPI
+OPTIONS_SUB= yes
+
+NPAPI_DESC= Support gtk2 (NPAPI) based plugins (like flash)
+# Building WebKit with debugging symbols requires ar and ld with
+# support for thin archives. Also see
+# https://bugs.webkit.org/show_bug.cgi?id=140384
DEBUG_BUILD_DEPENDS= binutils>=0:devel/binutils
-DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRING=Debug \
- -DCMAKE_AR=${LOCALBASE}/bin/ar \
+DEBUG_CMAKE_ON= -DCMAKE_AR=${LOCALBASE}/bin/ar \
-DCMAKE_RANLIB=${LOCALBASE}/bin/ranlib \
-DCMAKE_LINKER=${LOCALBASE}/bin/ld
DEBUG_CXXFLAGS= -B${LOCALBASE}/bin
-DEBUG_CMAKE_OFF= -DCMAKE_BUILD_TYPE:STRING=Release \
- -DCMAKE_AR=/usr/bin/ar \
+DEBUG_CMAKE_OFF= -DCMAKE_AR=/usr/bin/ar \
-DCMAKE_RANLIB=/usr/bin/ranlib \
-DCMAKE_LINKER=/usr/bin/ld
DEBUG_CXXFLAGS_OFF= -B/usr/bin
DEBUG_CFLAGS_OFF= -DNDEBUG
GEOIP_CMAKE_BOOL= ENABLE_GEOLOCATION
-GEOIP_BUILD_DEPENDS+= geoclue>=2.4.3:net/geoclue
-GEOIP_RUN_DEPENDS+= geoclue>=2.4.3:net/geoclue
+GEOIP_BUILD_DEPENDS= geoclue>=2.4.3:net/geoclue
+GEOIP_RUN_DEPENDS= geoclue>=2.4.3:net/geoclue
-NPAPI_DESC= Support gtk2 (NPAPI) based plugins (like flash)
NPAPI_CMAKE_BOOL= ENABLE_PLUGIN_PROCESS_GTK2
-NPAPI_USE= GNOME=gtk20
-
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == armv6 || ${ARCH} == armv7
-CMAKE_ARGS+= -DENABLE_JIT:BOOL=OFF
-.endif
-
-.if ${ARCH} == powerpc || ${ARCH} == powerpc64
-CMAKE_ARGS+= -DENABLE_JIT:BOOL=OFF
-CFLAGS+= -DENABLE_YARR_JIT=0
-.endif
+NPAPI_USE= GNOME=gtk20
-.if ${ARCH} == powerpc64
-CFLAGS+= -mminimal-toc
-.endif
+WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND_TARGET
+WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \
+ libwayland-egl.so:graphics/mesa-libs
post-patch:
- @${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \
- ${WRKSRC}/Source/WebKit2/Shared/Plugins/unix/PluginSearchPath.cpp
+ @${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \
+ ${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp
pre-configure:
# .if !exists() evaluates too early before cairo has a chance to be installed
@@ -113,10 +108,13 @@ pre-configure:
fi
post-install:
- @${LN} -sf ../libexec/webkit2gtk-4.0/jsc ${STAGEDIR}${PREFIX}/bin/jsc-4
- @${LN} -sf ../libexec/webkit2gtk-4.0/MiniBrowser ${STAGEDIR}${PREFIX}/bin/MiniBrowser-4
+ @${RLN} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/jsc \
+ ${STAGEDIR}${PREFIX}/bin/jsc-4
+ @${RLN} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/MiniBrowser \
+ ${STAGEDIR}${PREFIX}/bin/MiniBrowser-4
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/*
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver
.include <bsd.port.mk>
diff --git a/www/webkit2-gtk3/distinfo b/www/webkit2-gtk3/distinfo
index f53e48cfdaf3..49360aa49d23 100644
--- a/www/webkit2-gtk3/distinfo
+++ b/www/webkit2-gtk3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1500907942
-SHA256 (webkitgtk-2.16.6.tar.xz) = fc23650df953123c59b9c0edf3855e7bd55bd107820997fc72375811e1ea4b21
-SIZE (webkitgtk-2.16.6.tar.xz) = 14658120
+TIMESTAMP = 1522145820
+SHA256 (webkitgtk-2.20.0.tar.xz) = 57f640f720bd9a8a7207f3321cf803a15c2f207b4e7b75ff1be17bc1eeb00a3c
+SIZE (webkitgtk-2.20.0.tar.xz) = 16617492
diff --git a/www/webkit2-gtk3/files/patch-CMakeLists.txt b/www/webkit2-gtk3/files/patch-CMakeLists.txt
index 52a36fb945d5..3249edf99fc7 100644
--- a/www/webkit2-gtk3/files/patch-CMakeLists.txt
+++ b/www/webkit2-gtk3/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig 2017-05-06 21:35:44.417942000 +0200
-+++ CMakeLists.txt 2017-05-06 21:36:47.317895000 +0200
-@@ -60,9 +60,9 @@
+--- CMakeLists.txt.orig 2018-02-19 07:44:43 UTC
++++ CMakeLists.txt
+@@ -93,9 +93,9 @@ elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(x64
set(WTF_CPU_X86_64 1)
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)")
set(WTF_CPU_X86 1)
diff --git a/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_PlatformGTK.cmake b/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_PlatformGTK.cmake
deleted file mode 100644
index b05406d9db07..000000000000
--- a/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_PlatformGTK.cmake
+++ /dev/null
@@ -1,11 +0,0 @@
---- Source/JavaScriptCore/PlatformGTK.cmake.orig 2014-12-25 20:19:12.049673483 +0100
-+++ Source/JavaScriptCore/PlatformGTK.cmake 2014-12-25 20:20:42.328667491 +0100
-@@ -10,7 +10,7 @@
- ADD_TYPELIB(${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.typelib)
-
- install(FILES "${CMAKE_BINARY_DIR}/Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc"
-- DESTINATION "${LIB_INSTALL_DIR}/pkgconfig"
-+ DESTINATION "${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig"
- )
-
- install(FILES API/JavaScript.h
diff --git a/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h b/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
index 1dfefa964268..7ab0482cc0ed 100644
--- a/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
+++ b/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
@@ -1,6 +1,6 @@
---- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2015-08-06 08:21:27 UTC
+--- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2018-03-05 09:28:05 UTC
+++ Source/JavaScriptCore/assembler/ARM64Assembler.h
-@@ -2862,6 +2862,8 @@ public:
+@@ -2856,6 +2856,8 @@ class ARM64Assembler { (public)
{
#if OS(IOS)
sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
diff --git a/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_jit_ExecutableAllocator.h b/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_jit_ExecutableAllocator.h
deleted file mode 100644
index 66212a8fb59e..000000000000
--- a/www/webkit2-gtk3/files/patch-Source_JavaScriptCore_jit_ExecutableAllocator.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$OpenBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator_h,v 1.1 2013/04/13 09:11:02 landry Exp $
-
-https://bugs.webkit.org/show_bug.cgi?id=61137
-
---- Source/JavaScriptCore/jit/ExecutableAllocator.h.orig 2016-02-04 11:16:16 UTC
-+++ Source/JavaScriptCore/jit/ExecutableAllocator.h
-@@ -78,7 +78,7 @@ class DemandExecutableAllocator;
- static const size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024;
- #elif CPU(ARM64)
- static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;
--#elif CPU(X86_64)
-+#elif CPU(X86_64) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
- static const size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024;
- #else
- static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;
diff --git a/www/webkit2-gtk3/files/patch-Source_WTF_wtf_NumberOfCores.cpp b/www/webkit2-gtk3/files/patch-Source_WTF_wtf_NumberOfCores.cpp
index 229e89c4af78..0fb7155698bb 100644
--- a/www/webkit2-gtk3/files/patch-Source_WTF_wtf_NumberOfCores.cpp
+++ b/www/webkit2-gtk3/files/patch-Source_WTF_wtf_NumberOfCores.cpp
@@ -1,10 +1,10 @@
---- Source/WTF/wtf/NumberOfCores.cpp.orig 2017-04-11 20:08:02.949675000 +0200
-+++ Source/WTF/wtf/NumberOfCores.cpp 2017-04-11 20:08:43.723709000 +0200
-@@ -33,6 +33,7 @@
+--- Source/WTF/wtf/NumberOfCores.cpp.orig 2018-02-19 07:45:30 UTC
++++ Source/WTF/wtf/NumberOfCores.cpp
+@@ -35,6 +35,7 @@
#include <sys/types.h>
#include <sys/sysctl.h>
- #elif OS(LINUX) || OS(AIX) || OS(SOLARIS) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
-+#include <stdio.h> // sscanf()
+ #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
++#include <stdio.h> // sscanf
#include <unistd.h>
#elif OS(WINDOWS)
#include <windows.h>
diff --git a/www/webkit2-gtk3/files/patch-Source_WTF_wtf_Platform.h b/www/webkit2-gtk3/files/patch-Source_WTF_wtf_Platform.h
index b76bfc4588e5..78ef620fcee7 100644
--- a/www/webkit2-gtk3/files/patch-Source_WTF_wtf_Platform.h
+++ b/www/webkit2-gtk3/files/patch-Source_WTF_wtf_Platform.h
@@ -1,6 +1,6 @@
---- Source/WTF/wtf/Platform.h.orig 2016-07-20 UTC
+--- Source/WTF/wtf/Platform.h.orig 2018-02-20 09:12:50 UTC
+++ Source/WTF/wtf/Platform.h
-@@ -218,6 +218,7 @@
+@@ -182,6 +182,7 @@
#elif defined(__ARM_ARCH_6__) \
|| defined(__ARM_ARCH_6J__) \
|| defined(__ARM_ARCH_6K__) \
@@ -8,7 +8,7 @@
|| defined(__ARM_ARCH_6Z__) \
|| defined(__ARM_ARCH_6ZK__) \
|| defined(__ARM_ARCH_6T2__) \
-@@ -264,6 +265,7 @@
+@@ -229,6 +230,7 @@
#elif defined(__ARM_ARCH_6J__) \
|| defined(__ARM_ARCH_6K__) \
diff --git a/www/webkit2-gtk3/files/patch-Source_WebCore_PAL_pal_PlatformGTK.cmake b/www/webkit2-gtk3/files/patch-Source_WebCore_PAL_pal_PlatformGTK.cmake
index f6e2c3f0b715..1de1931f184b 100644
--- a/www/webkit2-gtk3/files/patch-Source_WebCore_PAL_pal_PlatformGTK.cmake
+++ b/www/webkit2-gtk3/files/patch-Source_WebCore_PAL_pal_PlatformGTK.cmake
@@ -1,10 +1,9 @@
---- Source/WebCore/PAL/pal/PlatformGTK.cmake.orig 2017-04-17 15:36:57.688080000 +0200
-+++ Source/WebCore/PAL/pal/PlatformGTK.cmake 2017-04-17 15:39:47.928689000 +0200
-@@ -1,3 +1,11 @@
- list(APPEND PAL_SOURCES
- crypto/gcrypt/CryptoDigestGCrypt.cpp
+--- Source/WebCore/PAL/pal/PlatformGTK.cmake.orig 2018-02-19 07:45:31 UTC
++++ Source/WebCore/PAL/pal/PlatformGTK.cmake
+@@ -12,6 +12,13 @@ list(APPEND PAL_SOURCES
+ unix/LoggingUnix.cpp
)
-+
+
+list(APPEND PAL_INCLUDE_DIRECTORIES
+ ${LIBGCRYPT_INCLUDE_DIRS}
+)
@@ -12,3 +11,6 @@
+ ${LIBGCRYPT_LIBRARIES}
+)
+
+ if (ENABLE_SUBTLE_CRYPTO)
+ list(APPEND PAL_SOURCES
+ crypto/tasn1/Utilities.cpp
diff --git a/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp b/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp
index 3ad37978314d..ab939a756a73 100644
--- a/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp
+++ b/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp
@@ -1,4 +1,4 @@
---- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2016-04-10 06:48:37 UTC
+--- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2018-02-19 07:45:32 UTC
+++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
@@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
"vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
diff --git a/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.h b/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.h
new file mode 100644
index 000000000000..827b6e2a3179
--- /dev/null
+++ b/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.h
@@ -0,0 +1,15 @@
+--- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h.orig 2018-02-19 07:45:32 UTC
++++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
+@@ -144,9 +144,9 @@ inline void FELighting::platformApplyNeon(const Lighti
+ neonData.flags |= FLAG_CONE_EXPONENT_IS_1;
+ } else {
+ ASSERT(m_lightSource->type() == LS_DISTANT);
+- floatArguments.lightX = paintingData.lightVector.x();
+- floatArguments.lightY = paintingData.lightVector.y();
+- floatArguments.lightZ = paintingData.lightVector.z();
++ floatArguments.lightX = paintingData.initialLightingData.lightVector.x();
++ floatArguments.lightY = paintingData.initialLightingData.lightVector.y();
++ floatArguments.lightZ = paintingData.initialLightingData.lightVector.z();
+ floatArguments.padding2 = 1;
+ }
+
diff --git a/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp b/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp
index 1729a187f3ac..6fa3d11cb847 100644
--- a/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp
+++ b/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp
@@ -1,7 +1,7 @@
---- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2015-07-10 13:10:10.413595000 +0200
-+++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp 2015-07-10 13:10:48.159246000 +0200
-@@ -42,6 +42,8 @@
- #endif
+--- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2018-02-19 07:45:32 UTC
++++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
+@@ -44,6 +44,8 @@
+ #include "OpenGLShims.h"
#endif
+#include <X11/Xlib.h>
diff --git a/www/webkit2-gtk3/files/patch-Source_WebDriver_PlatformGTK.cmake b/www/webkit2-gtk3/files/patch-Source_WebDriver_PlatformGTK.cmake
new file mode 100644
index 000000000000..c24f48e80f25
--- /dev/null
+++ b/www/webkit2-gtk3/files/patch-Source_WebDriver_PlatformGTK.cmake
@@ -0,0 +1,10 @@
+--- Source/WebDriver/PlatformGTK.cmake.orig 2018-02-19 07:45:32 UTC
++++ Source/WebDriver/PlatformGTK.cmake
+@@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_INSTALL_FULL_LIB
+ list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
+ "${GLIB_INCLUDE_DIRS}"
+ "${LIBSOUP_INCLUDE_DIRS}"
++ "${ICU_INCLUDE_DIRS}"
+ )
+
+ list(APPEND WebDriver_SOURCES
diff --git a/www/webkit2-gtk3/files/patch-Source_WebKit2_PlatformGTK.cmake b/www/webkit2-gtk3/files/patch-Source_WebKit2_PlatformGTK.cmake
deleted file mode 100644
index ff03ce96cad8..000000000000
--- a/www/webkit2-gtk3/files/patch-Source_WebKit2_PlatformGTK.cmake
+++ /dev/null
@@ -1,11 +0,0 @@
---- Source/WebKit2/PlatformGTK.cmake.orig 2014-12-25 20:23:07.749658406 +0100
-+++ Source/WebKit2/PlatformGTK.cmake 2014-12-25 20:23:43.409739634 +0100
-@@ -837,7 +837,7 @@
- )
- install(FILES "${CMAKE_BINARY_DIR}/Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc"
- "${CMAKE_BINARY_DIR}/Source/WebKit2/webkit2gtk-web-extension-${WEBKITGTK_API_VERSION}.pc"
-- DESTINATION "${LIB_INSTALL_DIR}/pkgconfig"
-+ DESTINATION "${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig"
- )
- install(FILES ${WebKit2GTK_INSTALLED_HEADERS}
- ${WebKit2WebExtension_INSTALLED_HEADERS}
diff --git a/www/webkit2-gtk3/files/patch-Source_WebKit2_Shared_Plugins_unix_PluginSearchPath.cpp b/www/webkit2-gtk3/files/patch-Source_WebKit2_Shared_Plugins_unix_PluginSearchPath.cpp
deleted file mode 100644
index 6868c3d57b00..000000000000
--- a/www/webkit2-gtk3/files/patch-Source_WebKit2_Shared_Plugins_unix_PluginSearchPath.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- Source/WebKit2/Shared/Plugins/unix/PluginSearchPath.cpp.orig 2016-01-28 08:55:09 UTC
-+++ Source/WebKit2/Shared/Plugins/unix/PluginSearchPath.cpp
-@@ -50,6 +50,7 @@ Vector<String> pluginsDirectories()
-
- result.append(homeDirectoryPath() + "/.mozilla/plugins");
- result.append(homeDirectoryPath() + "/.netscape/plugins");
-+ result.append("%%BROWSER_PLUGINS_DIR%%");
- result.append("/usr/lib/browser/plugins");
- result.append("/usr/local/lib/mozilla/plugins");
- result.append("/usr/lib/firefox/plugins");
diff --git a/www/webkit2-gtk3/files/patch-Source__JavaScriptCore__assembler__ARMAssembler.h b/www/webkit2-gtk3/files/patch-Source__JavaScriptCore__assembler__ARMAssembler.h
index 498f14f8305f..393b67ec4cd0 100644
--- a/www/webkit2-gtk3/files/patch-Source__JavaScriptCore__assembler__ARMAssembler.h
+++ b/www/webkit2-gtk3/files/patch-Source__JavaScriptCore__assembler__ARMAssembler.h
@@ -1,6 +1,6 @@
---- Source/JavaScriptCore/assembler/ARMAssembler.h.orig 2014-12-02 14:49:22.000000000 +0100
-+++ Source/JavaScriptCore/assembler/ARMAssembler.h 2014-12-26 10:35:15.394821543 +0100
-@@ -1104,6 +1104,8 @@
+--- Source/JavaScriptCore/assembler/ARMAssembler.h.orig 2018-02-19 07:45:14 UTC
++++ Source/JavaScriptCore/assembler/ARMAssembler.h
+@@ -1202,6 +1202,8 @@ namespace JSC {
linuxPageFlush(current, current + page);
linuxPageFlush(current, end);
diff --git a/www/webkit2-gtk3/files/patch-Source_bmalloc_bmalloc_BPlatform.h b/www/webkit2-gtk3/files/patch-Source_bmalloc_bmalloc_BPlatform.h
index 151678ea45fa..764ba39e6c50 100644
--- a/www/webkit2-gtk3/files/patch-Source_bmalloc_bmalloc_BPlatform.h
+++ b/www/webkit2-gtk3/files/patch-Source_bmalloc_bmalloc_BPlatform.h
@@ -1,6 +1,6 @@
---- Source/bmalloc/bmalloc/BPlatform.h.orig 2017-05-24 07:01:14 UTC
+--- Source/bmalloc/bmalloc/BPlatform.h.orig 2018-02-19 08:53:21 UTC
+++ Source/bmalloc/bmalloc/BPlatform.h
-@@ -108,6 +108,7 @@
+@@ -139,6 +139,7 @@
#elif defined(__ARM_ARCH_6__) \
|| defined(__ARM_ARCH_6J__) \
|| defined(__ARM_ARCH_6K__) \
diff --git a/www/webkit2-gtk3/pkg-plist b/www/webkit2-gtk3/pkg-plist
index 7d9beba07537..0846d205d011 100644
--- a/www/webkit2-gtk3/pkg-plist
+++ b/www/webkit2-gtk3/pkg-plist
@@ -1,4 +1,5 @@
bin/MiniBrowser-4
+bin/WebKitWebDriver
bin/jsc-4
include/webkitgtk-4.0/JavaScriptCore/JSBase.h
include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h
@@ -8,8 +9,10 @@ include/webkitgtk-4.0/JavaScriptCore/JSTypedArray.h
include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h
include/webkitgtk-4.0/JavaScriptCore/JavaScript.h
include/webkitgtk-4.0/JavaScriptCore/WebKitAvailability.h
+include/webkitgtk-4.0/webkit2/WebKitApplicationInfo.h
include/webkitgtk-4.0/webkit2/WebKitAuthenticationRequest.h
include/webkitgtk-4.0/webkit2/WebKitAutocleanups.h
+include/webkitgtk-4.0/webkit2/WebKitAutomationSession.h
include/webkitgtk-4.0/webkit2/WebKitBackForwardList.h
include/webkitgtk-4.0/webkit2/WebKitBackForwardListItem.h
include/webkitgtk-4.0/webkit2/WebKitColorChooserRequest.h
@@ -41,6 +44,8 @@ include/webkitgtk-4.0/webkit2/WebKitNavigationPolicyDecision.h
include/webkitgtk-4.0/webkit2/WebKitNetworkProxySettings.h
include/webkitgtk-4.0/webkit2/WebKitNotification.h
include/webkitgtk-4.0/webkit2/WebKitNotificationPermissionRequest.h
+include/webkitgtk-4.0/webkit2/WebKitOptionMenu.h
+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/WebKitPolicyDecision.h
@@ -66,6 +71,7 @@ include/webkitgtk-4.0/webkit2/WebKitWebExtensionAutocleanups.h
include/webkitgtk-4.0/webkit2/WebKitWebHitTestResult.h
include/webkitgtk-4.0/webkit2/WebKitWebInspector.h
include/webkitgtk-4.0/webkit2/WebKitWebPage.h
+include/webkitgtk-4.0/webkit2/WebKitWebProcessEnumTypes.h
include/webkitgtk-4.0/webkit2/WebKitWebResource.h
include/webkitgtk-4.0/webkit2/WebKitWebView.h
include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h
@@ -84,6 +90,8 @@ include/webkitgtk-4.0/webkitdom/WebKitDOMCSSStyleDeclaration.h
include/webkitgtk-4.0/webkitdom/WebKitDOMCSSStyleSheet.h
include/webkitgtk-4.0/webkitdom/WebKitDOMCSSValue.h
include/webkitgtk-4.0/webkitdom/WebKitDOMCharacterData.h
+include/webkitgtk-4.0/webkitdom/WebKitDOMClientRect.h
+include/webkitgtk-4.0/webkitdom/WebKitDOMClientRectList.h
include/webkitgtk-4.0/webkitdom/WebKitDOMComment.h
include/webkitgtk-4.0/webkitdom/WebKitDOMCustom.h
include/webkitgtk-4.0/webkitdom/WebKitDOMCustomUnstable.h
@@ -191,19 +199,19 @@ lib/girepository-1.0/WebKit2-4.0.typelib
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.5.13
+lib/libjavascriptcoregtk-4.0.so.18.7.8
lib/libwebkit2gtk-4.0.so
lib/libwebkit2gtk-4.0.so.37
-lib/libwebkit2gtk-4.0.so.37.19.9
+lib/libwebkit2gtk-4.0.so.37.28.0
lib/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so
libdata/pkgconfig/javascriptcoregtk-4.0.pc
libdata/pkgconfig/webkit2gtk-4.0.pc
libdata/pkgconfig/webkit2gtk-web-extension-4.0.pc
libexec/webkit2gtk-4.0/MiniBrowser
-libexec/webkit2gtk-4.0/WebKitDatabaseProcess
libexec/webkit2gtk-4.0/WebKitNetworkProcess
libexec/webkit2gtk-4.0/WebKitPluginProcess
%%NPAPI%%libexec/webkit2gtk-4.0/WebKitPluginProcess2
+libexec/webkit2gtk-4.0/WebKitStorageProcess
libexec/webkit2gtk-4.0/WebKitWebProcess
libexec/webkit2gtk-4.0/jsc
share/gir-1.0/JavaScriptCore-4.0.gir