mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
librewolf-unwrapped: add librewolf pref pane
- Adds the Librewolf preferences pane - Adds an extra patching step from the upstream build script https://codeberg.org/librewolf/source/src/commit/1b75cbb46/scripts/librewolf-patches.py#L132 Fixes #300107
This commit is contained in:
parent
1c506133f0
commit
ddc59b7900
@ -6,7 +6,7 @@ rec {
|
||||
|
||||
inherit (src) packageVersion firefox source;
|
||||
|
||||
extraPatches = [ ];
|
||||
extraPatches = [ "${source}/patches/pref-pane/pref-pane-small.patch" ];
|
||||
|
||||
extraConfigureFlags = [
|
||||
"--with-app-name=librewolf"
|
||||
@ -25,6 +25,12 @@ rec {
|
||||
cp ${source}/assets/search-config.json services/settings/dumps/main/search-config.json
|
||||
sed -i '/MOZ_SERVICES_HEALTHREPORT/ s/True/False/' browser/moz.configure
|
||||
sed -i '/MOZ_NORMANDY/ s/True/False/' browser/moz.configure
|
||||
|
||||
cp ${source}/patches/pref-pane/category-librewolf.svg browser/themes/shared/preferences
|
||||
cp ${source}/patches/pref-pane/librewolf.css browser/themes/shared/preferences
|
||||
cp ${source}/patches/pref-pane/librewolf.inc.xhtml browser/components/preferences
|
||||
cp ${source}/patches/pref-pane/librewolf.js browser/components/preferences
|
||||
cat ${source}/patches/pref-pane/preferences.ftl >> browser/locales/en-US/browser/preferences/preferences.ftl
|
||||
'';
|
||||
|
||||
extraPrefsFiles = [ "${src.settings}/librewolf.cfg" ];
|
||||
|
Loading…
Reference in New Issue
Block a user