Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
c5567a17d9
!8 speech-dispatcher升级至0.11.1版本
From: @lyn1001 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
2022-10-27 10:45:59 +00:00
lyn1001
1f16e8c9ca update to 0.11.1 2022-10-26 16:54:36 +08:00
openeuler-ci-bot
54c3d2da08
!6 add buildrequires pulseaudio for fix build error
Merge pull request !6 from chen-jan/openEuler-22.03-LTS-Next
2022-01-07 11:32:49 +00:00
chen-jan
cd97ad124d add buildrequires pulseaudio for fix build error 2022-01-06 05:46:58 +08:00
openeuler-ci-bot
73541fefed !5 speech-dispatcher delete -S git from %autosetup, and delete BuildRequires git
From: @chenyanpanHW
Reviewed-by: @ruebb
Signed-off-by: @ruebb
2021-08-11 09:29:04 +00:00
chenyanpanHW
34e8fa59c3
delete -S git from %autosetup, and delete BuildRequires git 2021-07-31 14:58:40 +08:00
openeuler-ci-bot
c74b955773 !4 Fix global variable gcc10
From: @yaokai13
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-07-31 03:36:23 +00:00
yaokai13
bcc72e3734 Fix global variable gcc10 2021-07-30 17:21:01 +08:00
openeuler-ci-bot
6c29498e5f !3 Completing build dependencies to fix gcc compiler missing error
From: @hht8
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-06-07 20:26:30 +08:00
hht8
ce296d8ba3 Completing build dependencies to fix git command missing error 2021-06-07 09:16:28 +08:00
5 changed files with 38 additions and 58 deletions

View File

@ -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

View File

@ -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

Binary file not shown.

Binary file not shown.

View File

@ -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