Multi distro/multi OS install: or package: URI scheme ?
François Revol
revol at free.fr
Wed Apr 22 15:38:36 PDT 2009
> I am not sure I understand the point here: the url is an instruction
> to install a package, but does not contain the package itself?
Thus the I in URI, for Identifier...
> I think OpenSuses approach is better:
> http://en.opensuse.org/Standards/One_Click_Install. I like that it
Shrug xml... I fear it might be overdesigned and thus not widely
accepted.
Just pkg-config itself is a pain to port & use on BeOS, so...
They should really advertize it then... even I didn't know about it :p
I didn't manage to grasp how to find which package name to send to apt
in case of debian from the look of it...
> works with existing protocols and leverages mime types and their
> associations to applications.
On Haiku uri schemes are handled as a subset of mimetypes anyway :
http://www.haiku-os.org/legacy-docs/bebook/TheSupportKit_Constants.html#B_URL_HTTP
http: -> application/x-vnd.Be.URL.http
see
http://dev.haiku-os.org/browser/haiku/trunk/src/bin/urlwrapper.cpp
http://dev.haiku-os.org/browser/haiku/trunk/src/bin/urlwrapper.rdef
so it wouldn't change a thing...
I started designing a handler for .desktop files once, though never
finished.
I might have a try at it... But people will never put Haiku related
infos in such files anyway, so it will have to be looked up by name in
a yet-to-be-done package manager anyway.
François.
More information about the xdg
mailing list