diff --git a/pyqt6_webengine-6.10.0-qt6.9.patch b/pyqt6_webengine-6.10.0-qt6.9.patch new file mode 100644 index 0000000..3baf677 --- /dev/null +++ b/pyqt6_webengine-6.10.0-qt6.9.patch @@ -0,0 +1,27 @@ +diff -ur pyqt6_webengine-6.10.0/ChangeLog pyqt6_webengine-6.10.1.dev2510252014/ChangeLog +--- pyqt6_webengine-6.10.0/ChangeLog 2025-10-16 12:34:51.202807400 +0200 ++++ pyqt6_webengine-6.10.1.dev2510252014/ChangeLog 2025-10-26 02:07:11.511231400 +0200 +@@ -1,3 +1,11 @@ ++commit d76a2a7f9c3215b33dbd41d4dacb78eb182900fe ++Author: Phil Thompson ++Date: Sat Oct 25 20:14:23 2025 +0100 ++ ++ Bug fixes ++ ++ Fixed a regression that caused builds to fail when using Qt v6.8 or v6.9. ++ + commit 14b3e276ae013b46b2a9de0c6b89ea825eed9c05 + Author: Phil Thompson + Date: Thu Oct 16 11:03:55 2025 +0100 +diff -ur pyqt6_webengine-6.10.0/sip/QtWebEngineCore/qwebenginesettings.sip pyqt6_webengine-6.10.1.dev2510252014/sip/QtWebEngineCore/qwebenginesettings.sip +--- pyqt6_webengine-6.10.0/sip/QtWebEngineCore/qwebenginesettings.sip 2025-10-16 12:34:51.314369000 +0200 ++++ pyqt6_webengine-6.10.1.dev2510252014/sip/QtWebEngineCore/qwebenginesettings.sip 2025-10-26 02:07:11.833061000 +0200 +@@ -124,7 +124,7 @@ + QWebEngineSettings::UnknownUrlSchemePolicy unknownUrlSchemePolicy() const; + void setUnknownUrlSchemePolicy(QWebEngineSettings::UnknownUrlSchemePolicy policy); + void resetUnknownUrlSchemePolicy(); +-%If (QtWebEngine_6_10_0 -) ++%If (QtWebEngine_6_8_0 -) + typedef unsigned char uint8_t /PyInt/; + %End + %If (QtWebEngine_6_8_0 -) diff --git a/python-PyQt6-WebEngine.changes b/python-PyQt6-WebEngine.changes index a6dbf20..285db4f 100644 --- a/python-PyQt6-WebEngine.changes +++ b/python-PyQt6-WebEngine.changes @@ -1,8 +1,12 @@ ------------------------------------------------------------------- -Wed Oct 29 09:40:39 UTC 2025 - Ben Greiner +Wed Oct 29 12:59:12 UTC 2025 - Ben Greiner - Update to 6.10.0 * Added support for Qt v6.10. +- Add pyqt6_webengine-6.10.0-qt6.9.patch + * Fixes a regression that caused builds to fail when using Qt + v6.8 or v6.9. + * https://www.riverbankcomputing.com/pipermail/pyqt/2025-October/046353.html ------------------------------------------------------------------- Mon Jun 9 17:52:21 UTC 2025 - Ben Greiner diff --git a/python-PyQt6-WebEngine.spec b/python-PyQt6-WebEngine.spec index 8ba2b52..5012aa9 100644 --- a/python-PyQt6-WebEngine.spec +++ b/python-PyQt6-WebEngine.spec @@ -28,6 +28,8 @@ License: GPL-3.0-only Group: Development/Libraries/Python URL: https://www.riverbankcomputing.com/software/pyqt3d Source: https://files.pythonhosted.org/packages/source/P/PyQt6-%{qtlib}/pyqt6_webengine-%{version}.tar.gz +# PATCH-FIX-UPSTREAM pyqt6_webengine-6.10.0-qt6.9.patch -- https://www.riverbankcomputing.com/pipermail/pyqt/2025-October/046353.html +Patch1: pyqt6_webengine-6.10.0-qt6.9.patch BuildRequires: %{python_module PyQt6-devel >= 6.2} BuildRequires: %{python_module devel} BuildRequires: %{python_module pyqt-builder >= 1.17 with %python-pyqt-builder < 2}