From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 +H/PKxkWAmTndAAAbAwnHQ (envelope-from ) for ; Fri, 03 Mar 2023 16:45:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QALiKxkWAmSONgAA9RJhRA (envelope-from ) for ; Fri, 03 Mar 2023 16:45:29 +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 755882E9F0 for ; Fri, 3 Mar 2023 16:45:29 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Rp1Jxmt9; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677858329; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=aK75py/t0pv5a0MDsGk/KsAhcqX4iKoQH8EkWQiQw5M=; b=EDq6DHd1N4jPAlK8jL7+h8i9a/BNiMM0i5q/BUgU7lOKVk4W46pu/XOQWdv9Gw4yTrVNWi 2zTt0yQ5mAausJaxz9QgFIO394HCCwFE7mA/0b+tnvOHpT7f2Ag12/bNeSSrpD2pTunbi4 ZffDlBPSFMS3xCCnHu1WRNLJgfw4I5ShruUlSnLMMLalGujtH15w9kmCPPm4sHd2YsgJyR mAKF9QTuTsSj3wlrNHZhCVoBESJJvmHXSgwEpJR0K7sCTebVtBMgu5YaXOuoxcHr++VdGx YOPvFWzfsWOESBrXdsZYareYPm/2ifWbSy6NBkW6slmFQpPFRse5FJ1d9fkdWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Rp1Jxmt9; 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=1677858329; a=rsa-sha256; cv=none; b=ZsDLcCHS1i3u+yo4U1rNI01W/+n/k4UNC+qJ7LX2dU8QU20lItjjbYHNYGDbFVd1sVxWXi 3gmKZOLolu6ImHLSJ0d4ZP9DRWViqaAR/eAeGN4CNuea84Sx4T46gKzYo/aD945aYumuIB eKARYaOzJbEOJg3p2yu7KBM5LGqS+UqfnSI5PMGaoGLipes+rIEeIFN2o2kvt2+qNDI+Ra /IzFqCCG0LnNHVKqRf4CdZJ2MW0AG1u7XwHgtZ8io0uEiqILAnwmAdo9pvHf1r0fya/8Om 6WlaZtiP06znZfZ02dAuqFxR5+oiiXalSNnzobtbKeNDI0OhWHa5KbV69aDfCw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pY7as-00023Y-8y; Fri, 03 Mar 2023 10:45:15 -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 1pY7ag-0001tk-Py for bug-guix@gnu.org; Fri, 03 Mar 2023 10:45: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 1pY7ag-0006Cd-EE for bug-guix@gnu.org; Fri, 03 Mar 2023 10:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pY7af-0003rY-QL for bug-guix@gnu.org; Fri, 03 Mar 2023 10:45:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61914: IceCat does not start with en_GB.utf8 locale Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 03 Mar 2023 15:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61914 X-GNU-PR-Package: guix X-GNU-PR-Keywords: moreinfo To: Timo Wilken Cc: 61914@debbugs.gnu.org Received: via spool by 61914-submit@debbugs.gnu.org id=B61914.167785828414813 (code B ref 61914); Fri, 03 Mar 2023 15:45:01 +0000 Received: (at 61914) by debbugs.gnu.org; 3 Mar 2023 15:44:44 +0000 Received: from localhost ([127.0.0.1]:33720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY7aN-0003qq-VY for submit@debbugs.gnu.org; Fri, 03 Mar 2023 10:44:44 -0500 Received: from mail-qt1-f177.google.com ([209.85.160.177]:44001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY7aM-0003qc-J2 for 61914@debbugs.gnu.org; Fri, 03 Mar 2023 10:44:43 -0500 Received: by mail-qt1-f177.google.com with SMTP id cf14so3232517qtb.10 for <61914@debbugs.gnu.org>; Fri, 03 Mar 2023 07:44:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=aK75py/t0pv5a0MDsGk/KsAhcqX4iKoQH8EkWQiQw5M=; b=Rp1Jxmt9YRi7eplUefVpUWhS3UlPU89dUQYXJtyNWw4faj+CqBV53Q3/yDDPeSTgbA KINakxQZXIDz8ecEBtSznLwbqDyWCLy5KwRzCuiGKy8Drc7TF8R4P+pb64RG8u46FQiO nwYOahhToXiHFqVYfc5PLM6Akd0H5+tY/utX8FndsKFQE4Plgg/UrrQK4oGC40iv4Yof wFFssxhqoZx//E3ExKN+HIsZsNIqgfImLn4TfO2y8qPYKBWiwooV9mdu9NRmWtK5dtFq PO7BfOXTRDTrwdLHQaF7Ci0bAjeT/02jnhWfNIa1/d7IcQzK4URsCzPQrtY0q9bs8yPE Dlsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aK75py/t0pv5a0MDsGk/KsAhcqX4iKoQH8EkWQiQw5M=; b=t+9Mg093ukXkfGOnw+QZ6gls3mpCJh47YfrBS0y/J1fG5yoxqtvm6bmZppJTm/nf6F DUPwuz1xdquirh8DYjrmqVj2Vcsg5YxaJ7B/3VTqTv8BNGtKH/d4bHDU1MYB5NlDQTFm Qoj9ZS8MUz2q1eh406DkwpEcEO0466nafCW01iSEPbYuy0m1NxXWGuH+/vxFjX35jpaf YjS80Vgjv6s8OVAvqw18z+6G0kQ16KrevrytK7CvYg3LThEOiNOfCarJCW+au9EQuseg b2hB/t7hN5XRZ0y1r8lvFYzW9NcNMSdI6QzhZ8FyeEQl5HEjtZuDsmMaRjWVakwwIBj7 UX/w== X-Gm-Message-State: AO0yUKWSIra7moqDI9kYMLK+iAHXQ4kDPdcYqbO96a9DJgPfKcNsN0+d WqIkUQ2w6LCwfdU7YGvwVUXFy4DSVAk9yw== X-Google-Smtp-Source: AK7set/Fg17uq/ZjnmFbYZpaP3BzXnBwTVUE+Cge5tj3WmiM4VmCMi/0qn9NE6BPzcLl689cKLWatQ== X-Received: by 2002:ac8:7d05:0:b0:3b8:4951:57b7 with SMTP id g5-20020ac87d05000000b003b8495157b7mr4081377qtb.20.1677858276720; Fri, 03 Mar 2023 07:44:36 -0800 (PST) Received: from hurd (dsl-10-129-180.b2b2c.ca. [72.10.129.180]) by smtp.gmail.com with ESMTPSA id e10-20020a05620a014a00b0071a02d712b0sm1939893qkn.99.2023.03.03.07.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 07:44:36 -0800 (PST) From: Maxim Cournoyer References: <878rgfgq54.fsf@gmail.com> <87edq6errc.fsf@gmail.com> Date: Fri, 03 Mar 2023 10:44:30 -0500 In-Reply-To: <87edq6errc.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 02 Mar 2023 17:02:31 -0500") Message-ID: <87sfel4z6p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: X-Migadu-Spam-Score: -1.60 X-Spam-Score: -1.60 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 755882E9F0 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 X-TUID: 0soaw6p1XGI8 Hi, Maxim Cournoyer writes: [...] > Browsing about:config, I see: > > extensions.systemAddon.update.enabled false > > I wonder if this could make a different to be set to true instead. It's > set to false by the makeicecat.sh script we run to transform the Firefox > source into GNU IceCat. I guess we'll have to look at the source for > more clues as to how language pack updates are handled exactly. I have the same problem, where the French language pack I used with a previous version of IceCat (102.7.0) is not updating to the system-provided one. Setting 'extensions.systemAddon.update.enabled' to 'true' does not help. I've now reported the issue upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1820196. I've also taken a peek at the source, and it seems the update/cache of language pack modules would be handled in the toolkit/mozapps/extensions/internal/XPIDatabase.jsm, e.g. in processFileChanges and updateExistingAddon. It seems the cache should be invalidated in our situation, based on the comment and logic: --8<---------------cut here---------------start------------->8--- /** * Updates the databse metadata for an existing add-on during database * reconciliation. * * @param {AddonInternal} oldAddon * The existing database add-on entry. * @param {XPIState} xpiState * The XPIStates entry for this add-on. * @param {AddonInternal?} newAddon * The new add-on metadata for the add-on, as loaded from a * staged update in addonStartup.json. * @param {boolean} aUpdateCompatibility * true to update add-ons appDisabled property when the application * version has changed * @param {boolean} aSchemaChange * The schema has changed and all add-on manifests should be re-read. * @returns {AddonInternal?} * The updated AddonInternal object for the add-on, if one * could be created. */ updateExistingAddon( oldAddon, xpiState, newAddon, aUpdateCompatibility, aSchemaChange ) { XPIDatabase.recordAddonTelemetry(oldAddon); let installLocation = oldAddon.location; // Update the add-on's database metadata from on-disk metadata if: // // a) The add-on was staged for install in the last session, // b) The add-on has been modified since the last session, or, // c) The app has been updated since the last session, and the // add-on is part of the application bundle (and has therefore // likely been replaced in the update process). if ( newAddon || oldAddon.updateDate != xpiState.mtime || (aUpdateCompatibility && this.isAppBundledLocation(installLocation)) ) { newAddon = this.updateMetadata( installLocation, oldAddon, xpiState, newAddon ); } else if (oldAddon.path != xpiState.path) { newAddon = this.updatePath(installLocation, oldAddon, xpiState); } else if (aUpdateCompatibility || aSchemaChange) { newAddon = this.updateCompatibility( installLocation, oldAddon, xpiState, aSchemaChange ); } else { newAddon = oldAddon; } if (newAddon) { newAddon.rootURI = newAddon.rootURI || xpiState.rootURI; } return newAddon; }, --8<---------------cut here---------------end--------------->8--- To be continued... -- Thanks, Maxim