Bug#634785: svox: Regenerate .bin files
Package: svox
Version: 1.0+git20110131-1
Severity: important
Hello,
Currently, the svox package uses the pre-generated .bin files shipped by
Android, but this does not permit to patch the voices.
In order to regenerate the .bin files, the (unfortunately nonfree)
lingware toolset needs to be used. It happens that it can work in wine,
provided that winetricks vcrun2005sp1 is executed to fix an issue with
msvcr80. The attached patch fixes a few issue with unix environments,
and the following could be used as cygpath script:
#!/bin/bash
[ "$1" = -w ] && shift
echo "$@"
in the end, the buildall.sh script can be used to regenerate the .bin
files, which indeed do work properly.
Samuel
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--
Samuel Thibault <samuel.thibault@fnac.net>
> ±z¬O§_¸g±`¬°¦p¦ó©Ý®i¦æ¾PºÞ¹D¶Ë¸£µ¬?
> ¥Zµn³ø¯È,Âø»x¼s§i©Î¶l±H¢Ò¢Û (Direct Mail)¬O§_¤w¸gµLªk¹F¦¨±z¹w´Áªº¼s§i®ÄªG?
Je vous invite a consulter dans un premier temps le french-Howto.
-+- JCD in Guide du linuxien pervers - "Bien configurer la lisibilité de fcolm"
diff --git a/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/buildall.sh b/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/buildall.sh
index 9ea1bc7..f0ffd98
--- a/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/buildall.sh
+++ b/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/buildall.sh
@@ -1,5 +1,9 @@
rm ../pkb/*/*.pkb
+chmod +x *.sh
+chmod +x *.lua
+chmod +x *.pl
+
./buildpkb.sh de DE gl0
./buildpkb.sh en GB kh0
./buildpkb.sh en US lh0
diff --git a/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/buildpkb.sh b/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/buildpkb.sh
index 115a986..446ebac
--- a/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/buildpkb.sh
+++ b/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/buildpkb.sh
@@ -394,7 +394,7 @@ GRAPHS_TO_PKB=${TOOLS_DIR}/picoloadgraphs.exe
PHONES_TO_PKB=${TOOLS_DIR}/picoloadphones.lua
DBG_TO_PKB=${TOOLS_DIR}/picoloaddbg.lua
POS_TO_PKB=${TOOLS_DIR}/picoloadpos.exe
-LEX_TO_PKB=${TOOLS_DIR}/picoloadlex
+LEX_TO_PKB=${TOOLS_DIR}/picoloadlex.exe
AUT_TO_PKB=${TOOLS_DIR}/picoloadfst.exe
TPP_TO_PKB=${TOOLS_DIR}/picoloadpreproc.exe
DT_TO_PKB=${TOOLS_DIR}/dt2pkb.exe
diff --git a/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/picoloaddbg.lua b/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/picoloaddbg.lua
index 37fab4e..2133f8a
--- a/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/picoloaddbg.lua
+++ b/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/picoloaddbg.lua
@@ -1,4 +1,4 @@
-#!lua
+#!/usr/bin/lua
-----------------------------------------------------------------------------
-- lua script picoloaddbg.lua --- creates pkb containing phoneme information.
-- This pkb is only used for debug purposes.
diff --git a/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/picoloadphones.lua b/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/picoloadphones.lua
index 3075bb8..bac9892
--- a/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/picoloadphones.lua
+++ b/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/picoloadphones.lua
@@ -1,4 +1,4 @@
-#!lua
+#!/usr/bin/lua
-----------------------------------------------------------------------------
-- lua script picoloadphones.lua --- creates pkb containing phones table.
--
Reply to: