Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391679 - app-accessibility/espeak : Missing dependency on media-sound/sox
Summary: app-accessibility/espeak : Missing dependency on media-sound/sox
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 10:33 UTC by Eric F. GARIOUD
Modified: 2011-12-18 17:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric F. GARIOUD 2011-11-23 10:33:19 UTC
When espeak loads a sound file, it checks if its characteristics (mono / 16bits / sample rate...) are in accordance with what is expected.
If they are not, then espeak requires sox to convert the sample.

Because sox is called through the "system" system call, espeak builds fine without the dependency on sox explicitly declared, however, espeak will fail converting the sample if media-sound/sox is not installed.

So I suggest to explicitly declare sox as a dependency of espeak.
==================
 

Reproducible: Always




The call to sox can be seen as part of the file src/readclause.cpp within the function LoadSoundFile :

sprintf(command,"sox \"%s\" -r %d -w -s -c1 %s %s\n", fname, samplerate, fname_temp, resample);
if(system(command) == 0)
============

Of course this is not a regression. This problem was already there with previous versions (at least 1.44.05). I simply mention it with regard to the current stabilization request.
Comment 1 William Hubbs gentoo-dev 2011-11-25 21:24:38 UTC
I am removing the block since this is not a regression.
Comment 2 William Hubbs gentoo-dev 2011-12-18 17:48:21 UTC
This is fixed in espeak-1.46.01.
Thanks for the report.