Redo r29168. Use similar but existing mechanism in the action system which seems...
[kugel-rb.git] / tools / builds.pm
blob626886cf02fd79fe62566c1a25c742ee558b2b1e
1 $publicrelease="3.7.1";
2 $manualrelease="3.7.1";
3 $voicerelease="3.7";
4 $releasedate="November 26, 2010";
5 $releasenotes="/wiki/ReleaseNotes371";
7 %builds = (
8 'archosav300' => {
9 name => 'Archos AV300',
10 status => 1, # 3=stable, 2=unstable, 1=unusable
12 'archosfmrecorder' => {
13 name => 'Archos FM Recorder',
14 status => 3,
15 ram => 2,
17 'archosondiofm' => {
18 name => 'Archos Ondio FM',
19 status => 3,
20 ram => 2,
22 'archosondiosp' => {
23 name => 'Archos Ondio SP',
24 status => 3,
25 ram => 2,
27 'archosplayer' => {
28 name => 'Archos Player/Studio',
29 status => 3,
30 ram => 2,
32 'archosrecorder' => {
33 name => 'Archos Recorder v1',
34 status => 3,
35 ram => 2,
37 'archosrecorderv2' => {
38 name => 'Archos Recorder v2',
39 status => 3,
40 ram => 2,
41 manual => "archosfmrecorder",
43 'cowond2' => {
44 name => 'Cowon D2',
45 status => 2,
46 manual => 'cowond2',
48 'gigabeatfx' => {
49 name => 'Toshiba Gigabeat F/X',
50 status => 3,
52 'gigabeats' => {
53 name => 'Toshiba Gigabeat S',
54 status => 2,
56 'gogearhdd1630' => {
57 name => 'Philips GoGear HDD1630',
58 status => 2,
60 'gogearhdd6330' => {
61 name => 'Philips GoGear HDD6330',
62 status => 2,
64 'gogearsa9200' => {
65 name => 'Philips GoGear SA9200',
66 status => 2,
68 'iaudio7' => {
69 name => 'iAudio 7',
70 status => 1,
72 'iaudiom3' => {
73 name => 'iAudio M3',
74 status => 3,
76 'iaudiom5' => {
77 name => 'iAudio M5',
78 status => 3,
80 'iaudiox5' => {
81 name => 'iAudio X5',
82 status => 3,
84 'ipod1g2g' => {
85 name => 'iPod 1st and 2nd gen',
86 status => 3,
88 'ipod3g' => {
89 name => 'iPod 3rd gen',
90 status => 3,
92 'ipod4g' => {
93 name => 'iPod 4th gen Grayscale',
94 status => 3,
96 'ipodcolor' => {
97 name => 'iPod color/Photo',
98 status => 3,
100 'ipodmini1g' => {
101 name => 'iPod Mini 1st gen',
102 status => 3,
104 'ipodmini2g' => {
105 name => 'iPod Mini 2nd gen',
106 status => 3,
107 icon => 'ipodmini1g',
108 manual => 'ipodmini1g',
110 'ipodnano1g' => {
111 name => 'iPod Nano 1st gen',
112 status => 3,
114 'ipodnano2g' => {
115 name => 'iPod Nano 2nd gen',
116 status => 3,
118 'ipodvideo' => {
119 name => 'iPod Video',
120 status => 3,
122 'iriverh10' => {
123 name => 'iriver H10 20GB',
124 status => 3,
126 'iriverh10_5gb' => {
127 name => 'iriver H10 5GB',
128 status => 3,
130 'iriverh100' => {
131 name => 'iriver H100/115',
132 status => 3,
134 'iriverh120' => {
135 name => 'iriver H120/140',
136 status => 3,
137 icon => 'iriverh100',
138 manual => 'iriverh100',
140 'iriverh300' => {
141 name => 'iriver H320/340',
142 status => 3,
144 'iriverifp7xx' => {
145 name => 'iriver iFP-7xx',
146 status => 1,
148 'logikdax' => {
149 name => 'Logik DAX',
150 status => 1,
152 'lyreproto1' => {
153 name => 'Lyre Prototype 1',
154 status => 1,
156 'mini2440' => {
157 name => 'Mini 2440',
158 status => 1,
160 'meizum3' => {
161 name => 'Meizu M3',
162 status => 1,
164 'meizum6sl' => {
165 name => 'Meizu M6SL',
166 status => 1,
168 'meizum6sp' => {
169 name => 'Meizu M6SP',
170 status => 1,
172 'mrobe100' => {
173 name => 'Olympus M-Robe 100',
174 status => 3,
176 'mrobe500' => {
177 name => 'Olympus M-Robe 500',
178 status => 2,
180 'ondavx747' => {
181 name => 'Onda VX747',
182 status => 1,
184 'ondavx747p' => {
185 name => 'Onda VX747+',
186 status => 1,
188 'ondavx767' => {
189 name => 'Onda VX767',
190 status => 1,
192 'ondavx777' => {
193 name => 'Onda VX777',
194 status => 1,
196 'samsungyh820' => {
197 name => 'Samsung YH-820',
198 status => 2,
200 'samsungyh920' => {
201 name => 'Samsung YH-920',
202 status => 2,
204 'samsungyh925' => {
205 name => 'Samsung YH-925',
206 status => 2,
208 'samsungyps3' => {
209 name => 'Samsung YP-S3',
210 status => 1,
212 'sansac100' => {
213 name => 'SanDisk Sansa c100',
214 status => 1,
216 'sansac200' => {
217 name => 'SanDisk Sansa c200',
218 status => 3,
220 'sansac200v2' => {
221 name => 'SanDisk Sansa c200 v2',
222 status => 2,
223 icon => 'sansac200',
225 'sansaclip' => {
226 name => 'SanDisk Sansa Clip v1',
227 status => 3,
229 'sansaclipv2' => {
230 name => 'SanDisk Sansa Clip v2',
231 status => 3,
232 icon => 'sansaclip',
234 'sansaclipplus' => {
235 name => 'SanDisk Sansa Clip+',
236 status => 3,
238 'sansae200' => {
239 name => 'SanDisk Sansa e200',
240 status => 3,
242 'sansae200v2' => {
243 name => 'SanDisk Sansa e200 v2',
244 status => 3,
245 icon => 'sansae200',
247 'sansafuze' => {
248 name => 'SanDisk Sansa Fuze',
249 status => 3,
251 'sansafuzev2' => {
252 name => 'SanDisk Sansa Fuze v2',
253 status => 3,
254 icon => 'sansafuze',
256 'sansam200' => {
257 name => 'SanDisk Sansa m200',
258 status => 1,
260 'sansam200v4' => {
261 name => 'SanDisk Sansa m200 v4',
262 status => 1,
264 'sansaview' => {
265 name => 'SanDisk Sansa View',
266 status => 1,
268 'tatungtpj1022' => {
269 name => 'Tatung Elio TPJ-1022',
270 status => 1,
272 'vibe500' => {
273 name => 'Packard Bell Vibe 500',
274 status => 3,
276 'zenvision' => {
277 name => 'Creative Zen Vision',
278 status => 1,
280 'zenvisionm30gb' => {
281 name => 'Creative Zen Vision:M 30GB',
282 status => 1,
284 'zenvisionm60gb' => {
285 name => 'Creative Zen Vision:M 60GB',
286 status => 1,
288 'mpiohd200' => {
289 name => 'MPIO HD200',
290 status => 2,
292 'mpiohd300' => {
293 name => 'MPIO HD300',
294 status => 2,
298 sub manualname {
299 my $m = shift @_;
301 return $builds{$m}{manual} ? "$builds{$m}{manual}" : $m;
304 sub voicename {
305 my $m = shift @_;
307 return $builds{$m}{voice} ? "$builds{$m}{voice}" : $m;
310 sub byname {
311 return uc $builds{$a}{name} cmp uc $builds{$b}{name};
314 sub usablebuilds {
315 my @list;
317 for my $b (sort byname keys %builds) {
318 push @list, $b if ($builds{$b}{status} >= 2);
321 return @list;
324 sub stablebuilds {
325 my @list;
327 for my $b (sort byname keys %builds) {
328 push @list, $b if ($builds{$b}{status} >= 3);
331 return @list;