Re: festival recommends change: request/advice
Dear Julien,
On Mon, Aug 16, 2010 at 11:55:39PM +0200, Julien Cristau wrote:
> On Mon, Aug 9, 2010 at 17:55:25 -0400, Kumar Appaiah wrote:
>
> > Dear Debian Release,
> >
> > According to #592411, festival need not depend on oss-compat for full
> > functionality, and it can be made to work with Alsa directly. Keeping
> > this in mind, I am convinced that I could move oss-compat to
> > recommends to make life easier for some users.
> >
> You can't make it use alsa by default (on linux anyway)?
Thanks for the response. The problem with making Alsa default is this:
the method I am aware of to get Alsa used is by feeding the festival
output to aplay. Now, I can easily install a festival.scm (Attached
for your reference) and ship it with the package. However, this would
mean that I *must* depend on alsa-utils, which may or may not be a
good thing (you may wish to comment on this).
What would the release team opinion be?
Thanks. I have attached a patch which comments out the server details,
since they are useless till the user manually runs the festival
server. (I just noticd that the patch misses adding a build dependency
on alsa-utils, but I'll add it if you advise me to upload it).
Kumar
--
Be warned that typing \fBkillall \fIname\fP may not have the desired
effect on non-Linux systems, especially when done by a privileged user.
-- From the killall manual page
diff --git a/debian/festival.install b/debian/festival.install
index a901f97..04a30e0 100644
--- a/debian/festival.install
+++ b/debian/festival.install
@@ -9,3 +9,4 @@ lib/festival.el usr/share/emacs/site-lisp
lib/*gram* usr/share/festival
debian/50festival.el etc/emacs/site-start.d
examples/text2wave usr/bin
+debian/festival.scm etc
diff --git a/debian/festival.scm b/debian/festival.scm
index 8a6bde4..91f6796 100644
--- a/debian/festival.scm
+++ b/debian/festival.scm
@@ -10,21 +10,25 @@
;; you wish to run festival as a server.
; Maximum number of clients on the server
-(set! server_max_clients 10)
+;(set! server_max_clients 10)
; Server port
-(set! server_port 1314)
+;(set! server_port 1314)
; Server password:
-(set! server_passwd "password")
+;(set! server_passwd "password")
; Log file location
-(set! server_log_file "/var/log/festival/festival.log")
+;(set! server_log_file "/var/log/festival/festival.log")
; Server access list (hosts)
; Example:
; (set! server_access_list '("[^.]+" "127.0.0.1" "localhost.*" "192.168.*"))
; Secure default:
-(set! server_access_list '("[^.]+" "127.0.0.1" "localhost"))
+;(set! server_access_list '("[^.]+" "127.0.0.1" "localhost"))
; Server deny list (hosts)
+;(set! server_deny_list '("[^.]+" "server_1" "server_2"))
+
+(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
+(Parameter.set 'Audio_Method 'Audio_Command)
diff --git a/debian/rules b/debian/rules
index c81b8e0..5396d34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,7 +59,7 @@ binary-arch: build install
dh_installcatalogs -a
dh_installman -pfestival doc/festival.1 doc/festival_client.1 doc/text2wave.1
dh_installinfo -pfestival doc/info/festival.info*
- dh_installexamples -pfestival examples/* -Xexamples/text2wave debian/festival.init debian/festival.scm
+ dh_installexamples -pfestival examples/* -Xexamples/text2wave debian/festival.init
dh_strip -a
dh_link -a
dh_compress -a
Reply to: