[Pkg-mozext-maintainers] Packaging WebExtensions compatible with multiple browsers

Sean Whitton spwhitton at spwhitton.name
Mon Aug 21 22:02:15 UTC 2017


Hello Yao Wei,

Thank you for working on this.

On Mon, Aug 21 2017, Yao Wei wrote:

> 1. Should we use different prefix for the WebExtensions packages that
> support different browsers?
>
> I think webext- prefix can be good for this kind of packages.
>
> 2. Should we split the package for different browsers?
>
> There's current efforts packaging ublock-origin for both chromium and
> xul-ext.  However shifting to WebExtensions implies that the codebase
> will be the same.  To save disk space and lower the security risk not
> to split the main package could be good.  Some of the
> browser-dependent files can be splitted to their dedicated packages.

David Prévot and I looked into this during DebCamp.  You can find our
attempt on the webext branch of ublock-origin's alioth repository.

We thought it would be better just to have all packages use the prefix
webext-, installing to something like /usr/share/webext/foo, and then
create a symlink into /usr/share/firefox if the extension works in
Firefox, and into /usr/share/chromium if the extension works with
Chromium.

Do you think this would work?

-- 
Sean Whitton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozext-maintainers/attachments/20170821/b265eb07/attachment.sig>


More information about the Pkg-mozext-maintainers mailing list