GNU bug report logs - #32026
IceCat locales are missing?

Previous Next

Package: guix;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Sun, 1 Jul 2018 20:24:02 UTC

Severity: normal

Merged with 25504

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 32026 <at> debbugs.gnu.org
Cc: mhw <at> netris.org, ludo <at> gnu.org, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: bug#32026: [PATCH 10/10] gnu: icecat: Use the locale of the system.
Date: Mon, 13 Feb 2023 20:55:55 -0500
* 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





This bug report was last modified 2 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.