From c580677e22eaa62f6376118a851912c2284630f5 Mon Sep 17 00:00:00 2001 From: skmpz Date: Mon, 14 Jun 2021 08:31:35 +0400 Subject: [PATCH] speech-dispatcher: update to 0.10.2. --- .../0001-Fix-crash-with-python-3.9.patch | 29 ------------------- srcpkgs/speech-dispatcher/template | 11 +++---- 2 files changed, 6 insertions(+), 34 deletions(-) delete mode 100644 srcpkgs/speech-dispatcher/patches/0001-Fix-crash-with-python-3.9.patch diff --git a/srcpkgs/speech-dispatcher/patches/0001-Fix-crash-with-python-3.9.patch b/srcpkgs/speech-dispatcher/patches/0001-Fix-crash-with-python-3.9.patch deleted file mode 100644 index d7123d5d79df..000000000000 --- a/srcpkgs/speech-dispatcher/patches/0001-Fix-crash-with-python-3.9.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 4fe066fefcbb28161b1053326867514a21f421b9 Mon Sep 17 00:00:00 2001 -From: Michael Catanzaro -Date: Fri, 11 Sep 2020 13:15:07 -0500 -Subject: [PATCH] Fix crash with python 3.9 - -Thread.isAlive() was removed in python 3.9. Thread.is_alive() has been -available since python 2.6, so let's use that. - -Fixes #402 ---- - src/api/python/speechd/client.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/api/python/speechd/client.py b/src/api/python/speechd/client.py -index ba7c0496..68200e2f 100644 ---- src/api/python/speechd/client.py -+++ src/api/python/speechd/client.py -@@ -289,7 +289,7 @@ class _SSIP_Connection(object): - and return the triplet (code, msg, data).""" - # TODO: This check is dumb but seems to work. The main thread - # hangs without it, when the Speech Dispatcher connection is lost. -- if not self._communication_thread.isAlive(): -+ if not self._communication_thread.is_alive(): - raise SSIPCommunicationError - self._ssip_reply_semaphore.acquire() - # The list is sorted, read the first item --- -2.28.0 - diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template index 810692a434b1..b0283ed40192 100644 --- a/srcpkgs/speech-dispatcher/template +++ b/srcpkgs/speech-dispatcher/template @@ -1,12 +1,13 @@ # Template file for 'speech-dispatcher' pkgname=speech-dispatcher -version=0.10.1 -revision=3 +version=0.10.2 +revision=1 wrksrc="speechd-${version}" build_style=gnu-configure # Disable support for sundry non-free TTS systems (said support causes # the pre-pkg step to fail on account of missing shlibs). -configure_args="--disable-static --without-kali --without-ibmtts --without-baratinoo" +configure_args="--disable-static --without-kali --without-ibmtts --without-baratinoo + --without-voxin" hostmakedepends="automake libtool gettext-devel pkg-config intltool python3-devel texinfo" makedepends="libltdl-devel glib-devel dotconf-devel @@ -18,7 +19,7 @@ maintainer="Orphaned " license="GPL-2.0-or-later, LGPL-2.1-or-later, GFDL-1.2-or-later" homepage="http://devel.freebsoft.org/speechd" distfiles="https://github.com/brailcom/speechd/archive/${version}.tar.gz" -checksum=0c702d4acc4920818db3daa28ecf14004123b64514b4575c138874618835104c +checksum=056efb80186f2bfc3f6ef468ab9905ca2d652cc2180b13514b752a9d616a6930 conf_files=" /etc/speech-dispatcher/clients/*.conf @@ -38,7 +39,7 @@ pre_configure() { speech-dispatcher-devel_package() { short_desc+=" - development files" - depends="${sourcepkg}-${version}_${revision}" + depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig