This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11893 - wpsbuild.pl rewrite
Attached to Project:
Rockbox
Opened by Marcin Bukat (MarcinBukat) - Thursday, 20 January 2011, 23:33 GMT+2
Last edited by Marcin Bukat (MarcinBukat) - Saturday, 04 June 2011, 23:48 GMT+2
Opened by Marcin Bukat (MarcinBukat) - Thursday, 20 January 2011, 23:33 GMT+2
Last edited by Marcin Bukat (MarcinBukat) - Saturday, 04 June 2011, 23:48 GMT+2
|
DetailsThis is complete rewrite of wpsbuild.pl. The differences from old wpsbuild are:
1) Now it uses xml format for WPSLIST file (to make it more consistent) with help of XML::Simple CPAN module. 2) It scans all skin files for graphics needed (not only .wps) 3) Takes lcd dimensions parsing firmware/export/config/modelname.h file directly (instead of bizarre gcc preprocessing and regexp matching) 4) Should be easy to extend (for example to include rec skins if this ever happens) At first I was thinking about fixing fms support in wpsbuild.pl but it was very hard to follow the code and writing something new from scratch was much easier. |
This task depends upon
Closed by Marcin Bukat (MarcinBukat)
Saturday, 04 June 2011, 23:48 GMT+2
Reason for closing: Rejected
Additional comments about closing: no going to be merged anytime soon
Saturday, 04 June 2011, 23:48 GMT+2
Reason for closing: Rejected
Additional comments about closing: no going to be merged anytime soon
2) buildzip.pl - fix call to wpsbuild2.pl in verbose mode
wpsbuild2.pl
1) some code refactor
2) many small fixes
3) some sanity checks added
4) run with warnings turned on
5) handle all theme related configuration tags
wpsbuild2.pl/buildzip.pl
1) Handle classic_statusbar in wpsbuild2.pl (where this should be!)
WPSLIST.xml
1) reset backdrop to default if needed
2) explicitly state that cabbiev2 uses classic_statusbar.sbs