Compare commits
10 Commits
131080a977
...
c5567a17d9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5567a17d9 | ||
|
|
1f16e8c9ca | ||
|
|
54c3d2da08 | ||
|
|
cd97ad124d | ||
|
|
73541fefed | ||
|
|
34e8fa59c3 | ||
|
|
c74b955773 | ||
|
|
bcc72e3734 | ||
|
|
6c29498e5f | ||
|
|
ce296d8ba3 |
@ -1,25 +0,0 @@
|
||||
From b4400c86b7481cd8ffd6d1ae4dc62d0be29e1e30 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
|
||||
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
|
||||
|
||||
@ -1,28 +1,15 @@
|
||||
From 5ede80b0713c75b21925203c3ef389c86cb69e6d Mon Sep 17 00:00:00 2001
|
||||
From: Bastien Nocera <hadess@hadess.net>
|
||||
Date: Fri, 20 Jul 2018 15:04:48 +0200
|
||||
Subject: [PATCH] Remove pyxdg dependency
|
||||
|
||||
And use the same algorithm as GLib to determine the base user config
|
||||
directory (XDG_CONFIG_HOME, then ~/.config then /tmp/$USERNAME/.config)
|
||||
---
|
||||
src/api/python/speechd_config/config.py.in | 13 ++++++++++---
|
||||
1 file changed, 10 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/api/python/speechd_config/config.py.in b/src/api/python/speechd_config/config.py.in
|
||||
index ccf8803..e8393e5 100644
|
||||
--- a/src/api/python/speechd_config/config.py.in
|
||||
+++ b/src/api/python/speechd_config/config.py.in
|
||||
@@ -30,8 +30,6 @@ import socket
|
||||
--- speech-dispatcher-0.11.1/src/api/python/speechd_config/config.py~ 2022-01-08 16:36:58.000000000 -0600
|
||||
+++ speech-dispatcher-0.11.1/src/api/python/speechd_config/config.py 2022-01-10 10:39:08.029069754 -0600
|
||||
@@ -29,8 +29,6 @@
|
||||
import sys
|
||||
import time
|
||||
|
||||
-from xdg import BaseDirectory
|
||||
-
|
||||
# Locale/gettext configuration
|
||||
# Configuration and sound data paths
|
||||
from . import buildconfig
|
||||
|
||||
locale.setlocale(locale.LC_ALL, '')
|
||||
@@ -167,7 +165,16 @@ class Tests:
|
||||
@@ -180,7 +178,16 @@
|
||||
|
||||
def user_conf_dir(self):
|
||||
"""Return user configuration directory"""
|
||||
@ -40,6 +27,3 @@ index ccf8803..e8393e5 100644
|
||||
|
||||
def system_conf_dir(self):
|
||||
"""Determine system configuration directory"""
|
||||
--
|
||||
2.17.1
|
||||
|
||||
|
||||
BIN
speech-dispatcher-0.11.1.tar.gz
Normal file
BIN
speech-dispatcher-0.11.1.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,17 +1,16 @@
|
||||
Name: speech-dispatcher
|
||||
Version: 0.8.8
|
||||
Release: 9
|
||||
Version: 0.11.1
|
||||
Release: 1
|
||||
Summary: Common high-level interface to speech synthesis
|
||||
License: GPLv2+ and GPLv2
|
||||
URL: http://devel.freebsoft.org/speechd
|
||||
Source0: http://www.freebsoft.org/pub/projects/speechd/speech-dispatcher-%{version}.tar.gz
|
||||
Source0: https://github.com/brailcom/speechd/releases/download/%{version}/speech-dispatcher-%{version}.tar.gz
|
||||
Source1: http://www.freebsoft.org/pub/projects/sound-icons/sound-icons-0.1.tar.gz
|
||||
Source2: speech-dispatcherd.service
|
||||
Patch0001: 0001-Make-espeak-ng-the-default-output-module.patch
|
||||
Patch0002: 0001-Remove-pyxdg-dependency.patch
|
||||
BuildRequires: alsa-lib-devel desktop-file-utils dotconf-devel espeak-ng-devel flite-devel
|
||||
BuildRequires: glib2-devel intltool libao-devel libtool-ltdl-devel libsndfile-devel
|
||||
BuildRequires: pulseaudio-libs-devel python3-devel python3-setuptools texinfo systemd git
|
||||
Patch0001: 0001-Remove-pyxdg-dependency.patch
|
||||
BuildRequires: alsa-lib-devel desktop-file-utils dotconf-devel espeak-ng-devel flite-devel
|
||||
BuildRequires: glib2-devel intltool libao-devel libtool-ltdl-devel libsndfile-devel pulseaudio
|
||||
BuildRequires: pulseaudio-libs-devel python3-devel python3-setuptools texinfo systemd gcc gcc-c++ make
|
||||
Provides: speech-dispatcher-utils = %{version}-%{release}
|
||||
Obsoletes: speech-dispatcher-utils < %{version}-%{release}
|
||||
Requires: python3-speechd = %{version}-%{release} speech-dispatcher-espeak-ng
|
||||
@ -78,12 +77,17 @@ Requires: speech-dispatcher = %{version}-%{release}
|
||||
Python v3 module for speech-dispatcher
|
||||
|
||||
%prep
|
||||
%autosetup -n speech-dispatcher-%{version} -S git
|
||||
%autosetup -n speech-dispatcher-%{version} -p1
|
||||
tar xf %{SOURCE1}
|
||||
|
||||
%build
|
||||
%configure --with-alsa --with-pulse --with-libao --without-oss --without-nas --with-flite --without-espeak \
|
||||
--with-espeak-ng --sysconfdir=%{_sysconfdir} --with-default-audio-method=pulse
|
||||
--with-espeak-ng --sysconfdir=%{_sysconfdir} --with-default-audio-method=pulse \
|
||||
--with-kali=no --with-baratinoo=no --with-voxin=no \
|
||||
--with-module-bindir=%{_libdir}/speech-dispatcher-modules/
|
||||
|
||||
%make_build V=1
|
||||
|
||||
%install
|
||||
%make_install
|
||||
install -d %{buildroot}%{_unitdir}
|
||||
@ -136,7 +140,8 @@ if [ $1 = 0 ]; then
|
||||
fi
|
||||
|
||||
%files -f speech-dispatcher.lang
|
||||
%doc COPYING NEWS README
|
||||
%license COPYING.LGPL COPYING.GPL-2 COPYING.GPL-3
|
||||
%doc NEWS README.md
|
||||
%dir %{_sysconfdir}/speech-dispatcher/{clients,modules}
|
||||
%config(noreplace) %{_sysconfdir}/speech-dispatcher/speechd.conf
|
||||
%config(noreplace) %{_sysconfdir}/speech-dispatcher/clients/*.conf
|
||||
@ -164,6 +169,7 @@ fi
|
||||
%files espeak-ng
|
||||
%config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/espeak-ng.conf
|
||||
%{_libdir}/speech-dispatcher-modules/sd_espeak-ng
|
||||
%{_libdir}/speech-dispatcher-modules/sd_espeak-ng-mbrola
|
||||
|
||||
%files festival
|
||||
%config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/festival.conf
|
||||
@ -177,5 +183,20 @@ fi
|
||||
%{python3_sitearch}/speechd*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 26 2022 liyanan <liyanan32@h-partners.com> - 0.11.1-1
|
||||
- Update package
|
||||
|
||||
* Thu Jan 06 2022 Chen Chen <chen_aka_jan@163.com> - 0.8.8-13
|
||||
- add buildrequires pulseaudio for fix build error
|
||||
|
||||
* Sat Jul 31 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.8.8-12
|
||||
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||
|
||||
* Fri Jul 30 2021 yaokai <yaokai13@huawei.com> - 0.8.8-11
|
||||
- Fix global variable gcc10
|
||||
|
||||
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 0.8.8-10
|
||||
- Completing build dependencies to fix gcc compiler missing error
|
||||
|
||||
* Sat Nov 30 2019 Ling Yang <lingyang2@huawei.com> - 0.8.8-9
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user