package/qt5/qt5webkit: needs OpenSSL
PATCH v2 1/1 package/qt5/qt5webkit: needs OpenSSL
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-----------------------------
---
Changes v1 -> v2:
* Added "openssl" to QT5WEBKIT_DEPENDENCIES, thanks Yann for spotting this one.
Note that I interntionally added "openssl" not following alphabetic order because:
1. Existing dependencies are already a bit shufffled
2. I wanted to keep this diff as small as possible, w/o re-shuffling multiple lines. If really needed we may do reordering in a separate patch.
--- package/qt5/qt5webkit/Config.in | 1 + package/qt5/qt5webkit/qt5webkit.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
package/qt5/qt5webkit/Config.in +1 -0
@@ -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
package/qt5/qt5webkit/qt5webkit.mk +1 -1
@@ -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
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Arnout Vandecappelle
AppliedQuoted 9 lines · Alexey Brodkin via buildroot
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 declared68 | 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")); | ^~~~~~~~~~
Quoted 7 lines
-------------------------------->8-----------------------------
Signed-off-by Alexey Brodkin <[email protected]>Cc Fabrice Fontaine <[email protected]>Cc James Hilliard <[email protected]>Cc Peter Seiderer <[email protected]>Cc Yann E. MORIN <[email protected]>
Applied to master, thanks.
Regards,
Arnout
Quoted 37 lines
---
Changes v1 -> v2:
* Added "openssl" to
QT5WEBKIT_DEPENDENCIES, thanks Yann for spotting this one.Note that I interntionally added "openssl" not following alphabetic order because:
1. Existing dependencies are already a bit shufffled
2. I wanted to keep this diff as small as possible, w/o re-shuffling multiple lines. If really needed we may do reordering in a separate patch.--- package/qt5/qt5webkit/Config.in | 1 + package/qt5/qt5webkit/qt5webkit.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)package/qt5/qt5webkit/Config.in +1
-0@@ -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_WIDGETSpackage/qt5/qt5webkit/qt5webkit.mk +0
-0
package/qt5/qt5webkit/qt5webkit.mk QT5WEBKIT_SOURCE = qtwebkit-$(QT5WEBKIT_VERSION).tar.xz · line 16
Quoted 8 lines
package/qt5/qt5webkit/qt5webkit.mk +1
-1@@ -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
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot