[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32026: [PATCH v4 5/9] gnu: icedove: Automatically load system-provid
From: |
Maxim Cournoyer |
Subject: |
bug#32026: [PATCH v4 5/9] gnu: icedove: Automatically load system-provided extensions. |
Date: |
Sun, 19 Feb 2023 14:24:01 -0500 |
* gnu/packages/gnuzilla.scm
(icedove-source): Set the extensions.autoDisableScopes preference value to 3.
(icedove-minimal) [phases]: Add the --allow-addon-sideload and
--with-unsigned-addon-scopes=app,system ac options to the configure phase.
---
(no changes since v1)
gnu/packages/gnuzilla.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 01fc974805..38c34251ab 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1273,7 +1273,15 @@ (define icedove-source
(("(pref\\(\"extensions.systemAddon.update.enabled\").*" _ m)
(string-append m ", false);"))
(("(pref\\(\"lightweightThemes.update.enabled\").*" _ m)
- (string-append m ", false);")))
+ (string-append m ", false);"))
+
+ ;; XXX: The autoDisableScopes is tweaked by the makeicecat
+ ;; script, but it doesn't know about Thunderbird. This is
+ ;; necessary to allow picking up the extensions found in the
+ ;; system global application directory, such as the language
+ ;; packs.
+ (("\"extensions.autoDisableScopes\", 15")
+ "\"extensions.autoDisableScopes\", 3"))
;; Step out of the directory and create the tarball.
(chdir "..")
@@ -1386,6 +1394,8 @@ (define-public icedove
(lambda ()
(display
(string-append
+ "ac_add_options --allow-addon-sideload\n"
+ "ac_add_options
--with-unsigned-addon-scopes=app,system\n"
"ac_add_options --disable-crashreporter\n"
"ac_add_options --disable-debug\n"
"ac_add_options --disable-debug-symbols\n"
--
2.39.1
- bug#32026: [PATCH v4 1/9] gnu: Add a 'update-mozilla-locales' helper for maintenance., Maxim Cournoyer, 2023/02/19
- bug#32026: [PATCH v4 2/9] gnu: icedove: Compute a self-contained source., Maxim Cournoyer, 2023/02/19
- bug#32026: [PATCH v4 3/9] gnu: Define %icecat-base-version at the top level., Maxim Cournoyer, 2023/02/19
- bug#32026: [PATCH v4 9/9] gnu: icecat: Unbundle nss and nspr., Maxim Cournoyer, 2023/02/19
- bug#32026: [PATCH v4 8/9] gnu: icecat: Remove gtk+-2 input., Maxim Cournoyer, 2023/02/19
- bug#32026: [PATCH v4 4/9] gnu: Add icecat-l10n and icedove-l10n., Maxim Cournoyer, 2023/02/19
- bug#32026: [PATCH v4 6/9] gnu: Add language packs to icecat and icedove., Maxim Cournoyer, 2023/02/19
- bug#32026: [PATCH v4 5/9] gnu: icedove: Automatically load system-provided extensions.,
Maxim Cournoyer <=
- bug#32026: [PATCH v4 7/9] gnu: icedove: Use the locale of the system., Maxim Cournoyer, 2023/02/19
- bug#32026: [PATCH v4 1/9] gnu: Add a 'update-mozilla-locales' helper for maintenance., Mark H Weaver, 2023/02/19
- bug#32026: [PATCH v4 1/9] gnu: Add a 'update-mozilla-locales' helper for maintenance., Ludovic Courtès, 2023/02/20