Package: rheolef
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps timezone
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Various .pdf files include the build date:
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/rheolef.html
/usr/share/doc/rheolef-doc/rheolef.pdf
version·7.1·update·21·March·2020
vs.
version·7.1·update·22·March·2020
It appears to respect SOURCE_DATE_EPOCH but without respecting the
timezone.
The attached patch fixes this by removing calls to the LASTUPDATE
function from several .tex and .sty source files, avoiding embedding the
date entirely.
Thanks for maintaining rheolef!
live well,
vagrant
From 71cab484bb98e49859f8a2b414ac931375d2cf35 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian
Date: Fri, 25 Dec 2020 09:39:37 +
Subject: [PATCH] Remove uses of LASTUPDATE command to avoid embedding the
build date in generated Documentation.
https://reproducible-builds.org/docs/timestamps/
---
doc/usrman/rheolef.sty | 2 +-
doc/usrman/rheolef.tex | 2 +-
doc/usrman/rheolef_hdg.tex | 2 +-
fem/lib/internals_basis.sty | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/usrman/rheolef.sty b/doc/usrman/rheolef.sty
index 71291d4..ed06e77 100644
--- a/doc/usrman/rheolef.sty
+++ b/doc/usrman/rheolef.sty
@@ -123,7 +123,7 @@ newton,damped\_newton%
\usepackage{fancyhdr}
\pagestyle{fancy}
\input{version}
-\newcommand{\BANNER} {\Rheolef\ version \VERSION\ update \LASTUPDATE}
+\newcommand{\BANNER} {\Rheolef\ version \VERSION}
%\lhead[{\bf \thepage}]{\BANNER}
%\rhead[\BANNER]{\bf \thepage}
\chead{}
diff --git a/doc/usrman/rheolef.tex b/doc/usrman/rheolef.tex
index 5b8af1c..70ff7ba 100644
--- a/doc/usrman/rheolef.tex
+++ b/doc/usrman/rheolef.tex
@@ -20,7 +20,7 @@
\end{Large}
\vfill
\begin{Large}
- {version \VERSION\ update \LASTUPDATE}
+ {version \VERSION}
\end{Large}
\vfill
\end{center}
diff --git a/doc/usrman/rheolef_hdg.tex b/doc/usrman/rheolef_hdg.tex
index 723cbb5..6c4d5d1 100644
--- a/doc/usrman/rheolef_hdg.tex
+++ b/doc/usrman/rheolef_hdg.tex
@@ -23,7 +23,7 @@
\end{Large}
\vfill
\begin{Large}
- {version \VERSION\ update \LASTUPDATE}
+ {version \VERSION}
\end{Large}
\vfill
\end{center}
diff --git a/fem/lib/internals_basis.sty b/fem/lib/internals_basis.sty
index 893ec6f..914b8c8 100644
--- a/fem/lib/internals_basis.sty
+++ b/fem/lib/internals_basis.sty
@@ -114,7 +114,7 @@ newton,damped\_newton%
\usepackage{fancyhdr}
\pagestyle{fancy}
\input{version}
-\newcommand{\BANNER} {Rheolef internals -- version \VERSION\ update \LASTUPDATE}
+\newcommand{\BANNER} {Rheolef internals -- version \VERSION}
\chead{}
\cfoot[]{}
--
2.20.1
signature.asc
Description: PGP signature