From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id APvRLa3q6mN3FwAAbAwnHQ (envelope-from ) for ; Tue, 14 Feb 2023 02:58:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iMfILa3q6mO0oQAA9RJhRA (envelope-from ) for ; Tue, 14 Feb 2023 02:58:05 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7A3DD30E2C for ; Tue, 14 Feb 2023 02:58:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRkZG-00028u-I0; Mon, 13 Feb 2023 20:57:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRkZB-00025r-W1 for bug-guix@gnu.org; Mon, 13 Feb 2023 20:57:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRkZ6-0003C4-1p for bug-guix@gnu.org; Mon, 13 Feb 2023 20:57:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRkZ5-0007Y3-U4 for bug-guix@gnu.org; Mon, 13 Feb 2023 20:57:03 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#32026: [PATCH 07/10] gnu: icedove: Automatically load system-provided extensions. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Feb 2023 01:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32026 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 32026@debbugs.gnu.org Cc: mhw@netris.org, ludo@gnu.org, Jonathan Brielmaier , Maxim Cournoyer Received: via spool by 32026-submit@debbugs.gnu.org id=B32026.167633979628890 (code B ref 32026); Tue, 14 Feb 2023 01:57:03 +0000 Received: (at 32026) by debbugs.gnu.org; 14 Feb 2023 01:56:36 +0000 Received: from localhost ([127.0.0.1]:52061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRkYe-0007Vs-Hm for submit@debbugs.gnu.org; Mon, 13 Feb 2023 20:56:36 -0500 Received: from mail-qv1-f49.google.com ([209.85.219.49]:46672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRkYY-0007U9-Ch for 32026@debbugs.gnu.org; Mon, 13 Feb 2023 20:56:30 -0500 Received: by mail-qv1-f49.google.com with SMTP id o42so7142696qvo.13 for <32026@debbugs.gnu.org>; Mon, 13 Feb 2023 17:56:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xTqr0tsIvrhEyrL+2iApDHeG0sRg+zWfeckcwb28LL8=; b=jNAcfVg5juoMFtQVbqjOjGSdOFBuA1tPDgHs6KGC34NvbltlZSgSgB9gNe9Lh8gW6D 7ZVPvtnsHsf8c37zTlH9amstSTyF3ERA1zjcxOtvsVcf2mJOq9L9zFfsvqyi8SIFz5gl JshbsLG/r3F69GavRfwvmU42Bpo53gik1CoqbQdIat0IgcqtDwO44DRoHwiWcjX/RdWw 6kK+cNXLamI4hJCnnBKCCnlVuX2Bol3hHc/hghQ95rxc0leQzVEm9faV1adnMxFOJS5j RcpUQFgCldjQBaljStP9RcSmwBwCuHms61D2zxMkMdSEC0ZT8vymLBq+Ie4Uo7zQr6MR kyiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xTqr0tsIvrhEyrL+2iApDHeG0sRg+zWfeckcwb28LL8=; b=u0DWkHCHxgz1IgIZlsWqvUGxY/CY+qS0UGkG46LG5v7O9ATqQID57tsTjgrEKC+dhQ BFW5qaDAjQ+R7pwv8XoX/+EuplDLofvwmFxwH/jiqUcyMk4Oruc38K/ifM56AMbhZ3G1 5Y3BQkcA4ofGuof++Lch+7BSbehNd+Zt50IKrrqOW6I0KddNhLxFFKjoe/5SdUC5/iGs IOfU9m4J86WQvHbTSaq5xY9ZVFmNPHaVWEEIWsiS4gfUykzRkbGNpl8dU4NL9rh4zmwM sUAKQp282HtAzMU20MszcISdhksaeo59gJPmyckAq/XunKKw8ZGNwuyvKrEpHzezgWVz A62w== X-Gm-Message-State: AO0yUKVERQx60ew1ZZQvxooKc1WZINkZEF3Qrg4GZHRwCo6Exzbuob6h XLR6TmftJpn0TIvtXwx76WmMzYGqmMGBfJEV X-Google-Smtp-Source: AK7set+DDIDvF2dWm3EvubL9r0hk37Cb9nBnNuXMT4xpI1czsuNfOMkTwyLOp2TuOt0uuAJQtxJAkA== X-Received: by 2002:a05:6214:1d2c:b0:56e:b347:8dfd with SMTP id f12-20020a0562141d2c00b0056eb3478dfdmr2317306qvd.25.1676339789927; Mon, 13 Feb 2023 17:56:29 -0800 (PST) Received: from localhost.localdomain (dsl-10-133-137.b2b2c.ca. [72.10.133.137]) by smtp.gmail.com with ESMTPSA id p205-20020a3742d6000000b0072a375c291csm10948798qka.30.2023.02.13.17.56.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 17:56:29 -0800 (PST) From: Maxim Cournoyer Date: Mon, 13 Feb 2023 20:55:52 -0500 Message-Id: <20230214015555.8643-8-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230214015555.8643-1-maxim.cournoyer@gmail.com> References: <20230214015555.8643-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676339885; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xTqr0tsIvrhEyrL+2iApDHeG0sRg+zWfeckcwb28LL8=; b=MOjJCewMA7InU1yx+mc8FgZx9fDLh5aN23B6xBSsG9JpxzEi7tmUuI3hFAP64m4su0ZFfo 0EukggkVYncOTIvLlR9Ow4EqIU/TDjt1fcI5qrnTExrjykh7p7AzKc/1VPCEYHyHOlTQiX +v3b6QpNODF8jn3d+UG5USh49PYEI4xYk10C/1engO11JPrqwrjisXsQrA2FvErv5+klLB 51WD7WRnNyPvPBY9hP7Z8gfIe8aJVPkoSnccmjcKKmYxB+fJl77yFnTroJR2NKjYtGnVUG iQ3qLUi5p+uEL8uDQH+Sd4R8Y4r2eYsJfJp2G3L7296VzOdYygs1nSVZ+e+vwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=jNAcfVg5; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676339885; a=rsa-sha256; cv=none; b=pwkQIdHNraFSC1/6qSwV5y4RZagkkUXKUMQl9twOek1XXjCMZMoK6IF37hdfg3t6zzv8DV p+tLr4kocYsz5VV8iWJWaUuybLx4yFW+eVf9z9ef+4oOomgKPb/af4QnALD8BFDOocl5v1 /IvoGdonGzlZyD/rcWykfutbItivgDuC6p50vcCx1xl+LPsZDV2QMPvjzG+3kpzYL+SXej CN9R7B0iwUC55FpHHsL+wft7OhezgOKMsCIFdo/yD7kdrblR2NWjic3K0Zk8p861ZLQyvu nenjQcfYMl9PZPu87rDfQq02bSZdhPGahwUdZNq8fI1Ke1VAPKLO83gVAABZ9A== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.02 X-Spam-Score: -0.02 X-Migadu-Queue-Id: 7A3DD30E2C Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=jNAcfVg5; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-TUID: 5wD2Y6DJJNFh * 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. --- 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 d7c4d6013c..2c83323c64 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -1282,7 +1282,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 "..") @@ -1395,6 +1403,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