diff options
author | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 12:20:56 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 12:20:56 +0000 |
commit | 9d4f0761b91b8f8dcd376864586d6fa85765c597 (patch) | |
tree | e68444c1e5c15f038ba850d10489d3cd4e558eed /tools | |
parent | c0740440ac9c830f59e8b5c9b3a8aecc49766506 (diff) | |
download | rockbox-9d4f0761b91b8f8dcd376864586d6fa85765c597.tar.gz rockbox-9d4f0761b91b8f8dcd376864586d6fa85765c597.zip |
Added missing file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23884 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r-- | tools/builds.pm | 626 |
1 files changed, 626 insertions, 0 deletions
diff --git a/tools/builds.pm b/tools/builds.pm new file mode 100644 index 0000000000..3653600efc --- /dev/null +++ b/tools/builds.pm | |||
@@ -0,0 +1,626 @@ | |||
1 | $publicrelease="3.4"; | ||
2 | $releasedate="September 24, 2009"; | ||
3 | $releasenotes="/wiki/ReleaseNotes34"; | ||
4 | |||
5 | %builds = ( | ||
6 | 'archosav300' => { | ||
7 | name => 'Archos AV300', | ||
8 | status => 1, # 3=stable, 2=unstable, 1=unusable | ||
9 | }, | ||
10 | 'archosfmrecorder' => { | ||
11 | name => 'Archos FM Recorder', | ||
12 | status => 3, | ||
13 | }, | ||
14 | 'archosondiofm' => { | ||
15 | name => 'Archos Ondio FM', | ||
16 | status => 3, | ||
17 | }, | ||
18 | 'archosondiosp' => { | ||
19 | name => 'Archos Ondio SP', | ||
20 | status => 3, | ||
21 | }, | ||
22 | 'archosplayer' => { | ||
23 | name => 'Archos Player/Studio', | ||
24 | status => 3, | ||
25 | }, | ||
26 | 'archosrecorder' => { | ||
27 | name => 'Archos Recorder v1', | ||
28 | status => 3, | ||
29 | }, | ||
30 | 'archosrecorderv2' => { | ||
31 | name => 'Archos Recorder v2', | ||
32 | status => 3, | ||
33 | }, | ||
34 | 'cowond2' => { | ||
35 | name => 'Cowon D2', | ||
36 | status => 2, | ||
37 | }, | ||
38 | 'gigabeatfx' => { | ||
39 | name => 'Toshiba Gigabeat F/X', | ||
40 | status => 3, | ||
41 | }, | ||
42 | 'gigabeats' => { | ||
43 | name => 'Toshiba Gigabeat S', | ||
44 | status => 2, | ||
45 | }, | ||
46 | 'gogearhdd1630' => { | ||
47 | name => 'Philips GoGear HDD1630', | ||
48 | status => 1, | ||
49 | }, | ||
50 | 'gogearsa9200' => { | ||
51 | name => 'Philips GoGear SA9200', | ||
52 | status => 1, | ||
53 | }, | ||
54 | 'iaudio7' => { | ||
55 | name => 'iAudio 7', | ||
56 | status => 1, | ||
57 | }, | ||
58 | 'iaudiom3' => { | ||
59 | name => 'iAudio M3', | ||
60 | status => 3, | ||
61 | }, | ||
62 | 'iaudiom5' => { | ||
63 | name => 'iAudio M5', | ||
64 | status => 3, | ||
65 | }, | ||
66 | 'iaudiox5' => { | ||
67 | name => 'iAudio X5', | ||
68 | status => 3, | ||
69 | }, | ||
70 | 'ipod1g2g' => { | ||
71 | name => 'iPod 1st and 2nd gen', | ||
72 | status => 3, | ||
73 | }, | ||
74 | 'ipod3g' => { | ||
75 | name => 'iPod 3rd gen', | ||
76 | status => 3, | ||
77 | }, | ||
78 | 'ipod4g' => { | ||
79 | name => 'iPod 4th gen Grayscale', | ||
80 | status => 3, | ||
81 | }, | ||
82 | 'ipodcolor' => { | ||
83 | name => 'iPod color/Photo', | ||
84 | status => 3, | ||
85 | }, | ||
86 | 'ipodmini1g' => { | ||
87 | name => 'iPod Mini 1st gen', | ||
88 | status => 3, | ||
89 | manual => 'ipodmini2g', | ||
90 | }, | ||
91 | 'ipodmini2g' => { | ||
92 | name => 'iPod Mini 2nd gen', | ||
93 | status => 3, | ||
94 | icon => 'ipodmini1g', | ||
95 | }, | ||
96 | 'ipodnano1g' => { | ||
97 | name => 'iPod Nano 1st gen', | ||
98 | status => 3, | ||
99 | }, | ||
100 | 'ipodnano2g' => { | ||
101 | name => 'iPod Nano 2nd gen', | ||
102 | status => 3, | ||
103 | }, | ||
104 | 'ipodvideo' => { | ||
105 | name => 'iPod Video 30GB', | ||
106 | status => 3, | ||
107 | }, | ||
108 | 'ipodvideo64mb' => { | ||
109 | name => 'iPod Video 60/80GB', | ||
110 | status => 3, | ||
111 | icon => 'ipodvideo', | ||
112 | manual => 'ipodvideo', | ||
113 | voice => 'ipodvideo', | ||
114 | configname => 'ipodvideo', | ||
115 | ram => 64 | ||
116 | }, | ||
117 | 'iriverh10' => { | ||
118 | name => 'iriver H10 20GB', | ||
119 | status => 3, | ||
120 | }, | ||
121 | 'iriverh10_5gb' => { | ||
122 | name => 'iriver H10 5GB', | ||
123 | status => 3, | ||
124 | manual => 'iriverh10', | ||
125 | }, | ||
126 | 'iriverh100' => { | ||
127 | name => 'iriver H100/115', | ||
128 | status => 3, | ||
129 | }, | ||
130 | 'iriverh120' => { | ||
131 | name => 'iriver H120/140', | ||
132 | status => 3, | ||
133 | icon => 'iriverh100', | ||
134 | manual => 'iriverh100', | ||
135 | }, | ||
136 | 'iriverh300' => { | ||
137 | name => 'iriver H320/340', | ||
138 | status => 3, | ||
139 | }, | ||
140 | 'iriverifp7xx' => { | ||
141 | name => 'iriver iFP-7xx', | ||
142 | status => 1, | ||
143 | }, | ||
144 | 'logikdax' => { | ||
145 | name => 'Logik DAX', | ||
146 | status => 1, | ||
147 | }, | ||
148 | 'lyreproto1' => { | ||
149 | name => 'Lyre Prototype 1', | ||
150 | status => 1, | ||
151 | }, | ||
152 | 'mini2440' => { | ||
153 | name => 'Mini 2440', | ||
154 | status => 1, | ||
155 | }, | ||
156 | 'meizum3' => { | ||
157 | name => 'Meizu M3', | ||
158 | status => 1, | ||
159 | }, | ||
160 | 'meizum6sl' => { | ||
161 | name => 'Meizu M6SL', | ||
162 | status => 1, | ||
163 | }, | ||
164 | 'meizum6sp' => { | ||
165 | name => 'Meizu M6SP', | ||
166 | status => 1, | ||
167 | }, | ||
168 | 'mrobe100' => { | ||
169 | name => 'Olympus M-Robe 100', | ||
170 | status => 3, | ||
171 | }, | ||
172 | 'mrobe500' => { | ||
173 | name => 'Olympus M-Robe 500', | ||
174 | status => 2, | ||
175 | }, | ||
176 | 'ondavx747' => { | ||
177 | name => 'Onda VX747', | ||
178 | status => 1, | ||
179 | }, | ||
180 | 'ondavx747p' => { | ||
181 | name => 'Onda VX747+', | ||
182 | status => 1, | ||
183 | }, | ||
184 | 'ondavx767' => { | ||
185 | name => 'Onda VX767', | ||
186 | status => 1, | ||
187 | }, | ||
188 | 'ondavx777' => { | ||
189 | name => 'Onda VX777', | ||
190 | status => 1, | ||
191 | }, | ||
192 | 'samsungyh820' => { | ||
193 | name => 'Samsung YH-820', | ||
194 | status => 2, | ||
195 | }, | ||
196 | 'samsungyh920' => { | ||
197 | name => 'Samsung YH-920', | ||
198 | status => 2, | ||
199 | }, | ||
200 | 'samsungyh925' => { | ||
201 | name => 'Samsung YH-925', | ||
202 | status => 2, | ||
203 | }, | ||
204 | 'samsungyps3' => { | ||
205 | name => 'Samsung YP-S3', | ||
206 | status => 1, | ||
207 | }, | ||
208 | 'sansac100' => { | ||
209 | name => 'SanDisk Sansa c100', | ||
210 | status => 1, | ||
211 | }, | ||
212 | 'sansac200' => { | ||
213 | name => 'SanDisk Sansa c200', | ||
214 | status => 3, | ||
215 | }, | ||
216 | 'sansac200v2' => { | ||
217 | name => 'SanDisk Sansa c200 v2', | ||
218 | status => 1, | ||
219 | icon => 'sansac200', | ||
220 | }, | ||
221 | 'sansaclip' => { | ||
222 | name => 'SanDisk Sansa Clip', | ||
223 | status => 2, | ||
224 | }, | ||
225 | 'sansaclipv2' => { | ||
226 | name => 'SanDisk Sansa Clip v2', | ||
227 | status => 1, | ||
228 | }, | ||
229 | 'sansae200' => { | ||
230 | name => 'SanDisk Sansa e200', | ||
231 | status => 3, | ||
232 | }, | ||
233 | 'sansae200r' => { | ||
234 | name => 'SanDisk Sansa e200R', | ||
235 | status => 3, | ||
236 | icon => 'sansae200', | ||
237 | }, | ||
238 | 'sansae200v2' => { | ||
239 | name => 'SanDisk Sansa e200 v2', | ||
240 | status => 3, | ||
241 | icon => 'sansae200', | ||
242 | }, | ||
243 | 'sansafuze' => { | ||
244 | name => 'SanDisk Sansa Fuze', | ||
245 | status => 2, | ||
246 | }, | ||
247 | 'sansam200' => { | ||
248 | name => 'SanDisk Sansa m200', | ||
249 | status => 1, | ||
250 | }, | ||
251 | 'sansam200v4' => { | ||
252 | name => 'SanDisk Sansa m200 v4', | ||
253 | status => 1, | ||
254 | }, | ||
255 | 'sansaview' => { | ||
256 | name => 'SanDisk Sansa View', | ||
257 | status => 1, | ||
258 | }, | ||
259 | 'tatungtpj1022' => { | ||
260 | name => 'Tatung Elio TPJ-1022', | ||
261 | status => 1, | ||
262 | }, | ||
263 | 'zenvision' => { | ||
264 | name => 'Creative Zen Vision', | ||
265 | status => 1, | ||
266 | }, | ||
267 | 'zenvisionm30gb' => { | ||
268 | name => 'Creative Zen Vision:M 30GB', | ||
269 | status => 1, | ||
270 | }, | ||
271 | 'zenvisionm60gb' => { | ||
272 | name => 'Creative Zen Vision:M 60GB', | ||
273 | status => 1, | ||
274 | }, | ||
275 | ); | ||
276 | |||
277 | sub manualname { | ||
278 | my $m = shift @_; | ||
279 | |||
280 | return $builds{$m}{manual} ? "$builds{$m}{manual}" : $m; | ||
281 | } | ||
282 | |||
283 | sub voicename { | ||
284 | my $m = shift @_; | ||
285 | |||
286 | return $builds{$m}{voice} ? "$builds{$m}{voice}" : $m; | ||
287 | } | ||
288 | |||
289 | sub byname { | ||
290 | return $builds{$a}{name} cmp $builds{$b}{name}; | ||
291 | } | ||
292 | |||
293 | sub usablebuilds { | ||
294 | my @list; | ||
295 | |||
296 | for my $b (sort byname keys %builds) { | ||
297 | push @list, $b if ($builds{$b}{status} >= 2); | ||
298 | } | ||
299 | |||
300 | return @list; | ||
301 | } | ||
302 | |||
303 | sub stablebuilds { | ||
304 | my @list; | ||
305 | |||
306 | for my $b (sort byname keys %builds) { | ||
307 | push @list, $b if ($builds{$b}{status} >= 3); | ||
308 | } | ||
309 | |||
310 | return @list; | ||
311 | } | ||
312 | |||
313 | 1; | ||
314 | $publicrelease="3.4"; | ||
315 | $releasedate="September 24, 2009"; | ||
316 | $releasenotes="/wiki/ReleaseNotes34"; | ||
317 | |||
318 | %builds = ( | ||
319 | 'archosav300' => { | ||
320 | name => 'Archos AV300', | ||
321 | status => 1, # 3=stable, 2=unstable, 1=unusable | ||
322 | }, | ||
323 | 'archosfmrecorder' => { | ||
324 | name => 'Archos FM Recorder', | ||
325 | status => 3, | ||
326 | }, | ||
327 | 'archosondiofm' => { | ||
328 | name => 'Archos Ondio FM', | ||
329 | status => 3, | ||
330 | }, | ||
331 | 'archosondiosp' => { | ||
332 | name => 'Archos Ondio SP', | ||
333 | status => 3, | ||
334 | }, | ||
335 | 'archosplayer' => { | ||
336 | name => 'Archos Player/Studio', | ||
337 | status => 3, | ||
338 | }, | ||
339 | 'archosrecorder' => { | ||
340 | name => 'Archos Recorder v1', | ||
341 | status => 3, | ||
342 | }, | ||
343 | 'archosrecorderv2' => { | ||
344 | name => 'Archos Recorder v2', | ||
345 | status => 3, | ||
346 | }, | ||
347 | 'cowond2' => { | ||
348 | name => 'Cowon D2', | ||
349 | status => 2, | ||
350 | }, | ||
351 | 'gigabeatfx' => { | ||
352 | name => 'Toshiba Gigabeat F/X', | ||
353 | status => 3, | ||
354 | }, | ||
355 | 'gigabeats' => { | ||
356 | name => 'Toshiba Gigabeat S', | ||
357 | status => 2, | ||
358 | }, | ||
359 | 'gogearhdd1630' => { | ||
360 | name => 'Philips GoGear HDD1630', | ||
361 | status => 1, | ||
362 | }, | ||
363 | 'gogearsa9200' => { | ||
364 | name => 'Philips GoGear SA9200', | ||
365 | status => 1, | ||
366 | }, | ||
367 | 'iaudio7' => { | ||
368 | name => 'iAudio 7', | ||
369 | status => 1, | ||
370 | }, | ||
371 | 'iaudiom3' => { | ||
372 | name => 'iAudio M3', | ||
373 | status => 3, | ||
374 | }, | ||
375 | 'iaudiom5' => { | ||
376 | name => 'iAudio M5', | ||
377 | status => 3, | ||
378 | }, | ||
379 | 'iaudiox5' => { | ||
380 | name => 'iAudio X5', | ||
381 | status => 3, | ||
382 | }, | ||
383 | 'ipod1g2g' => { | ||
384 | name => 'iPod 1st and 2nd gen', | ||
385 | status => 3, | ||
386 | }, | ||
387 | 'ipod3g' => { | ||
388 | name => 'iPod 3rd gen', | ||
389 | status => 3, | ||
390 | }, | ||
391 | 'ipod4g' => { | ||
392 | name => 'iPod 4th gen Grayscale', | ||
393 | status => 3, | ||
394 | }, | ||
395 | 'ipodcolor' => { | ||
396 | name => 'iPod color/Photo', | ||
397 | status => 3, | ||
398 | }, | ||
399 | 'ipodmini1g' => { | ||
400 | name => 'iPod Mini 1st gen', | ||
401 | status => 3, | ||
402 | manual => 'ipodmini2g', | ||
403 | }, | ||
404 | 'ipodmini2g' => { | ||
405 | name => 'iPod Mini 2nd gen', | ||
406 | status => 3, | ||
407 | icon => 'ipodmini1g', | ||
408 | }, | ||
409 | 'ipodnano1g' => { | ||
410 | name => 'iPod Nano 1st gen', | ||
411 | status => 3, | ||
412 | }, | ||
413 | 'ipodnano2g' => { | ||
414 | name => 'iPod Nano 2nd gen', | ||
415 | status => 3, | ||
416 | }, | ||
417 | 'ipodvideo' => { | ||
418 | name => 'iPod Video 30GB', | ||
419 | status => 3, | ||
420 | }, | ||
421 | 'ipodvideo64mb' => { | ||
422 | name => 'iPod Video 60/80GB', | ||
423 | status => 3, | ||
424 | icon => 'ipodvideo', | ||
425 | manual => 'ipodvideo', | ||
426 | voice => 'ipodvideo', | ||
427 | configname => 'ipodvideo', | ||
428 | ram => 64 | ||
429 | }, | ||
430 | 'iriverh10' => { | ||
431 | name => 'iriver H10 20GB', | ||
432 | status => 3, | ||
433 | }, | ||
434 | 'iriverh10_5gb' => { | ||
435 | name => 'iriver H10 5GB', | ||
436 | status => 3, | ||
437 | manual => 'iriverh10', | ||
438 | }, | ||
439 | 'iriverh100' => { | ||
440 | name => 'iriver H100/115', | ||
441 | status => 3, | ||
442 | }, | ||
443 | 'iriverh120' => { | ||
444 | name => 'iriver H120/140', | ||
445 | status => 3, | ||
446 | icon => 'iriverh100', | ||
447 | manual => 'iriverh100', | ||
448 | }, | ||
449 | 'iriverh300' => { | ||
450 | name => 'iriver H320/340', | ||
451 | status => 3, | ||
452 | }, | ||
453 | 'iriverifp7xx' => { | ||
454 | name => 'iriver iFP-7xx', | ||
455 | status => 1, | ||
456 | }, | ||
457 | 'logikdax' => { | ||
458 | name => 'Logik DAX', | ||
459 | status => 1, | ||
460 | }, | ||
461 | 'lyreproto1' => { | ||
462 | name => 'Lyre Prototype 1', | ||
463 | status => 1, | ||
464 | }, | ||
465 | 'mini2440' => { | ||
466 | name => 'Mini 2440', | ||
467 | status => 1, | ||
468 | }, | ||
469 | 'meizum3' => { | ||
470 | name => 'Meizu M3', | ||
471 | status => 1, | ||
472 | }, | ||
473 | 'meizum6sl' => { | ||
474 | name => 'Meizu M6SL', | ||
475 | status => 1, | ||
476 | }, | ||
477 | 'meizum6sp' => { | ||
478 | name => 'Meizu M6SP', | ||
479 | status => 1, | ||
480 | }, | ||
481 | 'mrobe100' => { | ||
482 | name => 'Olympus M-Robe 100', | ||
483 | status => 3, | ||
484 | }, | ||
485 | 'mrobe500' => { | ||
486 | name => 'Olympus M-Robe 500', | ||
487 | status => 2, | ||
488 | }, | ||
489 | 'ondavx747' => { | ||
490 | name => 'Onda VX747', | ||
491 | status => 1, | ||
492 | }, | ||
493 | 'ondavx747p' => { | ||
494 | name => 'Onda VX747+', | ||
495 | status => 1, | ||
496 | }, | ||
497 | 'ondavx767' => { | ||
498 | name => 'Onda VX767', | ||
499 | status => 1, | ||
500 | }, | ||
501 | 'ondavx777' => { | ||
502 | name => 'Onda VX777', | ||
503 | status => 1, | ||
504 | }, | ||
505 | 'samsungyh820' => { | ||
506 | name => 'Samsung YH-820', | ||
507 | status => 2, | ||
508 | }, | ||
509 | 'samsungyh920' => { | ||
510 | name => 'Samsung YH-920', | ||
511 | status => 2, | ||
512 | }, | ||
513 | 'samsungyh925' => { | ||
514 | name => 'Samsung YH-925', | ||
515 | status => 2, | ||
516 | }, | ||
517 | 'samsungyps3' => { | ||
518 | name => 'Samsung YP-S3', | ||
519 | status => 1, | ||
520 | }, | ||
521 | 'sansac100' => { | ||
522 | name => 'SanDisk Sansa c100', | ||
523 | status => 1, | ||
524 | }, | ||
525 | 'sansac200' => { | ||
526 | name => 'SanDisk Sansa c200', | ||
527 | status => 3, | ||
528 | }, | ||
529 | 'sansac200v2' => { | ||
530 | name => 'SanDisk Sansa c200 v2', | ||
531 | status => 1, | ||
532 | icon => 'sansac200', | ||
533 | }, | ||
534 | 'sansaclip' => { | ||
535 | name => 'SanDisk Sansa Clip', | ||
536 | status => 2, | ||
537 | }, | ||
538 | 'sansaclipv2' => { | ||
539 | name => 'SanDisk Sansa Clip v2', | ||
540 | status => 1, | ||
541 | }, | ||
542 | 'sansae200' => { | ||
543 | name => 'SanDisk Sansa e200', | ||
544 | status => 3, | ||
545 | }, | ||
546 | 'sansae200r' => { | ||
547 | name => 'SanDisk Sansa e200R', | ||
548 | status => 3, | ||
549 | icon => 'sansae200', | ||
550 | }, | ||
551 | 'sansae200v2' => { | ||
552 | name => 'SanDisk Sansa e200 v2', | ||
553 | status => 3, | ||
554 | icon => 'sansae200', | ||
555 | }, | ||
556 | 'sansafuze' => { | ||
557 | name => 'SanDisk Sansa Fuze', | ||
558 | status => 2, | ||
559 | }, | ||
560 | 'sansam200' => { | ||
561 | name => 'SanDisk Sansa m200', | ||
562 | status => 1, | ||
563 | }, | ||
564 | 'sansam200v4' => { | ||
565 | name => 'SanDisk Sansa m200 v4', | ||
566 | status => 1, | ||
567 | }, | ||
568 | 'sansaview' => { | ||
569 | name => 'SanDisk Sansa View', | ||
570 | status => 1, | ||
571 | }, | ||
572 | 'tatungtpj1022' => { | ||
573 | name => 'Tatung Elio TPJ-1022', | ||
574 | status => 1, | ||
575 | }, | ||
576 | 'zenvision' => { | ||
577 | name => 'Creative Zen Vision', | ||
578 | status => 1, | ||
579 | }, | ||
580 | 'zenvisionm30gb' => { | ||
581 | name => 'Creative Zen Vision:M 30GB', | ||
582 | status => 1, | ||
583 | }, | ||
584 | 'zenvisionm60gb' => { | ||
585 | name => 'Creative Zen Vision:M 60GB', | ||
586 | status => 1, | ||
587 | }, | ||
588 | ); | ||
589 | |||
590 | sub manualname { | ||
591 | my $m = shift @_; | ||
592 | |||
593 | return $builds{$m}{manual} ? "$builds{$m}{manual}" : $m; | ||
594 | } | ||
595 | |||
596 | sub voicename { | ||
597 | my $m = shift @_; | ||
598 | |||
599 | return $builds{$m}{voice} ? "$builds{$m}{voice}" : $m; | ||
600 | } | ||
601 | |||
602 | sub byname { | ||
603 | return $builds{$a}{name} cmp $builds{$b}{name}; | ||
604 | } | ||
605 | |||
606 | sub usablebuilds { | ||
607 | my @list; | ||
608 | |||
609 | for my $b (sort byname keys %builds) { | ||
610 | push @list, $b if ($builds{$b}{status} >= 2); | ||
611 | } | ||
612 | |||
613 | return @list; | ||
614 | } | ||
615 | |||
616 | sub stablebuilds { | ||
617 | my @list; | ||
618 | |||
619 | for my $b (sort byname keys %builds) { | ||
620 | push @list, $b if ($builds{$b}{status} >= 3); | ||
621 | } | ||
622 | |||
623 | return @list; | ||
624 | } | ||
625 | |||
626 | 1; | ||