From 6a8140ffb683d5bde0a7b09b59acb7ca0532a0d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= Date: Fri, 9 Mar 2018 14:22:07 +0100 Subject: [PATCH] Make espeak-ng the default output module --- ...-espeak-ng-the-default-output-module.patch | 25 +++++++++++++++++++ speech-dispatcher.spec | 10 ++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 0001-Make-espeak-ng-the-default-output-module.patch diff --git a/0001-Make-espeak-ng-the-default-output-module.patch b/0001-Make-espeak-ng-the-default-output-module.patch new file mode 100644 index 0000000..1b58719 --- /dev/null +++ b/0001-Make-espeak-ng-the-default-output-module.patch @@ -0,0 +1,25 @@ +From b4400c86b7481cd8ffd6d1ae4dc62d0be29e1e30 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= +Date: Fri, 9 Mar 2018 14:13:47 +0100 +Subject: [PATCH] Make espeak-ng the default output module + +--- + config/speechd.conf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config/speechd.conf b/config/speechd.conf +index 140de3a..f99e3ce 100644 +--- a/config/speechd.conf ++++ b/config/speechd.conf +@@ -240,7 +240,7 @@ DefaultVolume 100 + # The DefaultModule selects which output module is the default. You + # must use one of the names of the modules loaded with AddModule. + +-DefaultModule espeak ++DefaultModule espeak-ng + + # The LanguageDefaultModule selects which output modules are prefered + # for specified languages. +-- +2.14.3 + diff --git a/speech-dispatcher.spec b/speech-dispatcher.spec index 93fb9c9..0a23b81 100644 --- a/speech-dispatcher.spec +++ b/speech-dispatcher.spec @@ -2,7 +2,7 @@ Name: speech-dispatcher Version: 0.8.8 -Release: 4%{?dist} +Release: 5%{?dist} Summary: To provide a high-level device independent layer for speech synthesis Group: System Environment/Libraries @@ -15,6 +15,8 @@ Source0: http://www.freebsoft.org/pub/projects/speechd/%{name}-%{version}. Source1: http://www.freebsoft.org/pub/projects/sound-icons/sound-icons-0.1.tar.gz Source2: speech-dispatcherd.service +Patch1: 0001-Make-espeak-ng-the-default-output-module.patch + BuildRequires: alsa-lib-devel BuildRequires: desktop-file-utils BuildRequires: dotconf-devel @@ -32,7 +34,7 @@ BuildRequires: python3-setuptools BuildRequires: texinfo BuildRequires: systemd -Requires: speech-dispatcher-espeak +Requires: speech-dispatcher-espeak-ng Requires(post): systemd Requires(preun): systemd Requires(postun): systemd @@ -128,6 +130,7 @@ Python 3 module for speech-dispatcher %prep %setup -q +%patch1 -p1 tar xf %{SOURCE1} @@ -255,6 +258,9 @@ fi %{python3_sitearch}/speechd* %changelog +* Thu Mar 08 2018 Ondřej Lysoněk - 0.8.8-5 +- Make espeak-ng the default output module + * Fri Feb 09 2018 Fedora Release Engineering - 0.8.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild