Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2006 01:00:19 GMT
From:      Thomas Russo <russo@bogodyn.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/102413: Festival port makes build with ESD difficult
Message-ID:  <200608230100.k7N10JQZ003663@www.freebsd.org>
Resent-Message-ID: <200608230100.k7N10XYD038522@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102413
>Category:       ports
>Synopsis:       Festival port makes build with ESD difficult
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 23 01:00:32 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Russo
>Release:        FreeBSD 5.5-STABLE
>Organization:
>Environment:
FreeBSD bogodyn.org 5.5-STABLE FreeBSD 5.5-STABLE #0: Sun Jul 30 16:36:42 MDT 2006     russo@bogodyn.org:/users2/obj/usr/src/sys/BOGODYN  i386

>Description:
Somewhere along the line the port for festival changed from supporting "esd" to not supporting it.  The pkg-descr file explains that one should use a specific "(Parameter.set" command to enable esdaudio, but if one does that the festival daemon simply reports "ESD playback not supported".


>How-To-Repeat:
Install esd and festival from ports.  Start esd daemon, e.g. "esd -d /dev/dsp".  Start festival server: festival --server &
Telnet to festival port: telnet localhost 1314
Try to say something:
  (SayText "Foobie")

You'll either get an error that it can't connect to /dev/dsp, or if you've followed pkg-descr's instructions and added "(Parameter.Set AudioMethod 'esdaudio)" to /usr/local/share/festival/lib/siteinit.scm, an error that "ESD playback not supported."
>Fix:
I had festival installed from a very long time ago and esd was supported back then --- it was only when I just did a portupgrade that it broke.  I dug around and found that all that it took to enable it was to uncomment the one line in work/speech-tools/config/config:

INCLUDE_MODULES += ESD_AUDIO


This is precisely what the port "festival+OGI" does in one of its patch files.

I would like to see NAS and ESD support both individual options so that if one is using only one of these sound systems then festival can be made to work with it.

For the nonce, I manually edited work/speech-tools/config/config after a "make configure", and manually edited "LIB_DEPENDS" so that the dependency could be recorded.  Once I did a "make install" of this manually tweaked port, I could enable esd support with the "Parameter.set" method in pkg-descr.  It works perfectly with esd support after doing so, and the newly installed festival properly records its dependency on esound.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608230100.k7N10JQZ003663>