From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mMvoOsB572MSMAAAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 13:57:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wN7BOsB572ON6QAAauVa8A (envelope-from ) for ; Fri, 17 Feb 2023 13:57:36 +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 C7DAA10BCB for ; Fri, 17 Feb 2023 13:57:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT0IS-0003Ni-Lp; Fri, 17 Feb 2023 07:57:04 -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 1pT0IR-0003In-8y for bug-guix@gnu.org; Fri, 17 Feb 2023 07:57:03 -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 1pT0IR-0000Zb-0F for bug-guix@gnu.org; Fri, 17 Feb 2023 07:57:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT0IQ-0001t6-SD for bug-guix@gnu.org; Fri, 17 Feb 2023 07:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#32026: [PATCH v3 06/11] gnu: icedove: Automatically load system-provided extensions. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Feb 2023 12:57:02 +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.16766385707149 (code B ref 32026); Fri, 17 Feb 2023 12:57:02 +0000 Received: (at 32026) by debbugs.gnu.org; 17 Feb 2023 12:56:10 +0000 Received: from localhost ([127.0.0.1]:38785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT0HZ-0001r9-Nx for submit@debbugs.gnu.org; Fri, 17 Feb 2023 07:56:10 -0500 Received: from mail-qt1-f180.google.com ([209.85.160.180]:46892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT0HQ-0001oj-Mx for 32026@debbugs.gnu.org; Fri, 17 Feb 2023 07:56:01 -0500 Received: by mail-qt1-f180.google.com with SMTP id u22so532674qtq.13 for <32026@debbugs.gnu.org>; Fri, 17 Feb 2023 04:56:00 -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=aBAKvX7Vz7rd8QPbdNaNIdihFvujrWC4S2FYoCT3bIk=; b=hKzeZuFf82VJI8Wrb/wrTPwPCJsNAsyP9ZzUjiLCgZfB8OsRxVSEb3cD2nJQnvmiCe b9lsaCexn14xFrBXHBdO9YjB4sW8Ev2BNB6lLQljL4y6zw7H5y9x4ATKz5Kk7itBqdQf hWl6ktZY5K0AjxRbn+zvU0ZPqTLrMoMAjPh2zJwbYF79IrPc5Oo2Ki5THEnIzG7Hawq4 bEFrA92XvmAi9nD5mSipx529sk7zkhHhJLao4ZccYu7fu2rTFUNhU1/ofZelAqSn8N2m XyiGlMdcegDSf5nNxoy2AYwP7Su1UCIvbI80KPsfotAACwiCqsChZfzfuqqN57i71jIu 7qLg== 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=aBAKvX7Vz7rd8QPbdNaNIdihFvujrWC4S2FYoCT3bIk=; b=jqINhVmLGO5yFqzxSqr1WZK74XoNP8w3tuBf6Vw9OjkBtAN1q5n3znr1ABue2DcQPS zREoRt4hkqZzhOIWAcjKTjAujQ0b0xk3cvO/WLr8YmG99HpkV/K2aaGMZtZQA5/79GgT V2CEv/A0XhgOKojcMzd2pKu8e3jhbv/knMPbl9UkhWBre3Eg6KlLuBXMXiXLK4R9CN3p C3P7eRQ5HMpHwJQFYHZymSJGBs2Fh0n6jIMCPOpyOtqux2QcRQe40HMSK0iMlv32VEQW 3iBf5sD84ewZW4XondShVZn8onmjOAF/khabwBZYI4dyjizw+qkEUB5SrWGumxIbVWwt PxcA== X-Gm-Message-State: AO0yUKUOMZb2oSjBOP1pIsrFmqWAu3tChW/3sz8D/TRQY8TcGu1SZ+0H Ls+Ed8pBjjt8Ctkm64HpbLtQNGmKR8TWPPtD X-Google-Smtp-Source: AK7set/Vzk2DWLpKUaOH2x03JSYQ8IT3cV7UtW7/LOFcV6bGnF2AyZ5EHLgQFfhWbhoEPWNDm37WkQ== X-Received: by 2002:ac8:604e:0:b0:3b6:45f1:4933 with SMTP id k14-20020ac8604e000000b003b645f14933mr638148qtm.66.1676638555203; Fri, 17 Feb 2023 04:55:55 -0800 (PST) Received: from localhost.localdomain (dsl-157-123.b2b2c.ca. [66.158.157.123]) by smtp.gmail.com with ESMTPSA id f17-20020ac80691000000b003b9b48cdbe8sm3176026qth.58.2023.02.17.04.55.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 04:55:54 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 07:55:33 -0500 Message-Id: <20230217125539.24467-6-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217125539.24467-1-maxim.cournoyer@gmail.com> References: <20230217125539.24467-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-Seal: i=1; s=key1; d=yhetil.org; t=1676638656; a=rsa-sha256; cv=none; b=NRlJk1CpbiTf6gCR7Zavdv3b48j5htcGCvKSVI7R+jYcmDSgy40+v1MEiq89uC45aLKt4Q s44jeZCOZQ1q8Fv4ImciXgMoHVk88Gmnx6KpKVBwaftuWeb+2xTaSOyAq2adi3IbNh+cqx kwG/gwamUNfTYIs9r1Jn8Y0FecdUyEF4J2Li4zrSo91LFyMGCRvcu3ZoMxOXtTwbtd5k4n hUQRJMaN4Vc0qN86clhf1svGZkNtdKDd3XsrdQILxvmpP8nw/FWUOg0pDehWwwP3hkAo6y +vh7dt10ure/NB7+qDyuHJu3hMPVrxUEaiKyuYlcjm9wf7KDa9R0vnuq/BXIbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hKzeZuFf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676638656; 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=aBAKvX7Vz7rd8QPbdNaNIdihFvujrWC4S2FYoCT3bIk=; b=ePMHphlKpMl/sr905a6vVdyj4g80kgZDk+btJpw5xeN/9mgpnTuoY3jUtj9oqVHGne1PvA Jhk3nq5zX/K6LYw8jrAW22G1/RO/kvCb77ThPRu0h+kqgmNr4RYOeMal53ZuiC/AntLXdM LN4WwZlx3ewsAPBoH++Apk1L6wLMkg/eKG4hdpbwzSGZmmAnZTrwxaTx9fcMb/+IWWVtsO Y2pdqKj0KmJweNv5yV9tU781AhzTWrp6i3AjRPyQZIC95UMNqU5IhHfpgrBrgFDwFdRyXC f0WkwZGda6UFunhWv4Ft29kTZxHt4DQoom3YNNpORy5iiQ/Z/eqHsq1D+iYhlg== X-Migadu-Spam-Score: -0.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hKzeZuFf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: C7DAA10BCB X-Migadu-Scanner: scn1.migadu.com X-Spam-Score: -0.03 X-TUID: 7nxDE0Nren5Z * 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 7bc7ad6cec..3ece3f057c 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -1281,7 +1281,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 "..") @@ -1394,6 +1402,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