qt5-qtwebkit: Update to 5.212.0-alpha4
WARNING: This release is based on old WebKit revision with known unpatched vulnerabilities. Please use it carefully and avoid visiting untrusted websites and using it for transmission of sensitive data. Please wait for new release from qtwebkit-dev branch to use it with untrusted content. ### New APIs * `QWebSetting::ErrorPageEnabled` - `true` by default, allows to disable built-in error pages if they are not desirable ### Improvements * [CSS Compositing](https://www.w3.org/TR/compositing-1) is now supported * Push is enabled by default for HTTP/2 requests * QtWebKit does not require Python 2 anymore for building and can use Python 3 instead * QtWebKit won't be eager to pick bitmap fonts as a suitable choice for standard font families * More appropriiate hinting option for web fonts is used ### Bug fixes * Fix memory leak in [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent) * SVG fragment identifier is not respected if it is a part of an HTTP URL (#818) * Context menu actions for images in Resources tab of inspector use blob: instead of original URL (#899) * Always enable JavaScript for QWebInspector (#566) * Inspector UI: Only selected item is painted in Styles combobox (#262) * Inspector should inspect itself in DEVELOPER_MODE only (#444) * fast/gradients/css3-color-stop-invalid.html - box is green instead of white (#230) * Work around [QTBUG-77308](https://bugreports.qt.io/browse/QTBUG-77308) when using Qt < 5.14 * Fix compilation errors with ICU 65.1 and Qt 5.14 * Fix compilation when QPdf is disabled in Qt * Fix compilation with MinGW for x86_64 target ### Third-party software updates Windows binaries are shipped with `ICU 65.1`, `libxml2 2.9.10`, `libxslt 1.1.34`, and `libjpeg-turbo 2.0.3`. ## Sponsors This release is sponsored by: * dizmo AG * Florian Apolloner * Movable Ink and Michael Nutt * ScrapingHub
This commit is contained in:
parent
0c6838e162
commit
074b22f355
5 changed files with 28 additions and 33 deletions
|
@ -1,30 +1,24 @@
|
|||
# $NetBSD: Makefile,v 1.73 2020/03/10 22:09:15 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.74 2020/03/21 19:42:36 nia Exp $
|
||||
|
||||
QTWKVERSION= 5.212.0-alpha4
|
||||
DISTNAME= qtwebkit-${QTWKVERSION}
|
||||
PKGNAME= qt5-qtwebkit-${QTWKVERSION:S/-/./}
|
||||
PKGREVISION= 5
|
||||
CATEGORIES= x11 www
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=qtwebkit/}
|
||||
GITHUB_PROJECT= qtwebkit
|
||||
GITHUB_RELEASE= ${DISTNAME}
|
||||
CATEGORIES= x11
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/qtwebkit/qtwebkit/wiki
|
||||
COMMENT= Qt5 WebView module
|
||||
LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v3
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
|
||||
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
||||
|
||||
QTWKVERSION= 5.212.0-alpha3
|
||||
|
||||
PYTHON_VERSIONS_ACCEPTED= 27 # as of 5.212.0-alpha2
|
||||
|
||||
.include "../../mk/dlopen.buildlink3.mk"
|
||||
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
|
||||
TOOL_DEPENDS+= gperf-[0-9]*:../../devel/gperf
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
||||
|
||||
USE_LANGUAGES= c c++11
|
||||
USE_TOOLS+= gmake perl:build pkg-config bison flex sed
|
||||
USE_TOOLS+= perl:build pkg-config
|
||||
USE_CMAKE= yes
|
||||
CMAKE_ARG_PATH= ..
|
||||
CONFIGURE_DIRS= _build
|
||||
|
@ -56,21 +50,21 @@ CFLAGS.NetBSD+= -D_NETBSD_SOURCE
|
|||
# avoid creating a .qt directory in the users home directory
|
||||
SCRIPTS_ENV+= HOME=${WRKDIR}
|
||||
|
||||
BUILD_DEPENDS+= gperf-[0-9]*:../../devel/gperf
|
||||
|
||||
REPLACE_PERL+= Source/WebKit2/Scripts/generate-forwarding-headers.pl
|
||||
|
||||
#MAKE_ENV+= QTDIR=${QTDIR}
|
||||
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
|
||||
INSTALLATION_DIRS+= lib/pkgconfig
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${_USE_CWRAPPERS} == "yes"
|
||||
BUILDLINK_TRANSFORM+= R:${WRKSRC}/lib:${QTDIR}/lib
|
||||
.else
|
||||
BUILDLINK_TRANSFORM+= rpath:${WRKSRC}/lib:${QTDIR}/lib
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == "NetBSD" && ${MACHINE_CPU:U} == "arm"
|
||||
.if ${OPSYS} == "NetBSD" && !empty(MACHINE_ARCH:M*arm*)
|
||||
LDFLAGS+= -Wl,-no-keep-memory -Wl-reduce-memory
|
||||
.endif
|
||||
|
||||
|
@ -89,15 +83,13 @@ post-install:
|
|||
.if ${OPSYS} == "Darwin" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD"
|
||||
.include "../../devel/libexecinfo/buildlink3.mk"
|
||||
.endif
|
||||
.include "../../fonts/woff2/buildlink3.mk"
|
||||
.include "../../graphics/libwebp/buildlink3.mk"
|
||||
.include "../../mk/curses.buildlink3.mk"
|
||||
.include "../../textproc/hyphen/buildlink3.mk"
|
||||
.include "../../textproc/icu/buildlink3.mk"
|
||||
.include "../../textproc/libxslt/buildlink3.mk"
|
||||
.if ${OPSYS} != "Darwin"
|
||||
# https://github.com/GStreamer/gst-plugins-bad/commit/b9e15fddb14b2cde6470255794ef130523885e9f
|
||||
BUILDLINK_API_DEPENDS.gst-plugins1-base+= gst-plugins1-base>=1.15.1
|
||||
.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
|
||||
.include "../../multimedia/gst-plugins1-bad/buildlink3.mk"
|
||||
.include "../../x11/libXcomposite/buildlink3.mk"
|
||||
.endif
|
||||
.include "../../x11/qt5-qtdeclarative/buildlink3.mk"
|
||||
|
@ -105,8 +97,11 @@ BUILDLINK_API_DEPENDS.gst-plugins1-base+= gst-plugins1-base>=1.15.1
|
|||
.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
|
||||
.include "../../x11/qt5-qtsensors/buildlink3.mk"
|
||||
.include "../../x11/qt5-qtwebchannel/buildlink3.mk"
|
||||
PYTHON_FOR_BUILD_ONLY= yes
|
||||
PYTHON_FOR_BUILD_ONLY= tool
|
||||
.include "../../lang/python/tool.mk"
|
||||
.include "../../lang/ruby/buildlink3.mk"
|
||||
BUILDLINK_DEPMETHOD.${RUBY_BASE}= build
|
||||
.include "../../mk/curses.buildlink3.mk"
|
||||
.include "../../mk/dlopen.buildlink3.mk"
|
||||
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.6 2019/07/20 18:29:33 nia Exp $
|
||||
@comment $NetBSD: PLIST,v 1.7 2020/03/21 19:42:36 nia Exp $
|
||||
lib/pkgconfig/Qt5WebKit.pc
|
||||
lib/pkgconfig/Qt5WebKitWidgets.pc
|
||||
qt5/include/QtWebKit/5.212.0/QtWebKit/private/qhttpheader_p.h
|
||||
|
@ -105,8 +105,6 @@ qt5/lib/libWebCore.so.5.212.0
|
|||
qt5/lib/libWebKit2.${RUBY_DLEXT}
|
||||
qt5/lib/libWebKit2.so.5
|
||||
qt5/lib/libWebKit2.so.5.212.0
|
||||
qt5/lib/libbrotli.a
|
||||
qt5/lib/libwoff2.a
|
||||
qt5/lib/pkgconfig/Qt5WebKit.pc
|
||||
qt5/lib/pkgconfig/Qt5WebKitWidgets.pc
|
||||
qt5/libexec/QtWebNetworkProcess
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.45 2020/03/10 22:09:15 wiz Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.46 2020/03/21 19:42:36 nia Exp $
|
||||
|
||||
BUILDLINK_TREE+= qt5-qtwebkit
|
||||
|
||||
|
@ -18,7 +18,7 @@ BUILDLINK_LIBDIRS.qt5-qtwebkit+= qt5/plugins
|
|||
.include "../../mk/curses.buildlink3.mk"
|
||||
.include "../../textproc/libxslt/buildlink3.mk"
|
||||
.if ${OPSYS} != "Darwin"
|
||||
.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
|
||||
.include "../../multimedia/gst-plugins1-bad/buildlink3.mk"
|
||||
.include "../../x11/libXcomposite/buildlink3.mk"
|
||||
.endif
|
||||
.include "../../x11/qt5-qtdeclarative/buildlink3.mk"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
$NetBSD: distinfo,v 1.15 2019/12/13 09:48:02 mrg Exp $
|
||||
$NetBSD: distinfo,v 1.16 2020/03/21 19:42:36 nia Exp $
|
||||
|
||||
SHA1 (qtwebkit-5.212.0-alpha3.tar.xz) = dd17b3884ccc20c9fce0f151738f923ec8cd147b
|
||||
RMD160 (qtwebkit-5.212.0-alpha3.tar.xz) = 5a28f56735b7d3e98dd82f0a2566d9e31e0c37a3
|
||||
SHA512 (qtwebkit-5.212.0-alpha3.tar.xz) = 38794514b886de3fa63a41277c2bcbb970e87a12070962b527e3898466cf7ad3b65ce4588669498415d365310b37729e81aabb457808fe11120558ef8e35445f
|
||||
Size (qtwebkit-5.212.0-alpha3.tar.xz) = 12457896 bytes
|
||||
SHA1 (qtwebkit-5.212.0-alpha4.tar.xz) = a2e2840cd751013f6e9fd0d15601d1ea4beb81d5
|
||||
RMD160 (qtwebkit-5.212.0-alpha4.tar.xz) = af000947daa429945d80e3c23e5cfd0eb13793be
|
||||
SHA512 (qtwebkit-5.212.0-alpha4.tar.xz) = 33f11270bd030599beff9c1983a6c5ff2d61f407cc8a6825f7f405d46f9184c720fc7f60c7359f08f828db96a2170092875066a0d5c0a21ff09bc48a2603fbf6
|
||||
Size (qtwebkit-5.212.0-alpha4.tar.xz) = 12528508 bytes
|
||||
SHA1 (patch-Source_JavaScriptCore_API_ObjCCallbackFunction.h) = be77c4b19f5f97c12180c1b7d3b72968364f3229
|
||||
SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 8b502d6960e5b52000dd6e67f65c2fbaf6e9d1f2
|
||||
SHA1 (patch-Source_JavaScriptCore_assembler_ARMAssembler.h) = 7bbb0a59a0c087abaaddda08fc31aa24809acb70
|
||||
|
@ -19,7 +19,7 @@ SHA1 (patch-Source_WTF_wtf_MathExtras.h) = 7dac41bf3e50944e49c3e3c29d482d2c33006
|
|||
SHA1 (patch-Source_WTF_wtf_Platform.h) = 73e8b07e8d7e718abe986a12b9f0b903dfcc4765
|
||||
SHA1 (patch-Source_WTF_wtf_ThreadIdentifierDataPthreads.cpp) = bfa570aa20e3508c77bbaebed051821a33f36209
|
||||
SHA1 (patch-Source_WebCore_page_NavigatorBase.cpp) = e8972f4b703a9ff45ce313609d2540f89064b4ff
|
||||
SHA1 (patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp) = dd409929936955ad31b8ec0902067e2f23c054a2
|
||||
SHA1 (patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp) = ec7c7533c2d5a4258170745bfc49655848d0780c
|
||||
SHA1 (patch-Source_WebCore_platform_graphics_surfaces_GraphicsSurface.h) = d1d986afd5525143fc786a959240a72167f03352
|
||||
SHA1 (patch-Source_WebCore_platform_graphics_surfaces_GraphicsSurfaceToken.h) = 838acb2d7ecf41e5f6989d98459d103f4268cdcf
|
||||
SHA1 (patch-Source_WebKit2_Platform_unix_SharedMemoryUnix.cpp) = d18013d0e07d7ad7e9d84cb6ef2d418d9bba4c7e
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
$NetBSD: patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp,v 1.1 2015/03/31 16:01:12 joerg Exp $
|
||||
$NetBSD: patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp,v 1.2 2020/03/21 19:42:37 nia Exp $
|
||||
|
||||
Use unified syntax on ARM.
|
||||
|
||||
--- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2014-12-05 16:24:49.000000000 +0000
|
||||
+++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
|
||||
|
|
Loading…
Reference in a new issue