From 3f5be21db989acbb41b0f432d0f72bc7cc458b24 Mon Sep 17 00:00:00 2001 From: Alexey Brodkin Date: Wed, 23 Feb 2022 00:00:24 +0300 Subject: [PATCH] package/qt5/qt5webkit: needs OpenSSL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit W/o OpenSSL QT5Webkit fails to build that way: -------------------------------->8----------------------------- .../build/qt5webkit-5.212.0-alpha4/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp: In static member function ‘static bool WebCore::ResourceRequest::alpnIsSupported()’: .../build/qt5webkit-5.212.0-alpha4/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:68:12: error: ‘QSslSocket’ has not been declared 68 | return QSslSocket::sslLibraryVersionNumber() > 0x10002000L && | ^~~~~~~~~~ .../build/qt5webkit-5.212.0-alpha4/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:69:9: error: ‘QSslSocket’ has not been declared 69 | QSslSocket::sslLibraryVersionString().startsWith(QLatin1String("OpenSSL")); | ^~~~~~~~~~ -------------------------------->8----------------------------- Signed-off-by: Alexey Brodkin Cc: Fabrice Fontaine Cc: James Hilliard Cc: Peter Seiderer Cc: Yann E. MORIN Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/qt5/qt5webkit/Config.in | 1 + package/qt5/qt5webkit/qt5webkit.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/qt5/qt5webkit/Config.in b/package/qt5/qt5webkit/Config.in index ed87efca95..26c3897d1d 100644 --- a/package/qt5/qt5webkit/Config.in +++ b/package/qt5/qt5webkit/Config.in @@ -15,6 +15,7 @@ config BR2_PACKAGE_QT5WEBKIT select BR2_PACKAGE_JPEG select BR2_PACKAGE_LEVELDB select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_QT5BASE_ICU select BR2_PACKAGE_QT5BASE_GUI select BR2_PACKAGE_QT5BASE_WIDGETS diff --git a/package/qt5/qt5webkit/qt5webkit.mk b/package/qt5/qt5webkit/qt5webkit.mk index 9012a588d4..6912359674 100644 --- a/package/qt5/qt5webkit/qt5webkit.mk +++ b/package/qt5/qt5webkit/qt5webkit.mk @@ -10,7 +10,7 @@ QT5WEBKIT_SOURCE = qtwebkit-$(QT5WEBKIT_VERSION).tar.xz QT5WEBKIT_DEPENDENCIES = \ host-bison host-flex host-gperf host-python3 host-ruby gstreamer1 \ gst1-plugins-base icu leveldb jpeg libpng libxml2 libxslt qt5location \ - qt5sensors qt5webchannel sqlite webp woff2 + openssl qt5sensors qt5webchannel sqlite webp woff2 QT5WEBKIT_INSTALL_STAGING = YES QT5WEBKIT_LICENSE_FILES = Source/WebCore/LICENSE-LGPL-2 Source/WebCore/LICENSE-LGPL-2.1