[Mike Hommey] > There are several ways in which javascript can call native code. > It's possible to call it directly with js-ctypes, although a bit > cumbersome, or to call it through a xpcom component which acts as a > proxy. If the packagekit (or whatever else) API is simple enough, > js-ctypes might be the best choice.
Right. Perhaps it could even call python, and use the code I drafted in <URL: http://people.skolelinux.org/pere/blog/How_to_find_a_browser_plugin_supporting_a_given_MIME_type.html >? Or some apt API directly? All it need to do is loop over all packages available via APT and look for some extra headers. Perhaps PackageKit is overkill for this? -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org