[neon/forks/pyqt5/Neon/release-lts] debian: Add a patch to make QtTextToSpeech module buildable with Qt 5.14.

Dmitry Shachnev null at kde.org
Wed May 26 11:29:29 BST 2021


Git commit d925f7b004d58cd15a30d15f575ef83ebfa570f8 by Dmitry Shachnev.
Committed on 20/09/2020 at 08:22.
Pushed by jriddell into branch 'Neon/release-lts'.

Add a patch to make QtTextToSpeech module buildable with Qt 5.14.

M  +1    -0    debian/changelog
A  +36   -0    debian/patches/qtspeech_5.14.diff
M  +1    -0    debian/patches/series

https://invent.kde.org/neon/forks/pyqt5/commit/d925f7b004d58cd15a30d15f575ef83ebfa570f8

diff --git a/debian/changelog b/debian/changelog
index 1758991a..f82cbeb4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ pyqt5 (5.15.1+dfsg-1) UNRELEASED; urgency=medium
   [ Dmitry Shachnev ]
   * New upstream release.
   * Backport upstream patch to make bound signals hashable.
+  * Add a patch to make QtTextToSpeech module buildable with Qt 5.14.
 
   [ Alexander Volkov ]
   * Add python3-pyqt5.qttexttospeech package for QtTextToSpeech module.
diff --git a/debian/patches/qtspeech_5.14.diff b/debian/patches/qtspeech_5.14.diff
new file mode 100644
index 00000000..77abfbe0
--- /dev/null
+++ b/debian/patches/qtspeech_5.14.diff
@@ -0,0 +1,36 @@
+From: Dmitry Shachnev <mitya57 at debian.org>
+Date: Sat, 19 Sep 2020 15:38:41 +0300
+Subject: Do not require Qt 5.15 for QtTextToSpeech module
+
+The public API has not changed between 5.14 and 5.15.
+---
+ sip/QtTextToSpeech/qtexttospeech.sip | 2 +-
+ sip/QtTextToSpeech/qvoice.sip        | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/sip/QtTextToSpeech/qtexttospeech.sip b/sip/QtTextToSpeech/qtexttospeech.sip
+index 729996e..5b0fb3e 100644
+--- a/sip/QtTextToSpeech/qtexttospeech.sip
++++ b/sip/QtTextToSpeech/qtexttospeech.sip
+@@ -20,7 +20,7 @@
+ // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ 
+ 
+-%If (Qt_5_15_0 -)
++%If (Qt_5_14_0 -)
+ 
+ class QTextToSpeech : QObject
+ {
+diff --git a/sip/QtTextToSpeech/qvoice.sip b/sip/QtTextToSpeech/qvoice.sip
+index e5416ff..14025be 100644
+--- a/sip/QtTextToSpeech/qvoice.sip
++++ b/sip/QtTextToSpeech/qvoice.sip
+@@ -20,7 +20,7 @@
+ // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ 
+ 
+-%If (Qt_5_15_0 -)
++%If (Qt_5_14_0 -)
+ 
+ class QVoice
+ {
diff --git a/debian/patches/series b/debian/patches/series
index 571798e7..e686dc4d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 hashable_signals.diff
+qtspeech_5.14.diff



More information about the Neon-commits mailing list