[Pkg-mozext-maintainers] #573250 -- conflict between policy and mozilla-devscripts about file placement

Benjamin Drung bdrung at ubuntu.com
Fri Mar 19 02:49:55 UTC 2010

Am Mittwoch, den 10.03.2010, 16:37 -0500 schrieb Daniel Kahn Gillmor:
> hey debian mozilla extension packager people --
> i just filed http://bugs.debian.org/573250 about a conflict between
> mozilla-devscripts and our current draft of policy related to the
> directory placement of extensions.

IMHO we have to adjust the policy draft.

> Our discussion in november 2009 [0] sort of petered out without
> resolution.  Can we align them, so that our policy matches what we think
> of as best practices, and our tools also correspond?
> Here's a proposal for rewording the policy for file placement for xul
> apps (i'm not wedded to it, this is just a trial balloon):
>  0) Architecture-independent packages for extensions to xul apps get
> installed in /usr/share/xul-ext-foo.

Do we need this in the policy? I would call it only a recommendation. If
only one xulapp is supported it can be put directly
into /usr/share/mozilla/extensions/<app-id>/<extension-id>

>  1) preferably, these packages create a symlink corresponding to each
> supported xulapp at
> /usr/share/mozilla/extensions/<app-id>/<extension-id> , pointing back to
> /usr/share/xul-ext-foo.

Yes. Change /usr/share/xul-ext-foo to installation directory.

>  2) if (1) is not possible, the package should have a single symlink
> placed in /usr/share/mozilla/extensions/common/<extension-id>, pointing
> back to /usr/share/xul-ext-foo ;  each xul-apps will evaluate the
> suitability for themselves of each extension installed this way at runtime.

We need a clear upstream statement
about /usr/share/mozilla/extensions/common. 

>  3) architecture-dependent packages unpack the entire extension into
> /usr/lib/xul-ext-foo, instead of /usr/share/xul-ext-foo, but otherwise
> create the same set of symlinks as arch-indep packages.

Yes. The lib <-> share topic is already specified in the Debian policy.

Benjamin Drung
Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozext-maintainers/attachments/20100319/3dd1cd51/attachment.pgp>

More information about the Pkg-mozext-maintainers mailing list