Source: ssocr Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The date is embedded in /usr/share/man/man1/ssocr.1.gz: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/ssocr.html TH·ssocr·1·"2023-11-10"·"2.22.1"·"OCR·for·seven·segment·displays" vs. TH·ssocr·1·"2022-10-09"·"2.22.1"·"OCR·for·seven·segment·displays" The attached patch to the upstream Makefile fixes this by using SOURCE_DATE_EPOCH to determine the date to embed in the manpage. According to my local tests, with this patch applied, and the patch applied to fix build paths from #1021514, ssocr should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining ssocr! live well, vagrant
From 72522a777380147442bb9108fbcad2422b7acc32 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sun, 9 Oct 2022 23:10:05 +0000 Subject: [PATCH 1/2] Makefile: Use SOURCE_DATE_EPOCH for the date embedded in manpage. https://reproducible-builds.org/docs/source-date-epoch/ --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 556bbde..1ca185f 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ charset.o: charset.c charset.h defines.h help.h Makefile ssocr.1: ssocr.1.in Makefile defines.h sed -e 's/@VERSION@/$(VERSION)/' \ - -e "s/@DATE@/$(shell date +%Y-%m-%d)/" \ + -e "s/@DATE@/$(shell date --utc --date=@(SOURCE_DATE_EPOCH) +%Y-%m-%d)/" \ -e 's/@CRYEARS@/$(CRYEARS)/' <$< >$@ ssocr-manpage.html: ssocr.1 -- 2.37.2
signature.asc
Description: PGP signature