On Wednesday 17 of June 2009 23:32:53 Wolfgang Rosenauer wrote:
Hi,
Michal Vyskocil schrieb:
Actually I decided to work on an extension resampling code of ubufox which would make it possible to invoke the installation from Firefox.
Great!
I have a first "alpha"-type addon and webservice available now.
The extension can be installed from http://www.rosenauer.org/susefox.xpi
and currently adds two features where one is not fully implemented as it needs a certain patch in xulrunner to work finally:
Feature 1: The plugin finder service uses the new 'openSUSE' webservice to search for plugins. The alternative webservice returns openSUSE packages and also the upstream results from mozilla.org where the user can choose which plugin to install. If the user chooses a openSUSE package the YaST one-click installer is started to install the plugin package.
Looks great. Just one bug I've found - even if the installation fails on my system (because there's no one click install file for Factory), the next window tells that installation was successful.
Feature 2: A new alternative "plugin configurator" which allows to search for plugin packages while there is already a plugin installed for a certain mimetype and allows to choose a which plugin to use if there are more installed for a certain mimetype.
There are still some known bugs in the current implementation and it's _extremely_ limited since the only supported openSUSE plugin package is currently flash-player (see below).
The database for the plugins needs to be maintained manually though as our repositories don't have information about what is a Netscape plugin and which mimetypes are supported (what Ubuntu actually has).
Is there anything what should be done in affected packages? Eg. some special Provides? I can do that for java plugins - all our plugin packages provides a jpackage.org compatible symbol(s) java-plugin (or java-1.6.0-plugin).
I'm not sure yet what to do to make the database creation more automated since I'm not quite deep in the rpm-md/zypp topic. So I'm open for any hints.
It would be probably the best to ask Duncan. But PackageKit supports exactly the same feature. There's a tool gpk-install-mime-type in gnome-packagekit package, which seems to be able to do what you need. But it does not work on Factory :( gpk-install-mime-type application/x-shockwave-flash installs nothing Maybe is zypp/PackageKit backend not complete. Regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org