[opensuse-factory] new Firefox feature (call for help)
Hi, recently there was a feature request on the opensuse list (http://lists.opensuse.org/opensuse/2009-06/msg00297.html) about the fact that openSUSE's Firefox doesn't offer the packaged plugins in its plugin finder service. So I looked into it what would be needed to support that feature in our Firefox and created https://features.opensuse.org/306475 out of it. I'm copying my last comment here for completeness: ---------- A short overview what's needed to make this feature as complete as possible: 1. client support in Firefox to ask a webservice for available plugins and hook into the package installer to install the chosen plugin 2. a webservice which provides the required data to Firefox 3. a job which fills the webservice's database with available plugins The code for 1. and 2. is done in the Firefox extension "susefox" now. It's already pretty complete and usable (only some minor issues left and translations missing). For 2. a hosting platform is needed where I'm not sure if it should be opensuse.org or opensuse-community.org as we could refer to more plugins for the latter probably. For 3. nothing is really available yet. The reason is that our package metadata is missing information we would need to detect mozilla plugins. For the current implementation the database is created manually but I consider this pretty much impossible for a production service. ---------- So actually to finish this feature (if it's seen to be useful, otherwise please tell me so I stop investing time into it) I would need some help - to get the Firefox UI translations in place for as much locales as possible (it's really not much to translate right now) - to find a hosting area (currently it's running on my personal server) (to be able to offer problematic plugins it could make sense to use opensuse-community.org?) (it's a python script running through mod_python) - to get ideas how to solve 3. - if 3. is hard to solve or takes time we can consider to fill the database manually to get started but that would need some help to collect the needed information So that's basically about that feature but if you got any feature requests for Firefox about its openSUSE integration please read on: As there is now an openSUSE specific addon we can add more distribution specific things to it. In theory a lot of stuff can be done with the extension to customize Firefox a bit more to fit openSUSE but there are two issues: 1. ideas what would be useful 2. people doing the implementation So if you got any ideas or have some experience in writing Firefox extensions (or want to learn it) please tell me! Thanks, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Wolfgang Rosenauer wrote:
- to get the Firefox UI translations in place for as much locales as possible (it's really not much to translate right now)
I can translate to Czech/Slovak. Languages like German or French should be no problem. I'm not sure about the others, but we could ask i18n people once the string collection is more or less complete.
- to find a hosting area (currently it's running on my personal server) (to be able to offer problematic plugins it could make sense to use opensuse-community.org?)
I would go for opensuse-community.org for now. We can always change to opensuse.org later and switch the URI in plugin by releasing an update. I suggest to ask os-c.org folks.
(it's a python script running through mod_python) - to get ideas how to solve 3. - if 3. is hard to solve or takes time we can consider to fill the database manually to get started but that would need some help to collect the needed information
I am willing to help. Tell me what metadata you need and I'll try to figure out how to obtain it (automatically or manually) from the packages. -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Pavol Rusnak schrieb:
Wolfgang Rosenauer wrote:
- to get the Firefox UI translations in place for as much locales as possible (it's really not much to translate right now)
I can translate to Czech/Slovak. Languages like German or French should be no problem. I'm not sure about the others, but we could ask i18n people once the string collection is more or less complete.
I have german already (obviously) and I asked on os-translations today and apparently get two spanish variants soonish. The collection is more or less complete for the current provided feature set of the extension. There are currently no more plans for features so it would be nice to get some translations done now. Future features will most likely get new locale files anyway. You can get the locale files here: http://git.opensuse.org/?p=projects/mozilla/susefox.git;a=tree;f=locale/en-U...
I would go for opensuse-community.org for now. We can always change to opensuse.org later and switch the URI in plugin by releasing an update. I suggest to ask os-c.org folks.
Who are the os-c.org folks actually?
- if 3. is hard to solve or takes time we can consider to fill the database manually to get started but that would need some help to collect the needed information
I am willing to help. Tell me what metadata you need and I'll try to figure out how to obtain it (automatically or manually) from the packages.
This is the schema and set for flash-player: INSERT into package ( pkgname, name, mimetype, architecture, appid, distribution, repo, weight, filehint, description ) VALUES ( "flash-player", "Adobe Flash Player", "application/x-shockwave-flash", "i586", "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}", "11.1", "http://software.opensuse.org/ymp/openSUSE:11.1:NonFree/standard/flash-player...", 9, "libflashplayer.so", "This package contains Adobe's Flash Plugin for the supported Web browsers in addition to a standalone flash player application" ); Some comments: appid: that defines that this plugin is meant for Firefox - the remaining things are probably obvious but let me know if something is unclear Thanks, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Wolfgang Rosenauer wrote:
You can get the locale files here: http://git.opensuse.org/?p=projects/mozilla/susefox.git;a=tree;f=locale/en-U...
See "git format-patch origin" output in attachment (*.patch) for SK and CZ translation.
I would go for opensuse-community.org for now. We can always change to opensuse.org later and switch the URI in plugin by releasing an update. I suggest to ask os-c.org folks.
Who are the os-c.org folks actually?
http://opensuse-community.org/Team
- if 3. is hard to solve or takes time we can consider to fill the database manually to get started but that would need some help to collect the needed information I am willing to help. Tell me what metadata you need and I'll try to figure out how to obtain it (automatically or manually) from the packages.
This is the schema and set for flash-player:
INSERT into package ( pkgname, name, mimetype, architecture, appid, distribution, repo, weight, filehint, description ) VALUES ( "flash-player", "Adobe Flash Player", "application/x-shockwave-flash", "i586", "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}", "11.1", "http://software.opensuse.org/ymp/openSUSE:11.1:NonFree/standard/flash-player...", 9, "libflashplayer.so", "This package contains Adobe's Flash Plugin for the supported Web browsers in addition to a standalone flash player application" );
What do you think about storing information in XML instead of database? I think it will never be very large and we could add more mimetypes or distributions to one entry. See attached xml for my suggestion. We could keep this XML file in git repository so it will be easily to maintain and the webservice could use the file directly so it will be always accurate.
Some comments: appid: that defines that this plugin is meant for Firefox - the remaining things are probably obvious but let me know if something is unclear
Most of them seem clear. I don't know what weight is for (set to 9 in your example).
Thanks, Wolfgang
-- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz
On 29.06.2009 19:37, Wolfgang Rosenauer wrote:
Pavol Rusnak schrieb:
Wolfgang Rosenauer wrote:
- to get the Firefox UI translations in place for as much locales as possible (it's really not much to translate right now)
I can translate to Czech/Slovak. Languages like German or French should be no problem. I'm not sure about the others, but we could ask i18n people once the string collection is more or less complete.
I have german already (obviously) and I asked on os-translations today and apparently get two spanish variants soonish. The collection is more or less complete for the current provided feature set of the extension. There are currently no more plans for features so it would be nice to get some translations done now. Future features will most likely get new locale files anyway.
You can get the locale files here: http://git.opensuse.org/?p=projects/mozilla/susefox.git;a=tree;f=locale/en-U...
I would go for opensuse-community.org for now. We can always change to opensuse.org later and switch the URI in plugin by releasing an update. I suggest to ask os-c.org folks.
Who are the os-c.org folks actually?
- if 3. is hard to solve or takes time we can consider to fill the database manually to get started but that would need some help to collect the needed information
I am willing to help. Tell me what metadata you need and I'll try to figure out how to obtain it (automatically or manually) from the packages.
This is the schema and set for flash-player:
INSERT into package ( pkgname, name, mimetype, architecture, appid, distribution, repo, weight, filehint, description ) VALUES ( "flash-player", "Adobe Flash Player", "application/x-shockwave-flash", "i586", "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}", "11.1", "http://software.opensuse.org/ymp/openSUSE:11.1:NonFree/standard/flash-player...", 9, "libflashplayer.so", "This package contains Adobe's Flash Plugin for the supported Web browsers in addition to a standalone flash player application" );
Some comments: appid: that defines that this plugin is meant for Firefox - the remaining things are probably obvious but let me know if something is unclear
Thanks, Wolfgang
It's only for flash. And what about for example moonlight? -- S pozdravom / Best regards, Rasto -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Hi, Rastislav Krupanský schrieb:
It's only for flash. And what about for example moonlight?
The real dataset is a _bit_ larger and contains all available flash plugins (gnash, swfdec and Adobe) and it's only there as a start. We are still figuring out how to gather and save the data short and long term and once a bit more information is available we will collect the data for other plugins. Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Wolfgang, I suggest you add for the firefox plugin a homepage, e.g. en.opensuse.org/susefox and add text there. Currently it's not clear what the plugin does since it offers no explanation and no configuration options - and I'm not the only one that was a bit confused. Thanks, Andreas -- Andreas Jaeger, Director openSUSE, aj@{novell.com,opensuse.org} SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Andreas Jaeger schrieb:
Wolfgang,
I suggest you add for the firefox plugin a homepage, e.g. en.opensuse.org/susefox and add text there. Currently it's not clear what the plugin does since it offers no explanation and no configuration options - and I'm not the only one that was a bit confused.
http://en.opensuse.org/Mozilla/susefox Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Thursday 09 July 2009 23:59:33 Wolfgang Rosenauer wrote:
Andreas Jaeger schrieb:
Wolfgang,
I suggest you add for the firefox plugin a homepage, e.g. en.opensuse.org/susefox and add text there. Currently it's not clear what the plugin does since it offers no explanation and no configuration options - and I'm not the only one that was a bit confused.
What I mean is the following patch to install.rdf so that "Visit Homepage" works from the AddOns Menu (via right-click on the extension). Could you add this one, please? Thanks, Andreas --- /tmp/install.rdf.orig 2009-07-10 10:34:01.000000000 +0200 +++ /tmp/install.rdf 2009-07-10 10:38:06.000000000 +0200 @@ -7,6 +7,7 @@ em:creatorWolfgang Rosenauer <wr@rosenauer.org> em:contributorUbufox contributors + em:homepageURLhttp://en.opensuse.org/Mozilla/susefox em:nameopenSUSE Firefox Extensions em:descriptionDesktop integration for Firefox. -- Andreas Jaeger, Director openSUSE, aj@{novell.com,opensuse.org} SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
participants (4)
-
Andreas Jaeger
-
Pavol Rusnak
-
Rastislav Krupanský
-
Wolfgang Rosenauer