I've also tested the shellme.zip and it works great :-). Nice gnuchess, BTW.
Recapitulating:
1. Bootstraping: DONE (shellme.zip)
2. Package install: DONE (untar the package in one of the folders: newspapers, books, documents, notes)
3. App launch:
3a. Standalone applications (x48, gnuchess): DONE (using the run.sh in the package, thanks to the shellme.zip hack)
3.b Viewers: TODO
4. Package format: DONE (the one of gnuchess repackaged by scotty)
For my initial thougths, there are some things out (a GUI to install packages directly from MR, for example), but they are not so important.
Next thing: Scotty said to me that what if we replace contentLister, basically because it's overly slow listing files.
If we replace contentLister, I would vote to ignore er_registry and doing the following files:
/mnt/free/viewers/html/run.sh
/mnt/free/viewers/pdf/run.sh
...
so that the new contentLister, when is told to open a file, executes /mnt/free/viewers/fileextension/run.sh absolute_path_to_file
This way, we can "register" an installed program as a viewer simply by creating the directory /mnt/free/viewers/extension and creating there a run.sh that does something like:
Code:
#!/bin/sh
cd path-to-where-program-is-installed
./run.sh "$@"
What do you think about it?