commit 876b35c37d5be3b0dc0ed1e2f10dedd77407090e
Author: Kevin Kofler <kevin.kofler(a)chello.at>
Date: Sun Jan 23 19:26:28 2022 +0100
Fix qtwebengine-everywhere-5.15.5-use-python2.patch.
Fix a missing place where python should be replaced by python2 or
python3. Use python2 for now because everything else does, but this
particular tool actually already supports Python 3.
For some reason, this does not trigger an error in the Fedora buildroot.
(The BuildRequires: /usr/bin/python is not in the Fedora
qt5-qtwebengine.spec, that is why I removed it from here, uncovering
this error.)
qtwebengine-everywhere-5.15.5-use-python2.patch | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/qtwebengine-everywhere-5.15.5-use-python2.patch
b/qtwebengine-everywhere-5.15.5-use-python2.patch
index 12c53ea..f4aa432 100644
--- a/qtwebengine-everywhere-5.15.5-use-python2.patch
+++ b/qtwebengine-everywhere-5.15.5-use-python2.patch
@@ -10,6 +10,15 @@ diff -up
qtwebengine-everywhere-src-5.15.5/src/3rdparty/chromium/third_party/cat
rjsmin_path
]
p = subprocess.Popen(args,
+@@ -203,7 +203,7 @@
+ os.path.join(py_vulcanize_path, 'third_party', 'rcssmin',
'rcssmin.py'))
+
+ with tempfile.NamedTemporaryFile() as _:
+- rcssmin_args = ['python', rcssmin_path]
++ rcssmin_args = ['python2', rcssmin_path]
+ p = subprocess.Popen(rcssmin_args,
+ stdin=subprocess.PIPE,
+ stdout=subprocess.PIPE,
diff -up qtwebengine-everywhere-src-5.15.5/src/webengine/module.pro.use-python2
qtwebengine-everywhere-src-5.15.5/src/webengine/module.pro
--- qtwebengine-everywhere-src-5.15.5/src/webengine/module.pro.use-python2 2021-06-11
00:31:04.000000000 -0500
+++ qtwebengine-everywhere-src-5.15.5/src/webengine/module.pro 2021-06-23
15:26:48.897435095 -0500