rpms/festival/devel festival-use-pacat.patch, NONE, 1.1 festival.spec, 1.32, 1.33

Ray Strode rstrode at fedoraproject.org
Tue Oct 28 01:56:29 UTC 2008


Author: rstrode

Update of /cvs/pkgs/rpms/festival/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15746

Modified Files:
	festival.spec 
Added Files:
	festival-use-pacat.patch 
Log Message:
- interoperate with other apps by using pacat for audio output
  (bug 467531)


festival-use-pacat.patch:

--- NEW FILE festival-use-pacat.patch ---
diff -up festival/lib/init.scm.use-pacat festival/lib/init.scm
--- festival/lib/init.scm.use-pacat	2008-10-27 21:35:08.000000000 -0400
+++ festival/lib/init.scm	2008-10-27 21:41:08.000000000 -0400
@@ -140,6 +140,10 @@
 (require 'token)
 (require 'tts)
 
+;;; Default to using pulseaudio (bug 467531)
+(Parameter.def 'Audio_Command "pacat --channels=1 --rate=$SR $FILE -n Festival --stream-name=Speech")
+(Parameter.set 'Audio_Method 'Audio_Command)
+
 ;;;
 ;;;  Local site initialization, if the file exists load it
 ;;;


Index: festival.spec
===================================================================
RCS file: /cvs/pkgs/rpms/festival/devel/festival.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- festival.spec	18 Jul 2008 15:52:24 -0000	1.32
+++ festival.spec	28 Oct 2008 01:55:58 -0000	1.33
@@ -6,7 +6,7 @@
 Name: festival
 Summary: A free speech synthesis and text-to-speech system
 Version: %{festivalversion}
-Release: 5%{?dist}
+Release: 6%{?dist}
 
 URL: http://www.cstr.ed.ac.uk/projects/festival/
 Group: Applications/Multimedia
@@ -129,6 +129,9 @@
 
 Patch93: gcc43.patch
 
+# Work with pulseaudio (bug 467531)
+Patch94: festival-use-pacat.patch
+
 BuildRequires: tetex
 BuildRequires: ncurses-devel, esound-devel
 
@@ -449,7 +452,7 @@
 %patch91 -p1
 %patch92 -p1
 %patch93 -p1 -b .gcc43
-
+%patch94 -p1 -b .use-pacat
 
 # zero length
 rm festdoc-%{docversion}/speech_tools/doc/index_html.jade
@@ -794,6 +797,10 @@
 
 
 %changelog
+* Mon Oct 27 2008 Ray Strode <rstrode at redhat.com> - 1.96-6
+- interoperate with other apps by using pacat for audio output
+  (bug 467531)
+
 * Fri Jul 18 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.96-5
 - fix license tag
 




More information about the scm-commits mailing list