Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Packaging SeaMonkey extensions for installation

15 views
Skip to first unread message

Andy Ruddock

unread,
Jan 5, 2009, 3:49:45 PM1/5/09
to
I've got a SeaMonkey extension that I currently install by way of
creating a .xpi and installing.
I'd like to be able to package this so it can be installed via the
package management system - in this case initially as a .deb.
I've found tons of documentation on creating .xpi packages and
installing, but nothing on how to do it from an external program.

If anybody has any pointers to documentation which they'd like to share
I'd be extremely grateful.

--
Andy Ruddock
------------
andy_DOT_ruddock_AT_rainydayz_DOT_org (GPG Key ID 0xA622D452)

Christopher Aillon

unread,
Jan 6, 2009, 1:32:49 PM1/6/09
to Andy Ruddock, dev-platf...@lists.mozilla.org
On 01/05/2009 03:49 PM, Andy Ruddock wrote:
> I've got a SeaMonkey extension that I currently install by way of
> creating a .xpi and installing.
> I'd like to be able to package this so it can be installed via the
> package management system - in this case initially as a .deb.
> I've found tons of documentation on creating .xpi packages and
> installing, but nothing on how to do it from an external program.
>
> If anybody has any pointers to documentation which they'd like to share
> I'd be extremely grateful.

Well, in Gecko 1.8.1, you need to install it in the app directory.
Which is difficult to manage as app dirs are specific to an install and
thus may not work with parallel installs, may have problems with
upgrading, uninstalling, etc.

In the Gecko 1.9 (SM 2.0) and higher world, the story is much nicer: you
can simply install to a system location, such as
/usr/share/mozilla/${seamonkey-app-id}/${extension_id} (or /usr/lib or
/usr/lib64 depending on your extension's arch target and distro)


https://developer.mozilla.org/en/Installing_extensions
https://bugzilla.mozilla.org/show_bug.cgi?id=311008

0 new messages