FS#10511 - Fixed multiple-language feature in tools/configure

Attached to Project: Rockbox
Opened by Rosso Maltese (asettico) - Tuesday, 11 August 2009, 13:48 GMT
Task Type Patches
Category Build environment
Status Unconfirmed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


The patch fix the multiple-language feature, maintaining the same behaviour in interactive and batch mode and with "make reconf". Now it's possible to build more than one voice language at once, specifying different engine and option set for each one.
So, running "make voice", all the selected languages will be built.

To help the comprehension, here it is a batch mode sample:

../tools/configure --target=ipodvideo --ram=64 --type=av --language=italiano,espanol --tts=f,e --voice=lp_diphone --ttsopts=, --encopts='-q 10 -c 10,-q 5 -c 5'

This is like to run:

../tools/configure --target=ipodvideo --ram=64 --type=av --language=italiano --tts=f --voice=lp_diphone --ttsopts=' ' --encopts='-q 10 -c 10'

../tools/configure --target=ipodvideo --ram=64 --type=av --language=espanol --tts=e --voice=lp_diphone --ttsopts=' ' --encopts='-q 5 -c 5'

In the first case, I set the language to italian, using festival with voice lp_diphone (female), no further festival options and some manual encoder options.
In the second case, I set the language to spanish, using espeak. Even if I set the voice, the value is ignored, since the selected TTS engine doesn't use it.

I also added some cosmetics, like some very circumstantial indentation, blank check in rootdir too, simpler numbered menu generation, some terser command pipes.

The patch is applied to r22250.

I don't know if it's a really wanted feature, but the word FIXME in the script hurt me! :-)
This task depends upon

Comment by Rosso Maltese (asettico) - Saturday, 17 October 2009, 07:35 GMT
Sync to r23221.