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

The build path and binary paths are embedded in /usr/share/doc/help/Makefile.gz:

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

  
ACLOCAL·=·${SHELL}·'/build/1st/tiemu-3.04~git20200827.f327e1c+dfsg1/missing'·aclocal-1.16
  vs.
  
ACLOCAL·=·${SHELL}·'/build/2/tiemu-3.04~git20200827.f327e1c+dfsg1/2nd/missing'·aclocal-1.16

  EGREP·=·/bin/grep·-E
  vs.
  EGREP·=·/usr/bin/grep·-E

The attached patch fixes this by not installing the Makefiles, only the
.png and .html files.

It also changes the location of the help files to a tiemu-namespaced
directory; this might require further patching tiemu to look for these
files in the new directory. Maybe /usr/share/tiemu/help would be more
appropriate, as packages cannot rely on the presence of documentation in
/usr/share/doc. Adjust the patches as appropriate!


With this patch applied tiemu should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining tiemu!


live well,
  vagrant
From 32def8c9172c0f6bcce10f0d0ed73dbd104f3a22 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Mon, 15 Aug 2022 04:02:51 +0000
Subject: [PATCH] Only install the .html and .png files, and install them into
 the tiemu documentation namespace.

The Makefiles may contain unreproducible information, and are probably
not necessary on a user installation.
---
 debian/tiemu.install | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/tiemu.install b/debian/tiemu.install
index 9a7e97d..c564a74 100644
--- a/debian/tiemu.install
+++ b/debian/tiemu.install
@@ -1 +1,2 @@
-help usr/share/doc
+help/*.html /usr/share/doc/tiemu/help/
+help/*.png /usr/share/doc/tiemu/help/
-- 
2.37.2

Attachment: signature.asc
Description: PGP signature

Reply via email to