[bug#70169,v2,00/12] Reproducible `make dist' tarball in defiance of Autotools and Gettext
| Message ID | cover.1712437365.git.janneke@gnu.org |
|---|---|
| Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A992D27BBE9; Sat, 6 Apr 2024 22:19:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0791F27BBE2 for <patchwork@mira.cbaines.net>; Sat, 6 Apr 2024 22:19:15 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1rtDRE-0000MQ-SV; Sat, 06 Apr 2024 17:19:00 -0400 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 <Debian-debbugs@debbugs.gnu.org>) id 1rtDRC-0000Km-3d for guix-patches@gnu.org; Sat, 06 Apr 2024 17:18:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rtDRB-0004RI-Fp for guix-patches@gnu.org; Sat, 06 Apr 2024 17:18:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rtDRH-0000ZH-MQ for guix-patches@gnu.org; Sat, 06 Apr 2024 17:19:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70169] [PATCH v2 00/12] Reproducible `make dist' tarball in defiance of Autotools and Gettext References: <cover.1712165977.git.janneke@gnu.org> In-Reply-To: <cover.1712165977.git.janneke@gnu.org> Resent-From: Janneke Nieuwenhuizen <janneke@gnu.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 Apr 2024 21:19:03 +0000 Resent-Message-ID: <handler.70169.B70169.17124383051792@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70169 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70169@debbugs.gnu.org Received: via spool by 70169-submit@debbugs.gnu.org id=B70169.17124383051792 (code B ref 70169); Sat, 06 Apr 2024 21:19:03 +0000 Received: (at 70169) by debbugs.gnu.org; 6 Apr 2024 21:18:25 +0000 Received: from localhost ([127.0.0.1]:41099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1rtDQe-0000So-Ru for submit@debbugs.gnu.org; Sat, 06 Apr 2024 17:18:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <janneke@gnu.org>) id 1rtDQd-0000Ru-1z for 70169@debbugs.gnu.org; Sat, 06 Apr 2024 17:18:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <janneke@gnu.org>) id 1rtDQR-0004Dl-By; Sat, 06 Apr 2024 17:18:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=EN/2xuhqTlrJCVc4mhPOJ3hBjPiFTsGiST/OWrbFz2Q=; b=lqWpSdhezksVvl NWdz0a6Hk7p4VoPqroe3NSGsInYfDKmiCrHaYEx5TpwqCZl3YwzDTjEHUIXInANdGKvPBk5h54iQ0 G8dpVZHIa7CKV8HM/pdZ4BrCh0N9j7AgHBOdjS/kIn/oTE0mcqtZqb4HMmigE2dDp0XeTSXpwo/5e wb8n374Sd32CdgDOQ7PAREv4z2bJVNui6PxVy9AdNbjJPR/KtLyRKaTxxMNrt99OUUgvCW9LQvxbN nHLfCcm3crMNQgc30uRrES0KR/JsiVPBT7Fc33Ki9PwqLimPHCjhDFK+1G1jcTf1PCQ/lZ+SU49eo cO4EecgFxCKIXRTskdTQ==; From: Janneke Nieuwenhuizen <janneke@gnu.org> Date: Sat, 6 Apr 2024 23:17:52 +0200 Message-ID: <cover.1712437365.git.janneke@gnu.org> X-Mailer: git-send-email 2.41.0 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: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
| Series |
Reproducible `make dist' tarball in defiance of Autotools and Gettext
|
|
Message
Janneke Nieuwenhuizen
April 6, 2024, 9:17 p.m. UTC
Thanks for your support and to all who helped testing!
V2 brings
* Use `override' with GZIP_ENV and am__tar to avoid warnings,
* Add --best to GZIP_ENV (i.e., keep using --best),
* Generate AUTHORS and ChangeLog reproducibly by setting TZ and LC_ALL,
* Use double quotes for file-name variables in amended pot rules,
* Generate POT files reproducibly using a new, naive xgettext.scm script,
* Remove %%CreationDate from generated EPS files,
* Reset CreationDate in generated PDF files,
* Fix dist -> auto-clean -> doc-pot-update dependency,
* Remove more Autotools caches (.am*, m4/, po/),
* Document the expected override warnings for stamp-vti, stamp-N, and
* A toplevel assert that Autotools cache is up-to-date with Git HEAD.
I have reset wip-tarball and uploaded
<https://lilypond.org/janneke/guix/guix-1.3.0.57430-933766.tar.gz>.
--8<---------------cut here---------------start------------->8---
guix hash guix-1.3.0.57430-933766.tar.gz
01v37vp7hcsfbjsrl22wb01aw6incrxn905rmg54l1svz351nri0
--8<---------------cut here---------------end--------------->8---
Note that you'll need an environment with something like
--8<---------------cut here---------------start------------->8---
guix shell -CP -m manifest.scm fontconfig font-ghostscript graphviz \
imagemagick texlive-bin
--8<---------------cut here---------------end--------------->8---
Phew! Almost starting to wonder why didn't I name the initial patch series `A
somewhat more reproducible tarball...' ;)
Greetings,
Janneke
Janneke Nieuwenhuizen (11):
maint: Cater for running `make dist' from a worktree.
maint: Use reproducible timestamps and name for tarball.
maint: Help help2man generate reproducible man-pages.
maint: Generate AUTHORS and ChangeLog reproducibly.
maint: Generate 'doc/version-LANG.texi' reproducibly.
maint: Use xgettext.scm wrapper to create .PO files reproducibly.
maint: Use reproducible Git timestamp for POT-Creation-Date.
maint: Remove %%CreationDate from generated EPS files
maint: Avoid PNG and PDF generation to fail silently.
maint: Reset CreationDate metadata on generated PDFs.
maint: Ensure generated file reproducibility for dist.
Timothy Sample (1):
maint: Generate 'doc/version.texi' reproducibly.
Makefile.am | 51 ++++++++++++++++++++---
build-aux/xgettext.scm | 87 +++++++++++++++++++++++++++++++++++++++
doc/local.mk | 92 ++++++++++++++++++++++++++++++++++++++----
po/doc/local.mk | 16 ++++++--
po/guix/Makevars | 7 +++-
po/packages/Makevars | 10 ++++-
6 files changed, 242 insertions(+), 21 deletions(-)
create mode 100755 build-aux/xgettext.scm
base-commit: df64d48e6f9f648044aa5279c045b8d6f7bee604