41 lines
1.8 KiB
Diff
41 lines
1.8 KiB
Diff
Date: Mon, 24 Jul 2023 20:21:29 +0200
|
|
From: leeroy@cock.li
|
|
To: tbier@posteo.de
|
|
Subject: qtwebengine failing to build
|
|
|
|
after the update to 5.15.15, the qtwebengine port fails to build complaining it does not find python2
|
|
It is missing the following changes to fully support python3:
|
|
|
|
--- qtwebengine-43863f59f4c7fc0f3e89292e7669e9fe4ae67efa/src/buildtools/config/support.pri.orig 2023-07-24 20:09:12.855793225 +0200
|
|
+++ qtwebengine-43863f59f4c7fc0f3e89292e7669e9fe4ae67efa/src/buildtools/config/support.pri 2023-07-24 20:09:37.728790951 +0200
|
|
@@ -21,7 +21,7 @@
|
|
!qtwebengine_checkForGperf(QtWebEngine):return(false)
|
|
!qtwebengine_checkForBison(QtWebEngine):return(false)
|
|
!qtwebengine_checkForFlex(QtWebEngine):return(false)
|
|
- !qtwebengine_checkForPython2(QtWebEngine):return(false)
|
|
+ !qtwebengine_checkForPython(QtWebEngine):return(false)
|
|
!qtwebengine_checkForNodejs(QtWebEngine):return(false)
|
|
!qtwebengine_checkForSanitizer(QtWebEngine):return(false)
|
|
linux:!qtwebengine_checkForPkgCfg(QtWebEngine):return(false)
|
|
@@ -51,7 +51,7 @@
|
|
!qtwebengine_checkForGperf(QtPdf):return(false)
|
|
!qtwebengine_checkForBison(QtPdf):return(false)
|
|
!qtwebengine_checkForFlex(QtPdf):return(false)
|
|
- !qtwebengine_checkForPython2(QtPdf):return(false)
|
|
+ !qtwebengine_checkForPython(QtPdf):return(false)
|
|
!qtwebengine_checkForSanitizer(QtPdf):return(false)
|
|
linux:!qtwebengine_checkForPkgCfg(QtPdf):return(false)
|
|
linux:!qtwebengine_checkForHostPkgCfg(QtPdf):return(false)
|
|
@@ -143,9 +143,9 @@
|
|
return(true)
|
|
}
|
|
|
|
-defineTest(qtwebengine_checkForPython2) {
|
|
+defineTest(qtwebengine_checkForPython) {
|
|
module = $$1
|
|
- !qtConfig(webengine-python2) {
|
|
+ !qtConfig(webengine-python) {
|
|
qtwebengine_skipBuild("Python version 2 (2.7.5 or later) is required to build $${module}.")
|
|
return(false)
|
|
}
|