webkit-gtk: Update to 2.24.2

Changes:
2.24.2
======
 - Fix rendering of emojis copy-pasted from GTK emoji chooser.
 - Fix space characters not being rendered with some CJK fonts.
 - Fix adaptive streaming playback with older GStreamer versions.
 - Set a maximum zoom level for pinch zooming gesture.
 - Fix navigation gesture to not interfere with scrolling.
 - Fix SSE2 detection at compile time, ensuring the right flags are passed to the compiler.
 - Fix several crashes and rendering issues.
 - Translation updates: Danish, Spanish, Ukrainian.
 - Security fixes: CVE-2019-8595, CVE-2019-8607, CVE-2019-8615.
This commit is contained in:
leot 2019-05-17 16:11:17 +00:00
parent 02bfe9c3d2
commit 3e66494795
5 changed files with 40 additions and 14 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.164 2019/04/26 14:12:49 maya Exp $
# $NetBSD: Makefile,v 1.165 2019/05/17 16:11:17 leot Exp $
DISTNAME= webkitgtk-2.24.1
DISTNAME= webkitgtk-2.24.2
PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/}
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= https://www.webkitgtk.org/releases/
EXTRACT_SUFX= .tar.xz

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.49 2019/04/09 12:45:28 leot Exp $
@comment $NetBSD: PLIST,v 1.50 2019/05/17 16:11:17 leot Exp $
bin/WebKitWebDriver
include/webkitgtk-4.0/JavaScriptCore/JSBase.h
include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h
@ -212,10 +212,10 @@ ${PLIST.introspection}lib/girepository-1.0/WebKit2-4.0.typelib
${PLIST.introspection}lib/girepository-1.0/WebKit2WebExtension-4.0.typelib
lib/libjavascriptcoregtk-4.0.so
lib/libjavascriptcoregtk-4.0.so.18
lib/libjavascriptcoregtk-4.0.so.18.13.4
lib/libjavascriptcoregtk-4.0.so.18.13.5
lib/libwebkit2gtk-4.0.so
lib/libwebkit2gtk-4.0.so.37
lib/libwebkit2gtk-4.0.so.37.37.3
lib/libwebkit2gtk-4.0.so.37.37.4
lib/pkgconfig/javascriptcoregtk-4.0.pc
lib/pkgconfig/webkit2gtk-4.0.pc
lib/pkgconfig/webkit2gtk-web-extension-4.0.pc
@ -234,6 +234,7 @@ share/locale/as/LC_MESSAGES/WebKit2GTK-4.0.mo
share/locale/bg/LC_MESSAGES/WebKit2GTK-4.0.mo
share/locale/ca/LC_MESSAGES/WebKit2GTK-4.0.mo
share/locale/cs/LC_MESSAGES/WebKit2GTK-4.0.mo
share/locale/da/LC_MESSAGES/WebKit2GTK-4.0.mo
share/locale/de/LC_MESSAGES/WebKit2GTK-4.0.mo
share/locale/el/LC_MESSAGES/WebKit2GTK-4.0.mo
share/locale/en_CA/LC_MESSAGES/WebKit2GTK-4.0.mo

View file

@ -1,10 +1,10 @@
$NetBSD: distinfo,v 1.120 2019/04/09 12:45:28 leot Exp $
$NetBSD: distinfo,v 1.121 2019/05/17 16:11:17 leot Exp $
SHA1 (webkitgtk-2.24.1.tar.xz) = e57ce1f623e26dc1726109891a02c35b2e99a440
RMD160 (webkitgtk-2.24.1.tar.xz) = 906d420c26167d07c159167165c398f6c8f5d405
SHA512 (webkitgtk-2.24.1.tar.xz) = 65424f03b6baca53d64f0d633f53e2f7788c7fb65aa8b50b696418c140707c40351ec3cc0a8652806d75b9da98a04a8bb4203dd6ee4c51a3f93878964354c1ca
Size (webkitgtk-2.24.1.tar.xz) = 17897488 bytes
SHA1 (patch-CMakeLists.txt) = 571c65d258b6e12503971145777a8d442578145f
SHA1 (webkitgtk-2.24.2.tar.xz) = 632a65d93beb996bebdf7592ef9591f3993dea91
RMD160 (webkitgtk-2.24.2.tar.xz) = 067a23d186b0c363c53a2a05ec7bcb1e8da483e7
SHA512 (webkitgtk-2.24.2.tar.xz) = 8376167cfc4530886a2ac644ab84ff1021a63f6236d7be9eeb9e0ecade8bad5384b652dfe3720fdd31cddb39df6c935f859f1c0a59f42d7c71998992c4a9ffaa
Size (webkitgtk-2.24.2.tar.xz) = 17908808 bytes
SHA1 (patch-CMakeLists.txt) = d20d4da21d9640bc49429cbbd2191f6cf9e072d2
SHA1 (patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh) = 5bb44be142b474d517b2b1459f0edc7d2453aa61
SHA1 (patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh) = 308a7c8f687253b4fc75de0c66016dd18666e697
SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = f80d9811f108a72efe16f0e39b97f503d7738840
@ -22,6 +22,7 @@ SHA1 (patch-Source_WebCore_Scripts_check-xcfilelists.sh) = 2a7ff15a2ec01a77481f8
SHA1 (patch-Source_WebCore_Scripts_generate-unified-sources.sh) = 740eb33931b6f9cb8008748323235f23466328dc
SHA1 (patch-Source_WebCore_inspector_InspectorFrontendHost.cpp) = daf6351a1a0b5a49592a2bb6db0d54620c7b09e3
SHA1 (patch-Source_WebCore_platform_graphics_filters_FEMorphology.cpp) = 16b36d2d91fd7f43156b9ee09bcafd19602ebbd9
SHA1 (patch-Source_WebCore_platform_graphics_gstreamer_MediaPlayerPrivateGStreamer.cpp) = 38c24500c7619d290b22efd730eb36086e32461f
SHA1 (patch-Source_WebCore_rendering_shapes_RasterShape.cpp) = 551e47698dee50d097b11e3218f13bb3447edfea
SHA1 (patch-Source_WebKit_CMakeLists.txt) = 228cc4734de3b08a3877ac839b1ffa2fbf2d3aa8
SHA1 (patch-Source_WebKit_NetworkProcess_cache_NetworkCacheFileSystem.cpp) = 8c19692e78b1cfb021b95435508a10bc6542b173

View file

@ -1,10 +1,19 @@
$NetBSD: patch-CMakeLists.txt,v 1.8 2019/03/13 20:49:40 leot Exp $
$NetBSD: patch-CMakeLists.txt,v 1.9 2019/05/17 16:11:17 leot Exp $
- Fix support for arm
- Fix support for ppc, from FreeBSD.
--- CMakeLists.txt.orig 2019-02-12 11:20:53.000000000 +0000
--- CMakeLists.txt.orig 2019-05-09 11:57:35.000000000 +0000
+++ CMakeLists.txt
@@ -19,7 +19,7 @@ else ()
message(STATUS "The CMake build type is: ${CMAKE_BUILD_TYPE}")
endif ()
-set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Source/cmake")
+set (CMAKE_MODULE_PATH "/tmp/pkgsrc/www/webkit-gtk/work/.buildlink/cmake-Modules" "${CMAKE_SOURCE_DIR}/Source/cmake")
set(ENABLE_WEBCORE ON)
@@ -86,7 +86,7 @@ else ()
endif ()
if (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(^aarch64|^arm64)")

View file

@ -0,0 +1,16 @@
$NetBSD: patch-Source_WebCore_platform_graphics_gstreamer_MediaPlayerPrivateGStreamer.cpp,v 1.1 2019/05/17 16:11:17 leot Exp $
updateTextureMapperFlags() is available only if TEXTURE_MAPPER_GL is enabled.
--- Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp.orig 2019-05-09 09:36:07.000000000 +0000
+++ Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
@@ -2460,7 +2460,9 @@ void MediaPlayerPrivateGStreamer::create
else if (g_str_has_prefix(elementName.get(), "imxvpudecoder"))
player->m_videoDecoderPlatform = WebKitGstVideoDecoderPlatform::ImxVPU;
+#if USE(TEXTURE_MAPPER_GL)
player->updateTextureMapperFlags();
+#endif
}), this);
g_signal_connect_swapped(m_pipeline.get(), "source-setup", G_CALLBACK(sourceSetupCallback), this);