Confirmation Checklist
Please explain your proposal with as many details as necessary (Ex. what you're suggesting, why you're suggesting it, what need you thinks it will fill, who it will benefit, etc...).
Hello, @celenity!
I'd like to help add Gentoo GNU/Linux support for Phoenix.
Quick summary: Portage lets you install two versions of Firefox pre-built binary or one compiled from source.
Binary version:
From my testing, Phoenix doesn't play nicely with the binary version, and here's what I've noticed:
- The "About Firefox" description gets changed.
- uBlock Origin and all its filters fail to install properly.
- Surprisingly, some settings do apply.
- The browser itself behaves a bit oddly, like the settings only partially took effect.
File paths for the binary version:
/opt/firefox/phoenix.cfg
/opt/firefox/policies/policies.json
/opt/firefox/defaults/pref/phoenix-desktop.js
Possible explanation (just a hypothesis):
The binary version's distribution policies might be overriding Phoenix's policies. For example:
cat /opt/firefox/distribution/policies.json
{
"policies": {
"DisableAppUpdate": true
}
}
Could I be missing something here?
Source-compiled version:
Portage (Gentoo's package manager) supports applying custom patches to source code. This means we could create a Gentoo overlay (similar to the AUR) or provide manual patches that get applied when building Firefox.
Gentoo Wiki. Portage: Applying non-standard patches
I'm also happy to help with installation guides if that would be useful.
### Confirmation Checklist
- [x] I confirm that this feature is not already present on the **latest release** of Phoenix. You can check what the latest version is on [the `Releases` page](https://codeberg.org/celenity/Phoenix/releases).
- [x] I confirm that this feature has **NOT** already been suggested on [the Codeberg issue tracker](https://codeberg.org/celenity/Phoenix/issues), [the GitLab issue tracker](https://gitlab.com/celenityy/Phoenix/-/issues), **and/or** [the GitHub issue tracker](https://github.com/celenityy/Phoenix/issues).
### Please explain your proposal with as many details as necessary (Ex. what you're suggesting, why you're suggesting it, what need you thinks it will fill, who it will benefit, etc...).
**Hello, @celenity!**
I'd like to help add Gentoo GNU/Linux support for Phoenix.
Quick summary: Portage lets you install two versions of Firefox pre-built binary or one compiled from source.
**Binary version:**
From my testing, Phoenix doesn't play nicely with the binary version, and here's what I've noticed:
- The "About Firefox" description gets changed.
- uBlock Origin and all its filters fail to install properly.
- Surprisingly, some settings do apply.
- The browser itself behaves a bit oddly, like the settings only partially took effect.
File paths for the binary version:
```bash
/opt/firefox/phoenix.cfg
/opt/firefox/policies/policies.json
/opt/firefox/defaults/pref/phoenix-desktop.js
```
Possible explanation (just a hypothesis):
The binary version's distribution policies might be overriding Phoenix's policies. For example:
```bash
cat /opt/firefox/distribution/policies.json
```
```json
{
"policies": {
"DisableAppUpdate": true
}
}
```
Could I be missing something here?
**Source-compiled version:**
Portage (Gentoo's package manager) supports applying custom patches to source code. This means we could create a Gentoo overlay (similar to the AUR) or provide manual patches that get applied when building Firefox.
[Gentoo Wiki. Portage: Applying non-standard patches](https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/Advanced#Applying_non-standard_patches)
I'm also happy to help with installation guides if that would be useful.