mbox series

[bug#70169,v2,00/12] Reproducible `make dist' tarball in defiance of Autotools and Gettext

Message ID cover.1712437365.git.janneke@gnu.org
Headers show
Series Reproducible `make dist' tarball in defiance of Autotools and Gettext | expand

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