Source: xpenguins Version: 3.2.4-2 Severity: wishlist Tags: patch User: [email protected] Usertags: timestamps X-Debbugs-Cc: [email protected]
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that xpenguins could not be built reproducibly. This is because the manual package is generated with the current date. I've attached a patch that seeds this date from SOURCE_DATE_EPOCH, if available. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` [email protected] / chris-lamb.co.uk `-
--- a/debian/patches/reproducible-build.patch 1969-12-31 16:00:00.000000000 -0800 --- b/debian/patches/reproducible-build.patch 2026-05-22 08:52:21.685326234 -0700 @@ -0,0 +1,18 @@ +Description: Make the build reproducible +Author: Chris Lamb <[email protected]> +Last-Update: 2026-05-22 + +--- xpenguins-3.2.4.orig/Makefile.am ++++ xpenguins-3.2.4/Makefile.am +@@ -24,8 +24,10 @@ EXTRA_DIST = lay-out-frames.scm resize-f + + man_MANS = xpenguins.1 + ++BUILD_DATE = $(shell date --utc --date=@$(or $(SOURCE_DATE_EPOCH),$(shell date +%s)) "+%B %Y") ++ + xpenguins.1: xpenguins.1.tmpl +- sed "s'SYSTEMTHEMES'$(datadir)/xpenguins/themes/*';s/VERSION/$(VERSION)/;s/DATE/`date +'%B %Y'`/" < $< > $@ ++ sed "s'SYSTEMTHEMES'$(datadir)/xpenguins/themes/*';s/VERSION/$(VERSION)/;s/DATE/$(BUILD_DATE)/" < $< > $@ + + tarfile = $(top_builddir)/xroachng-$(VERSION).tar.gz + --- a/debian/patches/series 1969-12-31 16:00:00.000000000 -0800 --- b/debian/patches/series 2026-05-22 08:38:46.010022246 -0700 @@ -0,0 +1 @@ +reproducible-build.patch

