On Mon, 2008-01-21 at 21:55 +0100, Bram Senders wrote:
> Well, I'm going to try dumping as most of the stuff as policy allowes
> into /usr/lib/shoes, and I'll see where I end up. :-) I'll keep you
> posted.
Got my first Debian package of Shoes out yesterday, and it should
hopefully hit the main archives in a couple of days. Some notes that
might be useful to you:
* I added a manpage, which I guess would be useful for the
upstream Linux source as well. So if you want it, just say
so. :-)
* Added a menu file as well.
* I patched the paths to all external resources in Shoes files
(couple of references to the Shoes icon, and some images and the
book.yaml file from the examples) to be absolute paths instead
of relative ones, as the relative paths are apparently relative
to the CWD, and not relative to the location of the program.
Might this be a bug?
I think what might be a good idea to do for any kind of external
resource (images, movies, yaml files, what have you) is to have
some kind of "mount points", kind of like you can do now with
the url method.
Then you could have some mount-points predefined, like the
location of the Shoes logo; on Linux you could have (in some
kind of default configuration file):
url '/static', '/usr/share/shoes/'"
and on OS X and Windows, where the location could be relative to
the directory containing the Shoes installation:
url '/static', './static'
so that "image '/static/shoes-icon.png'" will resolve
to ./static/shoes-icon.png on OS X and Windows, and
to /usr/share/shoes/shoes-icon.png on Linux. And for external
stuff, an app could do something like
url '/videos', 'http://mygreatshoesvideos.com/'
and then reference /videos/vid1.avi for a video in the same way
that it can reference /twain to go to a Shoes page about Mark
Twain books.
Or something like that. :-) What do you think?
That's it for today.
Cheers,
Bram