diff options
Diffstat (limited to 'tools/release')
-rwxr-xr-x | tools/release/bins.pl | 51 | ||||
-rwxr-xr-x | tools/release/manuals.pl | 41 | ||||
-rwxr-xr-x | tools/release/sims.pl | 66 | ||||
-rwxr-xr-x | tools/release/voices.pl | 44 |
4 files changed, 46 insertions, 156 deletions
diff --git a/tools/release/bins.pl b/tools/release/bins.pl index b96c7d863c..343315808b 100755 --- a/tools/release/bins.pl +++ b/tools/release/bins.pl | |||
@@ -1,6 +1,8 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | 2 | ||
3 | $version="3.4"; | 3 | require "../builds.pm"; |
4 | |||
5 | $version=$publicrelease; | ||
4 | 6 | ||
5 | my $verbose; | 7 | my $verbose; |
6 | if($ARGV[0] eq "-v") { | 8 | if($ARGV[0] eq "-v") { |
@@ -73,7 +75,7 @@ sub fonts { | |||
73 | chdir "build-$dir"; | 75 | chdir "build-$dir"; |
74 | print "Build fonts in build-$dir\n" if($verbose); | 76 | print "Build fonts in build-$dir\n" if($verbose); |
75 | 77 | ||
76 | # build the manual(s) | 78 | # build the fonts |
77 | $a = buildfonts($dir, $confnum, $newl); | 79 | $a = buildfonts($dir, $confnum, $newl); |
78 | 80 | ||
79 | chdir ".."; | 81 | chdir ".."; |
@@ -98,8 +100,8 @@ sub buildit { | |||
98 | 100 | ||
99 | `rm -rf * >/dev/null 2>&1`; | 101 | `rm -rf * >/dev/null 2>&1`; |
100 | 102 | ||
101 | my $c = sprintf('printf "%s\n%sn\n" | ../tools/configure', | 103 | my $ram = $extra ? $extra : -1; |
102 | $confnum, $extra); | 104 | my $c = "../tools/configure --type=n --target=$confnum --ram=$ram"; |
103 | 105 | ||
104 | print "C: $c\n" if($verbose); | 106 | print "C: $c\n" if($verbose); |
105 | `$c`; | 107 | `$c`; |
@@ -119,8 +121,8 @@ sub buildfonts { | |||
119 | 121 | ||
120 | `rm -rf * >/dev/null 2>&1`; | 122 | `rm -rf * >/dev/null 2>&1`; |
121 | 123 | ||
122 | my $c = sprintf("printf '%s\n%sn\n' | ../tools/configure", | 124 | my $ram = $extra ? $extra : -1; |
123 | $confnum, $newl?'\n':''); | 125 | my $c = "../tools/configure --type=n --target=$confnum --ram=$ram"; |
124 | 126 | ||
125 | print "C: $c\n" if($verbose); | 127 | print "C: $c\n" if($verbose); |
126 | `$c`; | 128 | `$c`; |
@@ -133,37 +135,10 @@ sub buildfonts { | |||
133 | print "cd tools && make\n" if($verbose); | 135 | print "cd tools && make\n" if($verbose); |
134 | `(cd tools && make ) >/dev/null 2>&1`; | 136 | `(cd tools && make ) >/dev/null 2>&1`; |
135 | 137 | ||
136 | runone("player", "player", '\n'); | 138 | for my $b (&stablebuilds) { |
137 | runone("recorder", "recorder", '\n'); | 139 | my $configname = $builds{b}{configname} ? $builds{b}{configname} : $b; |
138 | runone("recorder8mb", "recorder", '8\n'); | 140 | runone($b, $configname, $builds{b}{ram}); |
139 | runone("fmrecorder", "fmrecorder", '\n'); | 141 | } |
140 | runone("fmrecorder8mb", "fmrecorder", '8\n'); | ||
141 | runone("recorderv2", "recorderv2", '\n'); | ||
142 | runone("ondiosp", "ondiosp", '\n'); | ||
143 | runone("ondiofm", "ondiofm", '\n'); | ||
144 | runone("h100", "h100"); | ||
145 | runone("h120", "h120"); | ||
146 | runone("h300", "h300"); | ||
147 | runone("ipodcolor", "ipodcolor"); | ||
148 | runone("ipodnano", "ipodnano"); | ||
149 | runone("ipod4gray", "ipod4g"); | ||
150 | runone("ipodvideo", "ipodvideo", '32\n'); | ||
151 | runone("ipodvideo64mb", "ipodvideo", '64\n'); | ||
152 | runone("ipod3g", "ipod3g"); | ||
153 | runone("ipod1g2g", "ipod1g2g"); | ||
154 | runone("iaudiox5", "x5"); | ||
155 | runone("iaudiom5", "m5"); | ||
156 | runone("iaudiom3", "m3"); | ||
157 | runone("ipodmini1g", "ipodmini"); | ||
158 | runone("ipodmini2g", "ipodmini2g"); | ||
159 | runone("h10", "h10"); | ||
160 | runone("h10_5gb", "h10_5gb"); | ||
161 | runone("gigabeatf", "gigabeatf"); | ||
162 | runone("sansae200", "e200"); | ||
163 | runone("sansac200", "c200"); | ||
164 | #runone("mrobe500", "mrobe500"); | ||
165 | runone("mrobe100", "mrobe100"); | ||
166 | runone("cowond2", "cowond2"); | ||
167 | fonts("fonts", "x5"); | ||
168 | 142 | ||
143 | fonts("fonts", "iaudiox5"); | ||
169 | 144 | ||
diff --git a/tools/release/manuals.pl b/tools/release/manuals.pl index 02783d356b..7b24ea4880 100755 --- a/tools/release/manuals.pl +++ b/tools/release/manuals.pl | |||
@@ -1,6 +1,7 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | 2 | ||
3 | $version="3.4"; | 3 | require "../builds.pm"; |
4 | my $version = $publicrelease; | ||
4 | 5 | ||
5 | my $verbose; | 6 | my $verbose; |
6 | if($ARGV[0] eq "-v") { | 7 | if($ARGV[0] eq "-v") { |
@@ -16,7 +17,7 @@ if($ARGV[0]) { | |||
16 | 17 | ||
17 | # made once for all targets | 18 | # made once for all targets |
18 | sub runone { | 19 | sub runone { |
19 | my ($dir, $conf, $nl)=@_; | 20 | my ($dir)=@_; |
20 | my $a; | 21 | my $a; |
21 | 22 | ||
22 | if($doonly && ($doonly ne $dir)) { | 23 | if($doonly && ($doonly ne $dir)) { |
@@ -28,7 +29,7 @@ sub runone { | |||
28 | print "Build in buildm-$dir\n" if($verbose); | 29 | print "Build in buildm-$dir\n" if($verbose); |
29 | 30 | ||
30 | # build the manual(s) | 31 | # build the manual(s) |
31 | $a = buildit($dir, $conf, $nl); | 32 | $a = buildit($dir); |
32 | 33 | ||
33 | chdir ".."; | 34 | chdir ".."; |
34 | 35 | ||
@@ -53,12 +54,11 @@ sub runone { | |||
53 | }; | 54 | }; |
54 | 55 | ||
55 | sub buildit { | 56 | sub buildit { |
56 | my ($target, $confnum, $newl)=@_; | 57 | my ($target)=@_; |
57 | 58 | ||
58 | `rm -rf * >/dev/null 2>&1`; | 59 | `rm -rf * >/dev/null 2>&1`; |
59 | 60 | ||
60 | my $c = sprintf('printf "%s\n%sm\n" | ../tools/configure', | 61 | my $c = "../tools/configure --target=$target --type=m"; |
61 | $confnum, $newl?'\n':''); | ||
62 | 62 | ||
63 | print "C: $c\n" if($verbose); | 63 | print "C: $c\n" if($verbose); |
64 | `$c`; | 64 | `$c`; |
@@ -73,27 +73,8 @@ sub buildit { | |||
73 | # run make in tools first to make sure they're up-to-date | 73 | # run make in tools first to make sure they're up-to-date |
74 | `(cd tools && make ) >/dev/null 2>&1`; | 74 | `(cd tools && make ) >/dev/null 2>&1`; |
75 | 75 | ||
76 | runone("player", "player", 1); | 76 | for my $b (&stablebuilds) { |
77 | runone("recorder", "recorder", 1); | 77 | next if ($builds{$b}{configname} < 3); # no variants |
78 | runone("fmrecorder", "fmrecorder", 1); | 78 | |
79 | runone("recorderv2", "recorderv2", 1); | 79 | runone($b); |
80 | runone("ondiosp", "ondiosp", 1); | 80 | } |
81 | runone("ondiofm", "ondiofm", 1); | ||
82 | runone("h100", "h100"); | ||
83 | #runone("h120", 9); | ||
84 | runone("h300", "h300"); | ||
85 | runone("ipodcolor", "ipodcolor"); | ||
86 | runone("ipodnano", "ipodnano"); | ||
87 | runone("ipod4gray", "ipod4g"); | ||
88 | runone("ipodvideo", "ipodvideo", 1); | ||
89 | runone("ipod3g", "ipod3g"); | ||
90 | runone("ipod1g2g", "ipod1g2g"); | ||
91 | runone("iaudiox5", "x5"); | ||
92 | runone("iaudiom5", "m5"); | ||
93 | runone("ipodmini2g", "ipodmini2g"); | ||
94 | runone("h10", "h10"); | ||
95 | runone("h10_5gb", "h10_5gb"); | ||
96 | runone("gigabeatf", "gigabeatf"); | ||
97 | runone("sansae200", "e200"); | ||
98 | runone("sansac200", "c200"); | ||
99 | runone("mrobe100", "mrobe100"); | ||
diff --git a/tools/release/sims.pl b/tools/release/sims.pl index 0481234189..79eeb5652a 100755 --- a/tools/release/sims.pl +++ b/tools/release/sims.pl | |||
@@ -4,6 +4,8 @@ use File::Basename; | |||
4 | use File::Path; | 4 | use File::Path; |
5 | use Cwd; | 5 | use Cwd; |
6 | 6 | ||
7 | require "../builds.pm"; | ||
8 | |||
7 | my $verbose, $strip, $update, $doonly, $version; | 9 | my $verbose, $strip, $update, $doonly, $version; |
8 | my @doonly; | 10 | my @doonly; |
9 | 11 | ||
@@ -88,7 +90,7 @@ if (!defined($version)) { | |||
88 | 90 | ||
89 | # made once for all targets | 91 | # made once for all targets |
90 | sub runone { | 92 | sub runone { |
91 | my ($dir, $confnum, $extra)=@_; | 93 | my ($dir)=@_; |
92 | my $a; | 94 | my $a; |
93 | 95 | ||
94 | if(@doonly > 0 && !grep(/^$dir$/, @doonly)) { | 96 | if(@doonly > 0 && !grep(/^$dir$/, @doonly)) { |
@@ -100,7 +102,7 @@ sub runone { | |||
100 | print "Build in build-$dir\n" if($verbose); | 102 | print "Build in build-$dir\n" if($verbose); |
101 | 103 | ||
102 | # build the target | 104 | # build the target |
103 | $a = buildit($dir, $confnum, $extra); | 105 | $a = buildit($dir); |
104 | 106 | ||
105 | if ($strip) { | 107 | if ($strip) { |
106 | print "Stripping binaries\n" if ($verbose); | 108 | print "Stripping binaries\n" if ($verbose); |
@@ -149,12 +151,11 @@ sub runone { | |||
149 | }; | 151 | }; |
150 | 152 | ||
151 | sub buildit { | 153 | sub buildit { |
152 | my ($target, $confnum, $extra)=@_; | 154 | my ($target)=@_; |
153 | 155 | ||
154 | `rm -rf * >/dev/null 2>&1`; | 156 | `rm -rf * >/dev/null 2>&1`; |
155 | 157 | ||
156 | my $c = sprintf('printf "%s\n%ss\n" | ../tools/configure', | 158 | my $c = "../tools/configure --type=s --target=$target"; |
157 | $confnum, $extra); | ||
158 | 159 | ||
159 | print "C: $c\n" if($verbose); | 160 | print "C: $c\n" if($verbose); |
160 | `$c`; | 161 | `$c`; |
@@ -166,52 +167,9 @@ sub buildit { | |||
166 | `make install 2>/dev/null`; | 167 | `make install 2>/dev/null`; |
167 | } | 168 | } |
168 | 169 | ||
169 | runone("player", "player", '\n'); | 170 | for my $b (keys %builds) { |
170 | runone("recorder", "recorder", '\n'); | 171 | next if ($builds{$b}{status} < 3); # only stable builds |
171 | #runone("recorder8mb", "recorder", '8\n'); | 172 | next if ($builds{$b}{configname} < 3); # no memsize variants |
172 | runone("fmrecorder", "fmrecorder", '\n'); | 173 | |
173 | #runone("fmrecorder8mb", "fmrecorder", '8\n'); | 174 | runone($b); |
174 | runone("recorderv2", "recorderv2", '\n'); | 175 | } |
175 | runone("ondiosp", "ondiosp", '\n'); | ||
176 | runone("ondiofm", "ondiofm", '\n'); | ||
177 | runone("h100", "h100"); | ||
178 | runone("h120", "h120"); | ||
179 | runone("h300", "h300"); | ||
180 | runone("ipodcolor", "ipodcolor"); | ||
181 | runone("ipodnano", "ipodnano"); | ||
182 | runone("ipod4gray", "ipod4g"); | ||
183 | runone("ipodvideo", "ipodvideo", '32\n'); | ||
184 | #runone("ipodvideo64mb", "ipodvideo", '64\n'); | ||
185 | runone("ipod3g", "ipod3g"); | ||
186 | runone("ipod1g2g", "ipod1g2g"); | ||
187 | runone("iaudiox5", "x5"); | ||
188 | runone("iaudiom5", "m5"); | ||
189 | runone("iaudiom3", "m3"); | ||
190 | runone("ipodmini1g", "ipodmini"); | ||
191 | runone("ipodmini2g", "ipodmini2g"); | ||
192 | runone("h10", "h10"); | ||
193 | runone("h10_5gb", "h10_5gb"); | ||
194 | runone("gigabeatf", "gigabeatf"); | ||
195 | runone("gigabeats", "gigabeats"); | ||
196 | runone("sansae200", "e200"); | ||
197 | runone("sansae200v2", "e200v2"); | ||
198 | runone("sansac200", "c200"); | ||
199 | runone("mrobe500", "mrobe500"); | ||
200 | runone("mrobe100", "mrobe100"); | ||
201 | runone("cowond2", "cowond2"); | ||
202 | runone("clip", "clip"); | ||
203 | runone("zvm30gb", "creativezvm30gb"); | ||
204 | runone("zvm60gb", "creativezvm60gb"); | ||
205 | runone("zenvision", "creativezenvision"); | ||
206 | runone("hdd1630", "hdd1630"); | ||
207 | runone("fuze", "fuze"); | ||
208 | runone("m200v4", "m200v4"); | ||
209 | runone("sa9200", "sa9200"); | ||
210 | runone("sansac200v2", "c200v2"); | ||
211 | runone("yh820", "yh_820"); | ||
212 | runone("yh920", "yh_920"); | ||
213 | runone("yh925", "yh_925"); | ||
214 | runone("ondavx747", "ondavx747"); | ||
215 | runone("ondavx747p", "ondavx747p"); | ||
216 | runone("ondavx777", "ondavx777"); | ||
217 | runone("ifp7xx", "ifp7xx"); | ||
diff --git a/tools/release/voices.pl b/tools/release/voices.pl index 056f6d06a9..d51c3208df 100755 --- a/tools/release/voices.pl +++ b/tools/release/voices.pl | |||
@@ -1,6 +1,7 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | 2 | ||
3 | $version="3.4"; | 3 | require "../builds.pm"; |
4 | my $version = $publicrelease; | ||
4 | 5 | ||
5 | my $verbose; | 6 | my $verbose; |
6 | if($ARGV[0] eq "-v") { | 7 | if($ARGV[0] eq "-v") { |
@@ -16,7 +17,7 @@ if($ARGV[0]) { | |||
16 | 17 | ||
17 | # made once for all targets | 18 | # made once for all targets |
18 | sub runone { | 19 | sub runone { |
19 | my ($dir, $select, $newl)=@_; | 20 | my ($dir)=@_; |
20 | my $a; | 21 | my $a; |
21 | 22 | ||
22 | if($doonly && ($doonly ne $dir)) { | 23 | if($doonly && ($doonly ne $dir)) { |
@@ -28,7 +29,7 @@ sub runone { | |||
28 | print "Build in buildv-$dir\n" if($verbose); | 29 | print "Build in buildv-$dir\n" if($verbose); |
29 | 30 | ||
30 | # build the manual(s) | 31 | # build the manual(s) |
31 | $a = buildit($dir, $select, $newl); | 32 | $a = buildit($dir); |
32 | 33 | ||
33 | chdir ".."; | 34 | chdir ".."; |
34 | 35 | ||
@@ -50,13 +51,11 @@ sub runone { | |||
50 | }; | 51 | }; |
51 | 52 | ||
52 | sub buildit { | 53 | sub buildit { |
53 | my ($dir, $select, $newl)=@_; | 54 | my ($model)=@_; |
54 | 55 | ||
55 | `rm -rf * >/dev/null 2>&1`; | 56 | `rm -rf * >/dev/null 2>&1`; |
56 | 57 | ||
57 | # V (voice), F (festival), L (lame), [blank] (English) | 58 | my $c = "../tools/configure --type=av --target=$model --language=0 --tts=f"; |
58 | my $c = sprintf('printf "%s\n%sa\nv\n\n\nf\n\n" | ../tools/configure', | ||
59 | $select, $newl?'\n':""); | ||
60 | 59 | ||
61 | print "C: $c\n" if($verbose); | 60 | print "C: $c\n" if($verbose); |
62 | `$c`; | 61 | `$c`; |
@@ -75,31 +74,8 @@ my $pool="$home/tmp/rockbox-voices-$version/voice-pool"; | |||
75 | `rm -f $pool/*`; | 74 | `rm -f $pool/*`; |
76 | $ENV{'POOL'}="$pool"; | 75 | $ENV{'POOL'}="$pool"; |
77 | 76 | ||
78 | runone("player", "player", 1); | 77 | for my $b (&stablebuilds) { |
79 | runone("recorder", "recorder", 1); | 78 | next if ($builds{$b}{configname} < 3); # no variants |
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"); | ||
105 | 79 | ||
80 | runone($b); | ||
81 | } | ||