#3 port to Firefox 60

Open
6 jaren geleden werd geopend door pabs · 8 opmerkingen

Firefox 60 ended support for XUL extensions so iceweasel-branding no longer works and needs porting to the new WebExtensions system.

If this is not possible, please provide the details and close this bug report.

Firefox 60 ended support for XUL extensions so iceweasel-branding no longer works and needs porting to the new WebExtensions system. If this is not possible, please provide the details and close this bug report.

it is entirely possible - parabola has been maintaining it's iceweasel branding all along

https://git.parabola.nu/packages/iceweasel-branding.git/

it is entirely possible - parabola has been maintaining it's iceweasel branding all along https://git.parabola.nu/packages/iceweasel-branding.git/
Paul Wise reageerde 6 jaren geleden
Poster

Would it be possible to merge those changes back and release a new version?

Would it be possible to merge those changes back and release a new version?
platform reageerde 6 jaren geleden
Eigenaar

WebExtensions things are different ones. This 'extension' is actually doing theming, which is not possible by WebExtensions. But what we actually creating is a debian package. If we could make a package which directly patches the Firefox files installed on the system, we could continue to use Iceweasel branding.

WebExtensions things are different ones. This 'extension' is actually doing theming, which is not possible by WebExtensions. But what we actually creating is a debian package. If we could make a package which directly patches the Firefox files installed on the system, we could continue to use Iceweasel branding.
Paul Wise reageerde 6 jaren geleden
Poster

Unfortunately the Debian Firefox package stores all of the files that are being overridden inside the omni.ja package so it is not possible to divert or modify those files.

Interestingly this command still gets you an Iceweasel icon with the XUL extension package installed, but none of the other things.

firefox --class Iceweasel

Even more interestingly the new Tor Browser also uses the --class option but it modifies the same things the XUL Iceweasel branding does so maybe there is a new way to do this (or maybe they just patch Firefox).

Unfortunately the Debian Firefox package stores all of the files that are being overridden inside the omni.ja package so it is not possible to divert or modify those files. Interestingly this command still gets you an Iceweasel icon with the XUL extension package installed, but none of the other things. firefox --class Iceweasel Even more interestingly the new Tor Browser also uses the --class option but it modifies the same things the XUL Iceweasel branding does so maybe there is a new way to do this (or maybe they just patch Firefox).
platform reageerde 6 jaren geleden
Eigenaar

TorBrowser is a different build of patched Firefox ESR.

TorBrowser is a different build of patched Firefox ESR.
platform reageerde 6 jaren geleden
Eigenaar

Does it work to place a custom package in /usr/lib/firefox/browser/features?

Does it work to place a custom package in `/usr/lib/firefox/browser/features`?
platform reageerde 6 jaren geleden
Eigenaar

Needs testing.

Needs testing.
Paul Wise reageerde 6 jaren geleden
Poster

Looks like those are whitelisted through this mechanism:

/usr/lib/firefox/browser/omni.ja:main/modules/addons/XPIProvider.jsm const BUILT_IN_ADDONS_URI = "chrome://browser/content/built_in_addons.json";

/usr/lib/firefox/browser/omni.ja:chrome/browser/content/browser/built_in_addons.json {"dictionaries": {"en-US": "dictionaries/en-US.dic"}, "system": ["activity-stream@mozilla.org", "aushelper@mozilla.org", "firefox@getpocket.com", "formautofill@mozilla.org", "onboarding@mozilla.org", "screenshots@mozilla.org", "webcompat-reporter@mozilla.org", "webcompat@mozilla.org"]}

Looks like those are whitelisted through this mechanism: /usr/lib/firefox/browser/omni.ja:main/modules/addons/XPIProvider.jsm const BUILT_IN_ADDONS_URI = "chrome://browser/content/built_in_addons.json"; /usr/lib/firefox/browser/omni.ja:chrome/browser/content/browser/built_in_addons.json {"dictionaries": {"en-US": "dictionaries/en-US.dic"}, "system": ["activity-stream@mozilla.org", "aushelper@mozilla.org", "firefox@getpocket.com", "formautofill@mozilla.org", "onboarding@mozilla.org", "screenshots@mozilla.org", "webcompat-reporter@mozilla.org", "webcompat@mozilla.org"]}
Sign in to join this conversation.
Geen mijlpaal
Geen verantwoordelijke
3 deelnemers
Laden...
Annuleren
Opslaan
Er is nog geen inhoud.