View Single Post
Old 11-09-2006, 11:15 AM   #18
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
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?

Last edited by Antartica; 11-09-2006 at 11:19 AM.
Antartica is offline   Reply With Quote