summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2009-08-22 14:05:20 +0000
committerDominik Wenger <domonoky@googlemail.com>2009-08-22 14:05:20 +0000
commitda358058cbe74d558734fb6312f21bf092f61e05 (patch)
tree3e97585b6d7b6c9bd03937ad2da9c481735988db
parent20b0dd2788794521ac7f3eec1065b7de99e4a5aa (diff)
downloadrockbox-da358058cbe74d558734fb6312f21bf092f61e05.tar.gz
rockbox-da358058cbe74d558734fb6312f21bf092f61e05.zip
rbutil: use target-id from rockbox-info.txt and remove it from rbutil.ini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22463 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/rbutilqt/base/rbsettings.cpp1
-rw-r--r--rbutil/rbutilqt/base/rbsettings.h1
-rw-r--r--rbutil/rbutilqt/base/voicefile.cpp1
-rw-r--r--rbutil/rbutilqt/base/voicefile.h1
-rw-r--r--rbutil/rbutilqt/createvoicewindow.cpp1
-rw-r--r--rbutil/rbutilqt/rbutil.ini38
6 files changed, 1 insertions, 42 deletions
diff --git a/rbutil/rbutilqt/base/rbsettings.cpp b/rbutil/rbutilqt/base/rbsettings.cpp
index 412554905a..40b2d02bfc 100644
--- a/rbutil/rbutilqt/base/rbsettings.cpp
+++ b/rbutil/rbutilqt/base/rbsettings.cpp
@@ -55,7 +55,6 @@ const static struct {
55 { RbSettings::CurName, ":platform:/name", "" }, 55 { RbSettings::CurName, ":platform:/name", "" },
56 { RbSettings::CurBuildserverModel, ":platform:/buildserver_modelname", "" }, 56 { RbSettings::CurBuildserverModel, ":platform:/buildserver_modelname", "" },
57 { RbSettings::CurConfigureModel, ":platform:/configure_modelname", "" }, 57 { RbSettings::CurConfigureModel, ":platform:/configure_modelname", "" },
58 { RbSettings::CurTargetId, ":platform:/targetid", "" },
59}; 58};
60 59
61// user settings 60// user settings
diff --git a/rbutil/rbutilqt/base/rbsettings.h b/rbutil/rbutilqt/base/rbsettings.h
index 7325f87f8b..e178be0e52 100644
--- a/rbutil/rbutilqt/base/rbsettings.h
+++ b/rbutil/rbutilqt/base/rbsettings.h
@@ -94,7 +94,6 @@ class RbSettings : public QObject
94 CurName, 94 CurName,
95 CurBuildserverModel, 95 CurBuildserverModel,
96 CurConfigureModel, 96 CurConfigureModel,
97 CurTargetId,
98 }; 97 };
99 98
100 //! call this to flush the user Settings 99 //! call this to flush the user Settings
diff --git a/rbutil/rbutilqt/base/voicefile.cpp b/rbutil/rbutilqt/base/voicefile.cpp
index 6eff308cd1..8edb240698 100644
--- a/rbutil/rbutilqt/base/voicefile.cpp
+++ b/rbutil/rbutilqt/base/voicefile.cpp
@@ -57,6 +57,7 @@ bool VoiceFileCreator::createVoiceFile()
57 QString target = info.target(); 57 QString target = info.target();
58 QString features = info.features(); 58 QString features = info.features();
59 QString version = info.version(); 59 QString version = info.version();
60 m_targetid = info.targetID().toInt();
60 version = version.left(version.indexOf("-")).remove("r"); 61 version = version.left(version.indexOf("-")).remove("r");
61 62
62 //prepare download url 63 //prepare download url
diff --git a/rbutil/rbutilqt/base/voicefile.h b/rbutil/rbutilqt/base/voicefile.h
index 26c4a408f7..72f905e4f2 100644
--- a/rbutil/rbutilqt/base/voicefile.h
+++ b/rbutil/rbutilqt/base/voicefile.h
@@ -40,7 +40,6 @@ public:
40 bool createVoiceFile(); 40 bool createVoiceFile();
41 41
42 void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; } 42 void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; }
43 void setTargetId(int id){m_targetid = id;}
44 void setLang(QString name){m_lang =name;} 43 void setLang(QString name){m_lang =name;}
45 void setWavtrimThreshold(int th){m_wavtrimThreshold = th;} 44 void setWavtrimThreshold(int th){m_wavtrimThreshold = th;}
46 45
diff --git a/rbutil/rbutilqt/createvoicewindow.cpp b/rbutil/rbutilqt/createvoicewindow.cpp
index 268e9f50e7..e5514ac3e1 100644
--- a/rbutil/rbutilqt/createvoicewindow.cpp
+++ b/rbutil/rbutilqt/createvoicewindow.cpp
@@ -55,7 +55,6 @@ void CreateVoiceWindow::accept()
55 55
56 //configure voicecreator 56 //configure voicecreator
57 voicecreator->setMountPoint(RbSettings::value(RbSettings::Mountpoint).toString()); 57 voicecreator->setMountPoint(RbSettings::value(RbSettings::Mountpoint).toString());
58 voicecreator->setTargetId(RbSettings::value(RbSettings::CurTargetId).toInt());
59 voicecreator->setLang(lang); 58 voicecreator->setLang(lang);
60 voicecreator->setWavtrimThreshold(wvThreshold); 59 voicecreator->setWavtrimThreshold(wvThreshold);
61 60
diff --git a/rbutil/rbutilqt/rbutil.ini b/rbutil/rbutilqt/rbutil.ini
index 61d14fa6a5..12bd4563ef 100644
--- a/rbutil/rbutilqt/rbutil.ini
+++ b/rbutil/rbutilqt/rbutil.ini
@@ -66,7 +66,6 @@ bootloadername=
66manualname= 66manualname=
67brand=Archos 67brand=Archos
68configure_modelname=player 68configure_modelname=player
69targetid=1
70encoder=lame 69encoder=lame
71 70
72[recorder] 71[recorder]
@@ -77,7 +76,6 @@ bootloadername=
77manualname= 76manualname=
78brand=Archos 77brand=Archos
79configure_modelname=recorder 78configure_modelname=recorder
80targetid=2
81encoder=lame 79encoder=lame
82 80
83[recorder8mb] 81[recorder8mb]
@@ -88,7 +86,6 @@ bootloadername=
88manualname=rockbox-recorder 86manualname=rockbox-recorder
89brand=Archos 87brand=Archos
90configure_modelname=recorder 88configure_modelname=recorder
91targetid=2
92encoder=lame 89encoder=lame
93 90
94[recorderv2] 91[recorderv2]
@@ -99,7 +96,6 @@ bootloadername=
99manualname= 96manualname=
100brand=Archos 97brand=Archos
101configure_modelname=recorderv2 98configure_modelname=recorderv2
102targetid=4
103encoder=lame 99encoder=lame
104 100
105[fmrecorder] 101[fmrecorder]
@@ -110,7 +106,6 @@ bootloadername=
110manualname= 106manualname=
111brand=Archos 107brand=Archos
112configure_modelname=fmrecorder 108configure_modelname=fmrecorder
113targetid=3
114encoder=lame 109encoder=lame
115 110
116[fmrecorder8mb] 111[fmrecorder8mb]
@@ -121,7 +116,6 @@ bootloadername=
121manualname=rockbox-fmrecorder 116manualname=rockbox-fmrecorder
122brand=Archos 117brand=Archos
123configure_modelname=fmrecorder 118configure_modelname=fmrecorder
124targetid=3
125encoder=lame 119encoder=lame
126 120
127[ondiosp] 121[ondiosp]
@@ -132,7 +126,6 @@ bootloadername=
132manualname= 126manualname=
133brand=Archos 127brand=Archos
134configure_modelname=ondiosp 128configure_modelname=ondiosp
135targetid=7
136encoder=lame 129encoder=lame
137 130
138[ondiofm] 131[ondiofm]
@@ -143,7 +136,6 @@ bootloadername=
143manualname= 136manualname=
144brand=Archos 137brand=Archos
145configure_modelname=ondiofm 138configure_modelname=ondiofm
146targetid=8
147encoder=lame 139encoder=lame
148 140
149[h100] 141[h100]
@@ -156,7 +148,6 @@ manualname=rockbox-h100
156brand=Iriver 148brand=Iriver
157usbid=0x10063001 149usbid=0x10063001
158configure_modelname=h100 150configure_modelname=h100
159targetid=11
160encoder=rbspeex 151encoder=rbspeex
161 152
162[h120] 153[h120]
@@ -169,7 +160,6 @@ manualname=rockbox-h100
169brand=Iriver 160brand=Iriver
170usbid=0x10063002 161usbid=0x10063002
171configure_modelname=h120 162configure_modelname=h120
172targetid=9
173encoder=rbspeex 163encoder=rbspeex
174 164
175[h300] 165[h300]
@@ -182,7 +172,6 @@ manualname=rockbox-h300
182brand=Iriver 172brand=Iriver
183usbid=0x10063003 173usbid=0x10063003
184configure_modelname=h300 174configure_modelname=h300
185targetid=10
186encoder=rbspeex 175encoder=rbspeex
187 176
188[h10_5gbums] 177[h10_5gbums]
@@ -195,7 +184,6 @@ manualname=
195brand=Iriver 184brand=Iriver
196usbid=0x41022002 185usbid=0x41022002
197configure_modelname=h10_5gb 186configure_modelname=h10_5gb
198targetid=24
199encoder=rbspeex 187encoder=rbspeex
200 188
201[h10_5gbmtp] 189[h10_5gbmtp]
@@ -208,7 +196,6 @@ manualname=
208brand=Iriver 196brand=Iriver
209usbid=0x41022105 197usbid=0x41022105
210configure_modelname=h10_5gb 198configure_modelname=h10_5gb
211targetid=24
212encoder=rbspeex 199encoder=rbspeex
213 200
214[h10] 201[h10]
@@ -222,7 +209,6 @@ brand=Iriver
222usbid=0x0b7000ba 209usbid=0x0b7000ba
223usberror=0x41022101 210usberror=0x41022101
224configure_modelname=h10 211configure_modelname=h10
225targetid=22
226encoder=rbspeex 212encoder=rbspeex
227 213
228[ipod1g2g] 214[ipod1g2g]
@@ -233,7 +219,6 @@ bootloadername=/ipod/bootloader-ipod1g2g.ipod
233manualname= 219manualname=
234brand=Apple 220brand=Apple
235configure_modelname=ipod1g2g 221configure_modelname=ipod1g2g
236targetid=29
237encoder=rbspeex 222encoder=rbspeex
238 223
239[ipodcolor] 224[ipodcolor]
@@ -244,7 +229,6 @@ bootloadername=/ipod/bootloader-ipodcolor.ipod
244manualname= 229manualname=
245brand=Apple 230brand=Apple
246configure_modelname=ipodcolor 231configure_modelname=ipodcolor
247targetid=13
248encoder=rbspeex 232encoder=rbspeex
249 233
250[ipodnano] 234[ipodnano]
@@ -255,7 +239,6 @@ bootloadername=/ipod/bootloader-ipodnano.ipod
255manualname= 239manualname=
256brand=Apple 240brand=Apple
257configure_modelname=ipodnano 241configure_modelname=ipodnano
258targetid=14
259encoder=rbspeex 242encoder=rbspeex
260 243
261[ipod4gray] 244[ipod4gray]
@@ -266,7 +249,6 @@ bootloadername=/ipod/bootloader-ipod4g.ipod
266manualname= 249manualname=
267brand=Apple 250brand=Apple
268configure_modelname=ipod4g 251configure_modelname=ipod4g
269targetid=17
270encoder=rbspeex 252encoder=rbspeex
271 253
272[ipodvideo] 254[ipodvideo]
@@ -277,7 +259,6 @@ bootloadername=/ipod/bootloader-ipodvideo.ipod
277manualname= 259manualname=
278brand=Apple 260brand=Apple
279configure_modelname=ipodvideo 261configure_modelname=ipodvideo
280targetid=15
281encoder=rbspeex 262encoder=rbspeex
282 263
283[ipodvideo64mb] 264[ipodvideo64mb]
@@ -288,7 +269,6 @@ bootloadername=/ipod/bootloader-ipodvideo.ipod
288manualname= 269manualname=
289brand=Apple 270brand=Apple
290configure_modelname=ipodvideo 271configure_modelname=ipodvideo
291targetid=15
292encoder=rbspeex 272encoder=rbspeex
293 273
294[ipod3g] 274[ipod3g]
@@ -300,7 +280,6 @@ manualname=
300brand=Apple 280brand=Apple
301usbid=0x05ac1201 281usbid=0x05ac1201
302configure_modelname=ipod3g 282configure_modelname=ipod3g
303targetid=16
304encoder=rbspeex 283encoder=rbspeex
305 284
306[ipodmini1g] 285[ipodmini1g]
@@ -311,7 +290,6 @@ bootloadername=/ipod/bootloader-ipodmini.ipod
311manualname=rockbox-ipodmini2g 290manualname=rockbox-ipodmini2g
312brand=Apple 291brand=Apple
313configure_modelname=ipodmini 292configure_modelname=ipodmini
314targetid=18
315encoder=rbspeex 293encoder=rbspeex
316 294
317[ipodmini2g] 295[ipodmini2g]
@@ -322,7 +300,6 @@ bootloadername=/ipod/bootloader-ipodmini2g.ipod
322manualname=rockbox-ipodmini2g 300manualname=rockbox-ipodmini2g
323brand=Apple 301brand=Apple
324configure_modelname=ipodmini2g 302configure_modelname=ipodmini2g
325targetid=21
326encoder=rbspeex 303encoder=rbspeex
327 304
328[iaudiox5] 305[iaudiox5]
@@ -335,7 +312,6 @@ manualname=
335brand=Cowon 312brand=Cowon
336usbid=0x0e210510, 0x0e210513 313usbid=0x0e210510, 0x0e210513
337configure_modelname=x5 314configure_modelname=x5
338targetid=12
339encoder=rbspeex 315encoder=rbspeex
340 316
341[iaudiox5v] 317[iaudiox5v]
@@ -347,7 +323,6 @@ bootloaderfile=/FIRMWARE/x5v_fw.bin
347manualname= 323manualname=
348brand=Cowon 324brand=Cowon
349configure_modelname=x5 325configure_modelname=x5
350targetid=12
351encoder=rbspeex 326encoder=rbspeex
352 327
353[iaudiom5] 328[iaudiom5]
@@ -360,7 +335,6 @@ manualname=
360brand=Cowon 335brand=Cowon
361usbid=0x0e210520 336usbid=0x0e210520
362configure_modelname=m5 337configure_modelname=m5
363targetid=28
364encoder=rbspeex 338encoder=rbspeex
365 339
366[iaudiom3] 340[iaudiom3]
@@ -373,7 +347,6 @@ manualname=
373brand=Cowon 347brand=Cowon
374usbid=0x0e210500 348usbid=0x0e210500
375configure_modelname=m3 349configure_modelname=m3
376targetid=37
377encoder=rbspeex 350encoder=rbspeex
378 351
379[gigabeatf] 352[gigabeatf]
@@ -386,7 +359,6 @@ manualname=
386brand=Toshiba 359brand=Toshiba
387usbid=0x09300009 360usbid=0x09300009
388configure_modelname=gigabeatf 361configure_modelname=gigabeatf
389targetid=20
390encoder=rbspeex 362encoder=rbspeex
391 363
392[sansae200] 364[sansae200]
@@ -399,7 +371,6 @@ brand=Sandisk
399usbid=0x07817421 371usbid=0x07817421
400usberror=0x07810720 372usberror=0x07810720
401configure_modelname=e200 373configure_modelname=e200
402targetid=23
403encoder=rbspeex 374encoder=rbspeex
404 375
405[sansac200] 376[sansac200]
@@ -411,7 +382,6 @@ manualname=
411brand=Sandisk 382brand=Sandisk
412usbid=0x07817450, 0x07817451 383usbid=0x07817450, 0x07817451
413configure_modelname=c200 384configure_modelname=c200
414targetid=30
415encoder=rbspeex 385encoder=rbspeex
416 386
417[sansae200v2] 387[sansae200v2]
@@ -425,7 +395,6 @@ brand=Sandisk
425usbid=0x07817423 395usbid=0x07817423
426usberror=0x07817422 396usberror=0x07817422
427configure_modelname=e200v2 397configure_modelname=e200v2
428targetid=51
429encoder=rbspeex 398encoder=rbspeex
430 399
431[sansafuze] 400[sansafuze]
@@ -439,7 +408,6 @@ brand=Sandisk
439usbid=0x078174c1 408usbid=0x078174c1
440usberror=0x078174c0 409usberror=0x078174c0
441configure_modelname=fuze 410configure_modelname=fuze
442targetid=53
443encoder=rbspeex 411encoder=rbspeex
444 412
445[sansam200v4] 413[sansam200v4]
@@ -453,7 +421,6 @@ brand=Sandisk
453usbid= 421usbid=
454usberror= 422usberror=
455configure_modelname=m200v4 423configure_modelname=m200v4
456targetid=52
457encoder=rbspeex 424encoder=rbspeex
458 425
459[sansaclip] 426[sansaclip]
@@ -467,7 +434,6 @@ brand=Sandisk
467usbid=0x07817433 434usbid=0x07817433
468usberror=0x07817432 435usberror=0x07817432
469configure_modelname=clip 436configure_modelname=clip
470targetid=50
471encoder=rbspeex 437encoder=rbspeex
472 438
473 439
@@ -481,7 +447,6 @@ manualname=
481brand=Olympus 447brand=Olympus
482usbid=0x07b40280 448usbid=0x07b40280
483configure_modelname=mrobe100 449configure_modelname=mrobe100
484targetid=33
485encoder=rbspeex 450encoder=rbspeex
486 451
487[ondavx747] 452[ondavx747]
@@ -533,7 +498,6 @@ manualname=
533brand=Samsung 498brand=Samsung
534usbid=0x04e85023 499usbid=0x04e85023
535configure_modelname=yh820 500configure_modelname=yh820
536targetid=57
537encoder=rbspeex 501encoder=rbspeex
538 502
539[smsgyh920] 503[smsgyh920]
@@ -546,7 +510,6 @@ manualname=
546brand=Samsung 510brand=Samsung
547usbid=0x04e85022, 0x04e8501d 511usbid=0x04e85022, 0x04e8501d
548configure_modelname=yh920 512configure_modelname=yh920
549targetid=58
550encoder=rbspeex 513encoder=rbspeex
551 514
552[smsgyh925] 515[smsgyh925]
@@ -559,7 +522,6 @@ manualname=
559brand=Samsung 522brand=Samsung
560usbid=0x04e85024 523usbid=0x04e85024
561configure_modelname=yh925 524configure_modelname=yh925
562targetid=59
563encoder=rbspeex 525encoder=rbspeex
564 526
565[05ac1260] 527[05ac1260]