[bug#70169,v3,00/13] Reproducible `make dist' tarball in defiance of Autotools and Gettext
| Message ID | cover.1712600307.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 F1B5027BBE9; Mon, 8 Apr 2024 19:48:46 +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=ham 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 A652827BBE2 for <patchwork@mira.cbaines.net>; Mon, 8 Apr 2024 19:48:45 +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 1rtu2D-00044u-4W; Mon, 08 Apr 2024 14:48:01 -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 1rtu27-000428-MX for guix-patches@gnu.org; Mon, 08 Apr 2024 14:47:55 -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 1rtu27-00055x-Dl for guix-patches@gnu.org; Mon, 08 Apr 2024 14:47:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rtu2E-0005WH-9k for guix-patches@gnu.org; Mon, 08 Apr 2024 14:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70169] [PATCH v3 00/13] 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: Mon, 08 Apr 2024 18:48:02 +0000 Resent-Message-ID: <handler.70169.B70169.171260204220825@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.171260204220825 (code B ref 70169); Mon, 08 Apr 2024 18:48:02 +0000 Received: (at 70169) by debbugs.gnu.org; 8 Apr 2024 18:47:22 +0000 Received: from localhost ([127.0.0.1]:47628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1rtu1a-0005Pp-5H for submit@debbugs.gnu.org; Mon, 08 Apr 2024 14:47:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <janneke@gnu.org>) id 1rtu1X-0005PK-VC for 70169@debbugs.gnu.org; Mon, 08 Apr 2024 14:47:21 -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 1rtu1K-0004xA-Ec; Mon, 08 Apr 2024 14:47:06 -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=5xBO67odau2CDwy6RzJmlKckuSEb8CHN7hlPh+PAncQ=; b=QsL5jrYAoPf90x fHqMIEO93FPDMpt6CKC/PFc+c7vbw79+rhlHFLZ7CLfhlHnNLeLpSlcDgso1D1w57YgNfsq4au2Ci Av+n097sZxlUGCSMEojnAIKK0v5RGxh/PJ6SfrXPeCFL6wUn7CqDL9+U4jjE2wkAAaRwAUyKQphGS /4TgcJmrvErtZtTrLH3LAF1vdCWopLj+Iha+/kleCkSQu0MJaPcaepvlBiuHI2aYcTWZYUt/Er9C5 D2Ht9GGzBXbme1JvGsk8nLTceIGaaxFBvkdxJCTmWsVXPDpZFrshy1uhsoWZ3MNiQIc+ugOLJEu+g PTIpTEJ23Y3uqpyBBmtQ==; From: Janneke Nieuwenhuizen <janneke@gnu.org> Date: Mon, 8 Apr 2024 18:46:43 +0000 Message-ID: <cover.1712600307.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 8, 2024, 6:46 p.m. UTC
V3 brings
* Use `1' as fallback for SOURCE_DATE_EPOCH,
* Do not remove %%CreationDate when creating EPS files. Imagemagick's
convert respects SOURCE_DATE_EPOCH (as long as it's not set to `0'!), and
* Graphviz' dot does currently not insert it; add a check for that,
* Update advice when Autotools's version is out of date to say
./bootstrap && ./configure ..., and
* Use "dejavu sans" in DOT sources (already sent as v2 13/12).
I have reset wip-tarball and uploaded
<https://lilypond.org/janneke/guix/guix-1.3.0.57741-0e3053.tar.gz>.
--8<---------------cut here---------------start------------->8---
guix hash guix-1.3.0.57741-0e3053.tar.gz
1d6s9m2pcpcnq1hkxzkqklrlnqcqfib4gypylpr85nqmbn3clrq5
--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 graphviz imagemagick texlive-bin
--8<---------------cut here---------------end--------------->8---
on my machine, it now also reproduces outside a container, in:
--8<---------------cut here---------------start------------->8---
guix shell -m manifest.scm fontconfig graphviz imagemagick texlive-bin
--8<---------------cut here---------------end--------------->8---
Greetings,
Janneke
Janneke Nieuwenhuizen (12):
doc: Use "dejavu sans" instead of "Helvetica" or "sans" in dot images.
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: Avoid EPS generation to fail silently, ensure reproducibility.
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 | 50 +++++++++++++--
build-aux/xgettext.scm | 87 +++++++++++++++++++++++++
doc/guix.texi | 7 +-
doc/images/bootstrap-graph.dot | 52 +++++++--------
doc/images/bootstrap-packages.dot | 32 ++++-----
doc/images/coreutils-bag-graph.dot | 56 ++++++++--------
doc/images/coreutils-graph.dot | 18 +++---
doc/images/gcc-core-mesboot0-graph.dot | 28 ++++----
doc/images/service-graph.dot | 16 ++---
doc/images/shepherd-graph.dot | 54 ++++++++--------
doc/local.mk | 89 +++++++++++++++++++++++---
po/doc/local.mk | 16 +++--
po/guix/Makevars | 7 +-
po/packages/Makevars | 10 ++-
14 files changed, 372 insertions(+), 150 deletions(-)
create mode 100755 build-aux/xgettext.scm
base-commit: 21fad13fffa3b90fdd004c6c5514ae5dfec17492