Skip to content

Commit

Permalink
Merge pull request #337061 from squalus/librewolf-pref
Browse files Browse the repository at this point in the history
librewolf: add librewolf pref pane
  • Loading branch information
mweinelt authored Aug 24, 2024
2 parents 40adf5a + ddc59b7 commit 844e0c0
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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" ];
Expand Down

0 comments on commit 844e0c0

Please sign in to comment.