Create binary voice string archive on target.
commitd6ef5a0d8057bd6a0f9925d1002cc1a3207ff3b7
authorDominik Riebeling <Dominik.Riebeling@gmail.com>
Sat, 19 May 2012 15:14:35 +0000 (19 17:14 +0200)
committerDominik Riebeling <Dominik.Riebeling@gmail.com>
Sat, 9 Jun 2012 20:44:56 +0000 (9 22:44 +0200)
tree4a87f6b59b203d54d931e4351d851fa00b540ae2
parent1e2c6506fbf503bace8356f90cd54a5b01a32f88
Create binary voice string archive on target.

Extend genlang to create files holding the voice strings in a binary format
similar to lng. Create such files for all languages during a normal build, put
them in a zip file and add them to rockbox.zip so they are installed with a
main build.

Creating a voice file requires access to the voice strings, which are currently
not distributed with Rockbox. Therefore it is necessary to either have access
to the source code of the installed build or to use a build the genlang service
on rockbox.org can retrieve the strings for, making it impossible for normal
users to generate a voice file for custom builds, test builds and older builds
that aren't supported by the rockbox.org script. It also requires a network
connection when creating voice files with Rockbox Utility even if creating a
voice file by itself isn't network related.

Furthermore, putting the voice strings on the target is also a prerequisite for
eventually supporting a TTS on the player.

Strip voice strings path.

Change-Id: Ic2f86130909b3b257986a348e5cfcf618c4500c3
apps/lang/lang.make
tools/buildzip.pl
tools/genlang