diff options
author | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:17:48 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:17:48 +0000 |
commit | 36a81eb9b98ac7b1dff0d6658dba0255dd579f5f (patch) | |
tree | 81b81008c4cb69c276329ecd50200887c4da4838 /tools/release/voices.pl | |
parent | 66fa5b578904f7df61293d6ce5c08966b5db13db (diff) | |
download | rockbox-36a81eb9b98ac7b1dff0d6658dba0255dd579f5f.tar.gz rockbox-36a81eb9b98ac7b1dff0d6658dba0255dd579f5f.zip |
Reverted r23881 mistakenly committed to branch.v3.4
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23882 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/release/voices.pl')
-rwxr-xr-x | tools/release/voices.pl | 44 |
1 files changed, 34 insertions, 10 deletions
diff --git a/tools/release/voices.pl b/tools/release/voices.pl index d51c3208df..056f6d06a9 100755 --- a/tools/release/voices.pl +++ b/tools/release/voices.pl | |||
@@ -1,7 +1,6 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | 2 | ||
3 | require "../builds.pm"; | 3 | $version="3.4"; |
4 | my $version = $publicrelease; | ||
5 | 4 | ||
6 | my $verbose; | 5 | my $verbose; |
7 | if($ARGV[0] eq "-v") { | 6 | if($ARGV[0] eq "-v") { |
@@ -17,7 +16,7 @@ if($ARGV[0]) { | |||
17 | 16 | ||
18 | # made once for all targets | 17 | # made once for all targets |
19 | sub runone { | 18 | sub runone { |
20 | my ($dir)=@_; | 19 | my ($dir, $select, $newl)=@_; |
21 | my $a; | 20 | my $a; |
22 | 21 | ||
23 | if($doonly && ($doonly ne $dir)) { | 22 | if($doonly && ($doonly ne $dir)) { |
@@ -29,7 +28,7 @@ sub runone { | |||
29 | print "Build in buildv-$dir\n" if($verbose); | 28 | print "Build in buildv-$dir\n" if($verbose); |
30 | 29 | ||
31 | # build the manual(s) | 30 | # build the manual(s) |
32 | $a = buildit($dir); | 31 | $a = buildit($dir, $select, $newl); |
33 | 32 | ||
34 | chdir ".."; | 33 | chdir ".."; |
35 | 34 | ||
@@ -51,11 +50,13 @@ sub runone { | |||
51 | }; | 50 | }; |
52 | 51 | ||
53 | sub buildit { | 52 | sub buildit { |
54 | my ($model)=@_; | 53 | my ($dir, $select, $newl)=@_; |
55 | 54 | ||
56 | `rm -rf * >/dev/null 2>&1`; | 55 | `rm -rf * >/dev/null 2>&1`; |
57 | 56 | ||
58 | my $c = "../tools/configure --type=av --target=$model --language=0 --tts=f"; | 57 | # V (voice), F (festival), L (lame), [blank] (English) |
58 | my $c = sprintf('printf "%s\n%sa\nv\n\n\nf\n\n" | ../tools/configure', | ||
59 | $select, $newl?'\n':""); | ||
59 | 60 | ||
60 | print "C: $c\n" if($verbose); | 61 | print "C: $c\n" if($verbose); |
61 | `$c`; | 62 | `$c`; |
@@ -74,8 +75,31 @@ my $pool="$home/tmp/rockbox-voices-$version/voice-pool"; | |||
74 | `rm -f $pool/*`; | 75 | `rm -f $pool/*`; |
75 | $ENV{'POOL'}="$pool"; | 76 | $ENV{'POOL'}="$pool"; |
76 | 77 | ||
77 | for my $b (&stablebuilds) { | 78 | runone("player", "player", 1); |
78 | next if ($builds{$b}{configname} < 3); # no variants | 79 | runone("recorder", "recorder", 1); |
80 | runone("fmrecorder", "fmrecorder", 1); | ||
81 | runone("recorderv2", "recorderv2", 1); | ||
82 | runone("ondiosp", "ondiosp", 1); | ||
83 | runone("ondiofm", "ondiofm", 1); | ||
84 | runone("h100", "h100"); | ||
85 | runone("h120", "h120"); | ||
86 | runone("h300", "h300"); | ||
87 | runone("ipodcolor", "ipodcolor"); | ||
88 | runone("ipodnano", "ipodnano"); | ||
89 | runone("ipod4gray", "ipod4g"); | ||
90 | runone("ipodvideo", "ipodvideo", 1); | ||
91 | runone("ipod3g", "ipod3g"); | ||
92 | runone("ipod1g2g", "ipod1g2g"); | ||
93 | runone("iaudiox5", "x5"); | ||
94 | runone("iaudiom5", "m5"); | ||
95 | runone("iaudiom3", "m3"); | ||
96 | runone("ipodmini2g", "ipodmini2g"); | ||
97 | runone("ipodmini1g", "ipodmini"); | ||
98 | runone("h10", "h10"); | ||
99 | runone("h10_5gb", "h10_5gb"); | ||
100 | runone("gigabeatf", "gigabeatf"); | ||
101 | runone("sansae200", "e200"); | ||
102 | runone("sansac200", "c200"); | ||
103 | runone("mrobe100", "mrobe100"); | ||
104 | #runone("cowond2", "cowond2"); | ||
79 | 105 | ||
80 | runone($b); | ||
81 | } | ||