The Inside Track on Firefox Development.

« Theme Manager | Main | Profile Components »

May 17, 2004

Updated Extension/Theme Packaging

Updated documentation for packaging Extensions and Themes.

Posted by ben at May 17, 2004 1:53 AM

Comments

extensions.html says: "and Thunderbird 0.7 and newer."
themes.html says: "and Thunderbird 0.8 and newer."
is this correct?

Can themes also be packages in an .xpi?

Posted by: Anonymous at May 17, 2004 3:18 AM

I can tell that you have put the target application stuff into separate arcs. I bet there is more, could you provide a rough changelog?

Posted by: Axel Hecht at May 17, 2004 4:34 AM

Could we get something like this please:
<em:description xml:lang="en-US">Description</em:description>
<em:description xml:lang="de-AT">Beschreibung</em:description>

Posted by: Anonymous at May 17, 2004 10:07 AM

Hello Ben.
I'm Tatsuo, the auther of the Okhotska Theme.
Your document 'Packaging Firefox/Thunderbird Themes' is important for all theme authers.
I want your permission to translate that document to Japanese and to publish it on the web.
May I translate and publish it on the web?

Posted by: Tatsuo TANABE at May 20, 2004 7:25 PM

Anonymous: mozilla's RDF support doesn't understand lang-specific literals yet (and won't before 1.0). In the future, we will certainly use lang-specific literals.

Posted by: Benjamin Smedberg at May 23, 2004 9:55 PM

Tatsuo - yes, please go ahead. These documents can be translated into any languages people want to translate them into.

Posted by: Ben Goodger at May 24, 2004 1:59 AM

Will you be factoring lang-packs into this process?

http://bugzilla.mozilla.org/show_bug.cgi?id=243113

Posted by: Brian King at May 24, 2004 6:10 AM

The sample update.rdf file is not a complete XML file (no xmlns:RDF declaration). Would it be worth having a complete sample there?

Posted by: Matthew Wilson at May 25, 2004 10:38 AM

Ben I just thought about, is it possible to package and register non .jar packaged "local" files in an install...

For instance Calendar needs to do this, as we have only en-US in our jar, (for good reason) and the other locals are added on xpi if needed [currently, iirc]

What I need to know is _how_ do I set plain (unjarred) files to be registered as a local, since we have the .jar"> setup, but nothing for individual files that I notice anyway.

if I need to create a .jar for every locale for calendar, I *can* though would not be desired.

Clarifcation here, in e-mail or on your blog itself, or even on mozzine forums for the EM thread is welcome

Posted by: Callek at June 1, 2004 1:56 AM

Why not just have the .rdf for descriptions, etc. But still use install.js for installition? This would alow for things to be backwards compatible.

Also, if .rdf will be the route. There should be a field where you can specify JavaScripts to be run before and after the installition to allow for more complex installitions.

EG: post.js
pre.js

Posted by: Robin Monks (DevLinks) at June 6, 2004 4:52 AM