Source: syncevolution
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The README, README.html and syncevolution manpage embeds the build
timestamp:

  
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/syncevolution.html

  /usr/share/doc/syncevolution/README.gz
  
  :Date:·2022-12-28
  vs.
  :Date:·2021-11-25

  /usr/share/man/man1/syncevolution.1.gz

  .TH·"SYNCEVOLUTION"·1·"2022-12-28"·"2.0.0"·""
  vs.
  .TH·"SYNCEVOLUTION"·1·"2021-11-25"·"2.0.0"·""

The attached patch fixes these files by not replacing the release date
in these files from Makefile.am.

An alternate approach might be to remove the dates from the relevent
source files entirely.


With this patch applied, syncevolution should build reproducibly on
tests.reproducible-builds.org.


Thanks for maintaining syncevolution!


live well,
  vagrant
From dc3eb847d180baf0b3ec0151123fa66ebeb15108 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Tue, 30 Nov 2021 22:33:15 +0000
Subject: [PATCH] Makefile.am: Do not update the datestatmps in the various
 .rst files.

https://reproducible-builds.org/docs/timestamps/
---
 Makefile.am | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 9c550951..68533f9c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -351,7 +351,6 @@ README.patched.rst: README.rst src/syncevolution
 	                -e 'sub run { $$cmd = shift; $$buffer = `env LD_LIBRARY_PATH=src/syncevo/.libs:src/gdbusxx/.libs:src/build-synthesis/src/.libs:$$ENV{LD_LIBRARY_PATH} $$cmd`; $(RUN_SYNCEVOLUTION_CHECK) }' \
 	                -e 'while (<>) {' \
 	                -e 's/^:Version: .*/:Version: $(VERSION)/;' \
-	                -e 's/:Date: .*/":Date: " . `date +%Y-%m-%d`/e;' \
 	                -e 'if (s;(<< see "syncevolution --sync-property ." >>\n);run("src/syncevolution --daemon=no --sync-property ?") || $$1;e) { $$syncfound=1; }' \
 	                -e 'if (s;(<< see "syncevolution --datastore-property ." >>\n);run("src/syncevolution --daemon=no --source-property ?") || $$1;e) { $$sourcefound=1; }' \
 	                -e 'print;' \
@@ -365,7 +364,6 @@ else
 README.patched.rst: README.rst
 	$(AM_V_GEN)perl -p \
 	                -e 's/^:Version: .*/:Version: $(VERSION)/;' \
-	                -e 's/:Date: .*/":Date: " . `date +%Y-%m-%d`/e;' \
 	                $< >$@
 endif
 CLEANFILES += README.patched.rst
-- 
2.34.1

Attachment: signature.asc
Description: PGP signature

Reply via email to