How to package this extension

John Vivirito gnomefreak at
Sun Jun 15 02:32:07 BST 2008

Heikki Mäntysaari wrote:
> Hi all,
> I'm trying to package mozvoikko, a Finnish spell-checker extension for
> Firefox 3 and Thunderbird 3 but I don't know how should I package an
> extension like it.
> Mozvoikko is written in C++ and spell-checking functionality is
> provided by Voikko (package libvoikko1 in main).
> I have to install the following files:
> - all functionality
>  -install.rdf
>  -chrome.manifest - just an empty file
> My problem is that I don't know where should I install these files.
> My current solution is to install install.rdf and chrome.manifest in
> /usr/share/mozvoikko, in /usr/lib/mozvoikko and then
> create symlinks /usr/lib/firefox-addons/extensions/{id} ->
> /usr/share/mozvoikko and /usr/share/mozvoikko/components ->
> /usr/lib/mozvoikko
> This solution works well in Firefox and arch-independent files are in
> /usr/share and arch-dependent files in /usr/lib. But now I think about
> Thunderbird 3. I can't create symlink
> /usr/lib/thunderbird-addons/extensions/{id} -> /usr/share/mozvoikko
> (user may not have Thunderbird installed), so this is what I have
> planned: I'll make 3 packages: mozvoikko, which installs files to
> /usr/share/mozvoikko and /usr/lib/mozvoikko, and mozvoikko-firefox
> (and mozvoikko-thunderbird when Thunderbird 3 will be released), which
> creates symbolic link
> /usr/lib/(firefox|thunderbird)-addons/extensions/{id} ->
> /usr/share/mozvoikko (maybe all these packages can be created by one
> source package).
> Is this a good solution (can I create a package which only installs
> one symlink) or how should I package this extension?
Please first go to and see if it
meets requirments than here for some help on packaging it.

Sincerely Yours,
    John Vivirito
Linux User# 414246

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : 

More information about the Ubuntu-mozillateam mailing list