The threading model should be set from configure, not config.h.
[maemo-rb.git] / tools / builds.pm
blob676ed08a4e089c3903c40f371cdc201dfaf290b4
1 $publicrelease="3.11.2";
2 $manualrelease="3.11.2";
3 $voicerelease="3.11.2";
4 $releasedate="April 12, 2012";
5 $releasenotes="/wiki/ReleaseNotes3112";
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 'hifimanhm60x' => {
69 name => 'HiFiMAN HM-60x',
70 status => 2,
72 'hifimanhm801' => {
73 name => 'HiFiMAN HM-801',
74 status => 2,
76 'iaudio7' => {
77 name => 'iAudio 7',
78 status => 1,
80 'iaudiom3' => {
81 name => 'iAudio M3',
82 status => 3,
84 'iaudiom5' => {
85 name => 'iAudio M5',
86 status => 3,
88 'iaudiox5' => {
89 name => 'iAudio X5',
90 status => 3,
92 'ipod1g2g' => {
93 name => 'iPod 1st and 2nd gen',
94 status => 3,
96 'ipod3g' => {
97 name => 'iPod 3rd gen',
98 status => 3,
100 'ipod4g' => {
101 name => 'iPod 4th gen Grayscale',
102 status => 3,
104 'ipodcolor' => {
105 name => 'iPod color/Photo',
106 status => 3,
108 'ipodmini1g' => {
109 name => 'iPod Mini 1st gen',
110 status => 3,
112 'ipodmini2g' => {
113 name => 'iPod Mini 2nd gen',
114 status => 3,
115 icon => 'ipodmini1g',
116 manual => 'ipodmini1g',
118 'ipodnano1g' => {
119 name => 'iPod Nano 1st gen',
120 status => 3,
122 'ipodnano2g' => {
123 name => 'iPod Nano 2nd gen',
124 status => 2,
126 'ipodvideo' => {
127 name => 'iPod Video',
128 status => 3,
130 'iriverh10' => {
131 name => 'iriver H10 20GB',
132 status => 3,
134 'iriverh10_5gb' => {
135 name => 'iriver H10 5GB',
136 status => 3,
138 'iriverh100' => {
139 name => 'iriver H100/115',
140 status => 3,
142 'iriverh120' => {
143 name => 'iriver H120/140',
144 status => 3,
145 icon => 'iriverh100',
146 manual => 'iriverh100',
148 'iriverh300' => {
149 name => 'iriver H320/340',
150 status => 3,
152 'iriverifp7xx' => {
153 name => 'iriver iFP-7xx',
154 status => 1,
156 'logikdax' => {
157 name => 'Logik DAX',
158 status => 1,
160 'lyreproto1' => {
161 name => 'Lyre Prototype 1',
162 status => 1,
164 'mini2440' => {
165 name => 'Mini 2440',
166 status => 1,
168 'meizum3' => {
169 name => 'Meizu M3',
170 status => 1,
172 'meizum6sl' => {
173 name => 'Meizu M6SL',
174 status => 1,
176 'meizum6sp' => {
177 name => 'Meizu M6SP',
178 status => 1,
180 'mrobe100' => {
181 name => 'Olympus M-Robe 100',
182 status => 2,
184 'mrobe500' => {
185 name => 'Olympus M-Robe 500',
186 status => 2,
188 'ondavx747' => {
189 name => 'Onda VX747',
190 status => 1,
192 'ondavx747p' => {
193 name => 'Onda VX747+',
194 status => 1,
196 'ondavx767' => {
197 name => 'Onda VX767',
198 status => 1,
200 'ondavx777' => {
201 name => 'Onda VX777',
202 status => 1,
204 'rk27generic' => {
205 name => 'Rockchip rk27xx',
206 status => 1,
208 'samsungyh820' => {
209 name => 'Samsung YH-820',
210 status => 2,
212 'samsungyh920' => {
213 name => 'Samsung YH-920',
214 status => 2,
216 'samsungyh925' => {
217 name => 'Samsung YH-925',
218 status => 2,
220 'samsungypr0' => {
221 name => 'Samsung YP-R0',
222 status => 2,
224 'samsungyps3' => {
225 name => 'Samsung YP-S3',
226 status => 1,
228 'sansac100' => {
229 name => 'SanDisk Sansa c100',
230 status => 1,
232 'sansac200' => {
233 name => 'SanDisk Sansa c200',
234 status => 3,
236 'sansac200v2' => {
237 name => 'SanDisk Sansa c200 v2',
238 status => 3,
239 icon => 'sansac200',
241 'sansaclip' => {
242 name => 'SanDisk Sansa Clip v1',
243 status => 3,
245 'sansaclipv2' => {
246 name => 'SanDisk Sansa Clip v2',
247 status => 3,
248 icon => 'sansaclip',
250 'sansaclipplus' => {
251 name => 'SanDisk Sansa Clip+',
252 status => 3,
254 'sansaclipzip' => {
255 name => 'SanDisk Sansa Clip Zip',
256 status => 2,
258 'sansae200' => {
259 name => 'SanDisk Sansa e200',
260 status => 3,
262 'sansae200v2' => {
263 name => 'SanDisk Sansa e200 v2',
264 status => 3,
265 icon => 'sansae200',
267 'sansafuze' => {
268 name => 'SanDisk Sansa Fuze',
269 status => 3,
271 'sansafuzev2' => {
272 name => 'SanDisk Sansa Fuze v2',
273 status => 3,
274 icon => 'sansafuze',
276 'sansafuzeplus' => {
277 name => 'SanDisk Sansa Fuze+',
278 status => 2,
279 icon => 'sansafuzeplus',
281 'sansam200' => {
282 name => 'SanDisk Sansa m200',
283 status => 1,
285 'sansam200v4' => {
286 name => 'SanDisk Sansa m200 v4',
287 status => 1,
289 'sansaview' => {
290 name => 'SanDisk Sansa View',
291 status => 1,
293 'tatungtpj1022' => {
294 name => 'Tatung Elio TPJ-1022',
295 status => 1,
297 'vibe500' => {
298 name => 'Packard Bell Vibe 500',
299 status => 3,
301 'zenvision' => {
302 name => 'Creative Zen Vision',
303 status => 1,
305 'zenvisionm30gb' => {
306 name => 'Creative Zen Vision:M 30GB',
307 status => 1,
309 'zenvisionm60gb' => {
310 name => 'Creative Zen Vision:M 60GB',
311 status => 1,
313 'mpiohd200' => {
314 name => 'MPIO HD200',
315 status => 2,
317 'mpiohd300' => {
318 name => 'MPIO HD300',
319 status => 3,
323 sub manualname {
324 my $m = shift @_;
326 return $builds{$m}{manual} ? "$builds{$m}{manual}" : $m;
329 sub voicename {
330 my $m = shift @_;
332 return $builds{$m}{voice} ? "$builds{$m}{voice}" : $m;
335 sub byname {
336 return uc $builds{$a}{name} cmp uc $builds{$b}{name};
339 sub usablebuilds {
340 my @list;
342 for my $b (sort byname keys %builds) {
343 push @list, $b if ($builds{$b}{status} >= 2);
346 return @list;
349 sub stablebuilds {
350 my @list;
352 for my $b (sort byname keys %builds) {
353 push @list, $b if ($builds{$b}{status} >= 3);
356 return @list;
359 sub allbuilds {
360 my @list;
362 for my $b (sort byname keys %builds) {
363 push @list, $b if ($builds{$b}{status} >= 1);
366 return @list;