Re: Distro integration for Plasma Browser Integration (was: Re: Plasma Browser Integration is in kdereview

2017-06-06 Thread Neal Gompa
On Mon, Jun 5, 2017 at 11:22 AM, Martin Steigerwald  wrote:
> Hello David.
>
> Thanks for your effort on plasma browser integration.
>
>
> What options are possible to distribute extensions via distro packaging?
>
> I ask cause I think at least for chrome / chromium you need a Google account
> to use the plugin / extension store. Also it would put the extension outside
> of distro security support. Therefore I mostly use xul-ext packages in Debian
> as extensions for Firefox and also a new uBlock origin extension package for
> chromium.
>
> Eventually this would need to be brought up with browser developers. I am
> willing to help there by creating wishlist item / bug report.
>

In Fedora, we have actually packaged an extension for Chrome[1], so it
is possible to package Chrome extensions and have them work with
Chromium / Chrome.

If they are locally installed, Chrome will activate them, and if they
require special permissions, the user will be prompted to grant them.

[1]: 
https://src.fedoraproject.org/cgit/rpms/fedora-user-agent-chrome.git/tree/fedora-user-agent-chrome.spec


-- 
真実はいつも一つ!/ Always, there's only one truth!


Re: Distro integration for Plasma Browser Integration (was: Re: Plasma Browser Integration is in kdereview

2017-06-06 Thread Sandro Knauß
Hey,

> > What options are possible to distribute extensions via distro packaging?

You can package for both browses extensions, that works quite nicely:
Here is one I made for Debian and Firefox:
https://tracker.debian.org/pkg/firefox-kwallet5

For Chrome the debian Wiki tells, that extensions are disabled by default:
https://wiki.debian.org/Chromium#Extensions

Best regards,

sandro


signature.asc
Description: This is a digitally signed message part.


Re: Distro integration for Plasma Browser Integration (was: Re: Plasma Browser Integration is in kdereview

2017-06-05 Thread David Edmundson
>
> What options are possible to distribute extensions via distro packaging?
>

For chrome see https://developer.chrome.com/extensions/external_extensions.
For firefox I was under the impression you can't, but I haven't extensively
looked.

But the easiest thing to do is see how chrome-gnome-shell is handlded in
your distro, which is a similar tech, but used purely for helping
extensions.gnome.org install extensions.

It's an already addressed issue (or non-issue), so we can basically do the
same.

On Arch and Ubuntu the browser side is fetched from the relevant store by
the user.


> I ask cause I think at least for chrome / chromium you need a Google
> account
> to use the plugin / extension store.


That's not true. Nor for firefox.

David