Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125365 - app-accessibility/speechd-0.56-r2.ebuild (Update) - Festival commands support
Summary: app-accessibility/speechd-0.56-r2.ebuild (Update) - Festival commands support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-07 07:58 UTC by Francesco Monica
Modified: 2011-08-29 19:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
app-accessibility/speechd-0.56-r3.ebuild (speechd-0.56-r3.ebuild,1.08 KB, text/plain)
2006-03-07 08:00 UTC, Francesco Monica
Details
app-accessibility/speechd/files/speechd-0.56-festival-command.patch (speechd-0.56-festival-command.patch,2.06 KB, patch)
2006-03-07 08:03 UTC, Francesco Monica
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Monica 2006-03-07 07:58:03 UTC
Hi!

Please find attached speechd-0.56-r3.ebuild. This ebuild adds a patch applied to the perl script /usr/bin/speechd that allows to pass commands to the festival server through the /dev/speech fifo.

I give you an example: 

With the previous version it is impossible to change the voice used by festival server because any string submitted to /dev/speech is translated into a festival command like '(SayText "...")'. So, if you write:
$ echo "(voice_lp_diphone)" > /dev/speech
The command sent to festival become something like:
  (SayText "(voice_lp_diphone)")

The patched version of the script, before generating the festival command, tests if the input string has a command-like syntax (text between parenthesis, only spaces on the left) and, in that case, send it as-is to the festival server. After that you can type:
$ echo "(voice_lp_diphone)" > /dev/speech
$ echo "Ciao" > /dev/speech
And hear what is expected (italian voice in this case)...

Let me know if this patch is useful and correct.

Regards,
Francesco.
Comment 1 Francesco Monica 2006-03-07 08:00:14 UTC
Created attachment 81604 [details]
app-accessibility/speechd-0.56-r3.ebuild

The upgraded ebuild basically adds only this line to the src_unpack() function:
+       epatch ${FILESDIR}/${P}-festival-command.patch
Comment 2 Francesco Monica 2006-03-07 08:03:20 UTC
Created attachment 81605 [details, diff]
app-accessibility/speechd/files/speechd-0.56-festival-command.patch

This is the patch file to the perl script /usr/bin/speechd

Actually, I'm not a perl programmer, hope it is good enough...
Comment 3 William Hubbs gentoo-dev 2011-08-29 19:19:09 UTC
This package has been removed from portage; see bug #360067 for
information.