* gnu/packages/patches/icecat-makeicecat.patch: Set the intl.locale.requested option to the empty string.
--- gnu/packages/patches/icecat-makeicecat.patch | 26 +++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/gnu/packages/patches/icecat-makeicecat.patch b/gnu/packages/patches/icecat-makeicecat.patch index c46cb27ff6..bc179726b1 100644 --- a/gnu/packages/patches/icecat-makeicecat.patch +++ b/gnu/packages/patches/icecat-makeicecat.patch @@ -2,8 +2,28 @@ Make some of the changes needed to the 'makeicecat' script, to allow it to run in a snippet without network access. After this patch is applied, some additional changes will be made using 'substitute*'. +The settings.js hunk below has been submitted upstream (see: +https://issues.guix.gnu.org/61495). + +diff --git a/data/settings.js b/data/settings.js +index 0fe5956..0bb2af1 100644 +--- a/data/settings.js ++++ b/data/settings.js +@@ -30,8 +30,10 @@ pref("privacy.firstparty.isolate", true); + + // Extensions cannot be updated without permission + pref("extensions.update.enabled", false); +-// Use LANG environment variable to choose locale +-pref("intl.locale.matchOS", true); ++ ++// Set the default locale to that of the operating system. ++pref("intl.locale.requested", ""); ++ + // Allow unsigned langpacks + pref("extensions.langpacks.signatures.required", false); + // Disable default browser checking. diff --git a/makeicecat b/makeicecat -index bf2b7a6..bc3b19b 100755 +index 63eb2f0..f7d3ccd 100755 --- a/makeicecat +++ b/makeicecat @@ -58,7 +58,7 @@ readonly SOURCEDIR=icecat-${FFVERSION} @@ -15,8 +35,8 @@ index bf2b7a6..bc3b19b 100755 ############################################################################### -@@ -459,7 +459,7 @@ configure_search() - sed 's|ddg@|ddg-html@|' -i browser/components/search/extensions/ddg-html/manifest.json +@@ -473,7 +473,7 @@ configure_search() + # Process various JSON pre-configuration dumps. - python3 ../../tools/process-json-files.py . browser/components/extensions/schemas/ -- 2.39.1