How to Compare?
Chris Hall (132) 3554 posts |
There are several distributions with lots of bundled software. I wanted to compare what is bundled with different machines. I therefore wanted a listing of the applications on each machine so that a prospective purchaser could see whether a particular piece of software was bundled with the machine chosen. My method was to examine the SD card using !Cat to produce a ‘DiscCat’ file, which lists every file (including the contents of zip files if SparkFS is running). I then used a short BASIC programme (below) to produce a Draw file itemising the software (i.e. just the application directories) which I printed using the Postscript level 3 drivers and !DrawPrint and then converted to PDF using ps2pdf13. The result (18 pages of A4) looks like this: and the BASIC programme to produce it:
|
Steve Pampling (1551) 8170 posts |
I’d have thought you would go for the idea of producing a text output file for each distribution, ensure the software is listed without a specific location, and then diff the two files. |
Chris Hall (132) 3554 posts |
I’d have thought you would go for the idea of producing a text output file for each distribution, ensure the software is listed without a specific location, and then diff the two files. My first thought was simply to find a way of listing what applications were provided on a particular machine so that a prospective purchaser could look to see whether a particular piece of software was included or not. Illustrating it with the application’s sprite seemed a good idea. Looking to see whether a ‘!Sprites’ file was in the appdir and, if not, Filer_Boot on its !Boot file almost worked (a tiny number of apps fall over on the latter). Assuming the datestamp of the app directory would pick up the date of the !RunImage file seemed not to work as I expected – for example:
&55477A1E20 = 13:34 25-Jan-2016 (the date the directory was created) so the filer must do that bit of magic itself. Until I saw how many apps were listed, I was going to write a short bit of text for each saying what it does. Instead I decided to show its version date but I need to get that from its !RunImage file or if not present, its !Run file directly rather than from the app directory datestamp. Another version! |
Chris Hall (132) 3554 posts |
I’d have thought you would go for the idea of producing a text output file for each distribution The programme now produces csv outout as well as Draw. Comparing the software bundled with the Raspberry Pi SD card image for RISC OS 5.24 and 5.28 gives a rather simpler picture:
|