From unknown Sat Jun 14 19:27:34 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48165] [PATCH] nls: Do not update po files on first make invocation. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 02 May 2021 20:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48165 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48165@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16199870141455 (code B ref -1); Sun, 02 May 2021 20:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 May 2021 20:23:34 +0000 Received: from localhost ([127.0.0.1]:44526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldIcl-0000NP-Dw for submit@debbugs.gnu.org; Sun, 02 May 2021 16:23:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:56566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldIcg-0000NI-Vc for submit@debbugs.gnu.org; Sun, 02 May 2021 16:23:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldIcg-0003Hg-Fh for guix-patches@gnu.org; Sun, 02 May 2021 16:23:26 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:53460) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldIcZ-0002bu-MK for guix-patches@gnu.org; Sun, 02 May 2021 16:23:26 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 754f6e33 for ; Sun, 2 May 2021 20:23:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type; s=dkim; bh=K6o y0/TPZCzUQxBRAzB3blkQl2mgUfeJAULnPp1a9fE=; b=gWyxEk8XFXlySiqDL4p iTza+7Zz4x6aogsR+IABzwv2hiU1nVhuvRPvQgt6Naoha8PV5Blod+xjiyry39gJ v/99GNi0CK03+o5kyXF1voUg09ksRKeFmaY77AjH7hnxwl5fLQuRBzE/+EdIVAK2 Hal3d8KGLopGWQJCGlVuEvfEJpa9AmS1Qn2SQqbgawQhbpPbZkEambNXkPzuowA8 gAXxneaHjLLxMYHH6KPPi3VQ1bVl6RPeu3cNdl5LvSjPEpFK/DyYf7rb+tnY01p0 PMhS/NiAP4qhRJvH0iLDqu8EK7YyauMCye4k1UNwKwlKgSzRK0iRnw32bWdJeMZM IOA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 234409db (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 2 May 2021 20:23:11 +0000 (UTC) Date: Sun, 2 May 2021 22:23:05 +0200 From: Julien Lepiller Message-ID: <20210502222305.56a357f1@tachikoma.lepiller.eu> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/yk04EmJF9iZ+fi4NpDtyRmL" Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --MP_/yk04EmJF9iZ+fi4NpDtyRmL Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Guix, As you probably know, after the first make in a clean checkout of the guix repository, po files are dirty and we advertise to run "git checkout po" to get them clean again. This was caused by the gettext generated makefile that wanted to build the mo (compiled po) files, and these po files depend on the pot that needs to be generated. In newer versions of gettext (at least 0.19.1 from 4 years ago), there is an option, PO_DEPENDS_ON_POT that I set to "no", so this patch updates the minimal gettext version to 0.19.1 and makes use of that variable, that removes the dependency from the po files to the pot file. This means that when make tries to generate the mo files, it can do so immediately, without needing to generate the pot file nor update the po files that depended on the pot. As this patch updates the minimal requirement for gettext to 0.19.1, I'm not sure what's the impact. This is a version from 4 years ago (0.18.1 was from 6 years ago). We currently have gettext 0.20.1, and debian jessie has 0.19.3, so I don't think this change will negatively affect our users: - developpers should already use guix environment guix which provides a good version. - packagers of guix on other distros might have a harder time, but even debian seems to have a recent enough version WDYT? --MP_/yk04EmJF9iZ+fi4NpDtyRmL Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-nls-Do-not-update-po-files-on-first-make-invocation.patch >From cc0549322000a319ecdb82b6cbcfd209a134e507 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 2 May 2021 22:12:16 +0200 Subject: [PATCH] nls: Do not update po files on first make invocation. We need to update the minimal gettext version to take advantage of new features. Before this patch, the first make invocation would modify po/guix and po/packages po files, and we advised to run `git checkout po` to clean the changes. * configure.ac (AM_GNU_GETTEXT_VERSION): Update to 0.19.1. * po/guix/Makevars: Set PO_DEPENDS_ON_POT to no. * po/packages/Makevars: Set PO_DEPENDS_ON_POT to no. --- configure.ac | 2 +- po/guix/Makevars | 5 +++++ po/packages/Makevars | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e5d339f6ec..c64993f4a7 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ dnl For the C++ code. This must be used early. AC_USE_SYSTEM_EXTENSIONS AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.18.1]) +AM_GNU_GETTEXT_VERSION([0.19.1]) GUIX_SYSTEM_TYPE GUIX_ASSERT_SUPPORTED_SYSTEM diff --git a/po/guix/Makevars b/po/guix/Makevars index 363bf98dfd..88a4e8c7bc 100644 --- a/po/guix/Makevars +++ b/po/guix/Makevars @@ -26,3 +26,8 @@ EXTRA_LOCALE_CATEGORIES = # "make distcheck -j4". # See . DIST_DEPENDS_ON_UPDATE_PO = no + +# Ignore the timestamp of the .pot file, as .po files are updated by +# `make download-po` only. This ensures po files are not modified on the +# first `make` invocation. +PO_DEPENDS_ON_POT = no diff --git a/po/packages/Makevars b/po/packages/Makevars index 39366fbee9..4cdb98d8fe 100644 --- a/po/packages/Makevars +++ b/po/packages/Makevars @@ -22,3 +22,8 @@ EXTRA_LOCALE_CATEGORIES = # "make distcheck -j4". # See . DIST_DEPENDS_ON_UPDATE_PO = no + +# Ignore the timestamp of the .pot file, as .po files are updated by +# `make download-po` only. This ensures po files are not modified on the +# first `make` invocation. +PO_DEPENDS_ON_POT = no -- 2.31.1 --MP_/yk04EmJF9iZ+fi4NpDtyRmL-- From unknown Sat Jun 14 19:27:34 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Julien Lepiller Subject: bug#48165: closed (Re: bug#48165: [PATCH] nls: Do not update po files on first make invocation.) Message-ID: References: <87a6pcnd4p.fsf@gmail.com> <20210502222305.56a357f1@tachikoma.lepiller.eu> X-Gnu-PR-Message: they-closed 48165 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 48165@debbugs.gnu.org Date: Mon, 03 May 2021 13:47:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1620049622-17753-1" This is a multi-part message in MIME format... ------------=_1620049622-17753-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48165: [PATCH] nls: Do not update po files on first make invocation. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48165@debbugs.gnu.org. --=20 48165: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48165 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1620049622-17753-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48165-done) by debbugs.gnu.org; 3 May 2021 13:46:56 +0000 Received: from localhost ([127.0.0.1]:46496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldYuV-0004c7-Qh for submit@debbugs.gnu.org; Mon, 03 May 2021 09:46:56 -0400 Received: from mail-qv1-f49.google.com ([209.85.219.49]:35471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldYuT-0004c0-Mo for 48165-done@debbugs.gnu.org; Mon, 03 May 2021 09:46:54 -0400 Received: by mail-qv1-f49.google.com with SMTP id q6so1406630qvb.2 for <48165-done@debbugs.gnu.org>; Mon, 03 May 2021 06:46:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=0pGWH9Hijvja2IqMpz28Yw6y1SSlDLQdScmwQsTY4rQ=; b=CVU8Ha/3JyWQL4c4gMChHS/fYlQld1qEPSgWnMrVg0xYKKR5lt1RBc9SMZRzU4D27r 5AVADUhgbaZI3Gjqq2/1KP4SIo/WDw4dIky6n+I0jn/20DBZFp+e7fYkB9JNdwdJ5o5p tYgLcWuciyhyt/kbxhxH4SoN9onxl2Hx6Ex+vk7PHhc67u/osww4yv6wOAxd/AC8FfmV Bv/V1rUR9pTNppUoows6z8pb+3QMUWbLSgAisqG1tvgnXCq1dV2DHM7qYOq3RWcY2sgk P3PV5WsSXFGSsmZMZFgBhDZRXAtgj4pVzVkPc66YSi4q4VX+4R4QU3AIDOeEt5zl/EvA AyGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=0pGWH9Hijvja2IqMpz28Yw6y1SSlDLQdScmwQsTY4rQ=; b=COo8ScRVZKESr5MBoR0JzRFwI8IlhiwfGCp9YGWKS2x49WALXrlzUjlUFdQSrLc57m cyAlB4VFlvfbndYDkPCw14gTMsKYgba4XCTF59k1tIz/PVUsXEbVQCTtQlENeV/seHhv mo4eTJeyMIMc+JsBR2ryb0bYbbn7gA3W2C/fjlQ4gxqBLzpOE1l8SZ3Qu/OKBOJDm9+K hnXwgYlDCWfdMebJLeDbUXlNRvpMuZnrWm83951wwGLyjjUl1JgDOmb9h7PA2zie8mci 5y50ZXDjSYC4A33WRN6kjjzTtEizIK66MKa8b0+Kj6yk58p6H6C4iS77FizAdJ8XtXye 1yWA== X-Gm-Message-State: AOAM533NVLnjpcMRdkHd4lfcFzXPRjs6f7Z8tEjR0rSQyVE/T7TPnn6R lJCml3zSabSq5pGaQ3CR7VpY24SIDwA= X-Google-Smtp-Source: ABdhPJyJNjzo4aH1ptohZRasPzb68KwF8QNuDxgJazfUvVjmiNbRvp64Rkemu1OsxFTlYDWHMB1Q8g== X-Received: by 2002:a0c:c446:: with SMTP id t6mr9804818qvi.3.1620049608055; Mon, 03 May 2021 06:46:48 -0700 (PDT) Received: from hurd (dsl-10-134-43.b2b2c.ca. [72.10.134.43]) by smtp.gmail.com with ESMTPSA id r1sm9105515qtt.3.2021.05.03.06.46.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 06:46:47 -0700 (PDT) From: Maxim Cournoyer To: Julien Lepiller Subject: Re: bug#48165: [PATCH] nls: Do not update po files on first make invocation. References: <20210502222305.56a357f1@tachikoma.lepiller.eu> Date: Mon, 03 May 2021 09:46:46 -0400 In-Reply-To: <20210502222305.56a357f1@tachikoma.lepiller.eu> (Julien Lepiller's message of "Sun, 2 May 2021 22:23:05 +0200") Message-ID: <87a6pcnd4p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48165-done Cc: 48165-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Julien! Julien Lepiller writes: > Hi Guix, > > As you probably know, after the first make in a clean checkout of the > guix repository, po files are dirty and we advertise to run "git > checkout po" to get them clean again. This was caused by the gettext > generated makefile that wanted to build the mo (compiled po) files, and > these po files depend on the pot that needs to be generated. > > In newer versions of gettext (at least 0.19.1 from 4 years ago), there > is an option, PO_DEPENDS_ON_POT that I set to "no", so this patch > updates the minimal gettext version to 0.19.1 and makes use of that > variable, that removes the dependency from the po files to the pot file. > > This means that when make tries to generate the mo files, it can do so > immediately, without needing to generate the pot file nor update the po > files that depended on the pot. > > As this patch updates the minimal requirement for gettext to 0.19.1, > I'm not sure what's the impact. This is a version from 4 years ago > (0.18.1 was from 6 years ago). We currently have gettext 0.20.1, and > debian jessie has 0.19.3, so I don't think this change will negatively > affect our users: > > - developpers should already use guix environment guix which provides a > good version. > - packagers of guix on other distros might have a harder time, but even > debian seems to have a recent enough version > > WDYT? It seems even RHEL 8 is using 0.19; I don't think it'll cause a problem. Thank you for this nice improvement! I've merged it to the version-1.3.0 branch. Closing. Maxim ------------=_1620049622-17753-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 May 2021 20:23:34 +0000 Received: from localhost ([127.0.0.1]:44526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldIcl-0000NP-Dw for submit@debbugs.gnu.org; Sun, 02 May 2021 16:23:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:56566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldIcg-0000NI-Vc for submit@debbugs.gnu.org; Sun, 02 May 2021 16:23:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldIcg-0003Hg-Fh for guix-patches@gnu.org; Sun, 02 May 2021 16:23:26 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:53460) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldIcZ-0002bu-MK for guix-patches@gnu.org; Sun, 02 May 2021 16:23:26 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 754f6e33 for ; Sun, 2 May 2021 20:23:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type; s=dkim; bh=K6o y0/TPZCzUQxBRAzB3blkQl2mgUfeJAULnPp1a9fE=; b=gWyxEk8XFXlySiqDL4p iTza+7Zz4x6aogsR+IABzwv2hiU1nVhuvRPvQgt6Naoha8PV5Blod+xjiyry39gJ v/99GNi0CK03+o5kyXF1voUg09ksRKeFmaY77AjH7hnxwl5fLQuRBzE/+EdIVAK2 Hal3d8KGLopGWQJCGlVuEvfEJpa9AmS1Qn2SQqbgawQhbpPbZkEambNXkPzuowA8 gAXxneaHjLLxMYHH6KPPi3VQ1bVl6RPeu3cNdl5LvSjPEpFK/DyYf7rb+tnY01p0 PMhS/NiAP4qhRJvH0iLDqu8EK7YyauMCye4k1UNwKwlKgSzRK0iRnw32bWdJeMZM IOA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 234409db (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 2 May 2021 20:23:11 +0000 (UTC) Date: Sun, 2 May 2021 22:23:05 +0200 From: Julien Lepiller To: guix-patches@gnu.org Subject: [PATCH] nls: Do not update po files on first make invocation. Message-ID: <20210502222305.56a357f1@tachikoma.lepiller.eu> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/yk04EmJF9iZ+fi4NpDtyRmL" Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --MP_/yk04EmJF9iZ+fi4NpDtyRmL Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Guix, As you probably know, after the first make in a clean checkout of the guix repository, po files are dirty and we advertise to run "git checkout po" to get them clean again. This was caused by the gettext generated makefile that wanted to build the mo (compiled po) files, and these po files depend on the pot that needs to be generated. In newer versions of gettext (at least 0.19.1 from 4 years ago), there is an option, PO_DEPENDS_ON_POT that I set to "no", so this patch updates the minimal gettext version to 0.19.1 and makes use of that variable, that removes the dependency from the po files to the pot file. This means that when make tries to generate the mo files, it can do so immediately, without needing to generate the pot file nor update the po files that depended on the pot. As this patch updates the minimal requirement for gettext to 0.19.1, I'm not sure what's the impact. This is a version from 4 years ago (0.18.1 was from 6 years ago). We currently have gettext 0.20.1, and debian jessie has 0.19.3, so I don't think this change will negatively affect our users: - developpers should already use guix environment guix which provides a good version. - packagers of guix on other distros might have a harder time, but even debian seems to have a recent enough version WDYT? --MP_/yk04EmJF9iZ+fi4NpDtyRmL Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-nls-Do-not-update-po-files-on-first-make-invocation.patch >From cc0549322000a319ecdb82b6cbcfd209a134e507 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 2 May 2021 22:12:16 +0200 Subject: [PATCH] nls: Do not update po files on first make invocation. We need to update the minimal gettext version to take advantage of new features. Before this patch, the first make invocation would modify po/guix and po/packages po files, and we advised to run `git checkout po` to clean the changes. * configure.ac (AM_GNU_GETTEXT_VERSION): Update to 0.19.1. * po/guix/Makevars: Set PO_DEPENDS_ON_POT to no. * po/packages/Makevars: Set PO_DEPENDS_ON_POT to no. --- configure.ac | 2 +- po/guix/Makevars | 5 +++++ po/packages/Makevars | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e5d339f6ec..c64993f4a7 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ dnl For the C++ code. This must be used early. AC_USE_SYSTEM_EXTENSIONS AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.18.1]) +AM_GNU_GETTEXT_VERSION([0.19.1]) GUIX_SYSTEM_TYPE GUIX_ASSERT_SUPPORTED_SYSTEM diff --git a/po/guix/Makevars b/po/guix/Makevars index 363bf98dfd..88a4e8c7bc 100644 --- a/po/guix/Makevars +++ b/po/guix/Makevars @@ -26,3 +26,8 @@ EXTRA_LOCALE_CATEGORIES = # "make distcheck -j4". # See . DIST_DEPENDS_ON_UPDATE_PO = no + +# Ignore the timestamp of the .pot file, as .po files are updated by +# `make download-po` only. This ensures po files are not modified on the +# first `make` invocation. +PO_DEPENDS_ON_POT = no diff --git a/po/packages/Makevars b/po/packages/Makevars index 39366fbee9..4cdb98d8fe 100644 --- a/po/packages/Makevars +++ b/po/packages/Makevars @@ -22,3 +22,8 @@ EXTRA_LOCALE_CATEGORIES = # "make distcheck -j4". # See . DIST_DEPENDS_ON_UPDATE_PO = no + +# Ignore the timestamp of the .pot file, as .po files are updated by +# `make download-po` only. This ensures po files are not modified on the +# first `make` invocation. +PO_DEPENDS_ON_POT = no -- 2.31.1 --MP_/yk04EmJF9iZ+fi4NpDtyRmL-- ------------=_1620049622-17753-1--