Source: latexdiff
Version: 1.1.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that latexdiff could not be built reproducibly.
It embeds the current build date into the documentation.

The attached patch removes this timestamp.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/0002-reproducible-build.patch b/debian/patches/0002-reproducible-build.patch
new file mode 100644
index 0000000..2932e1f
--- /dev/null
+++ b/debian/patches/0002-reproducible-build.patch
@@ -0,0 +1,24 @@
+From: Reiner Herrmann <rei...@reiner-h.de>
+Subject: Don't embed build date into documentation
+
+--- a/doc/latexdiff-man.tex
++++ b/doc/latexdiff-man.tex
+@@ -7,7 +7,7 @@
+ %\setlength{\oddsidemargin}{0.0in}                                                                                  
+ \title{Marking up differences between latex files with {\em latexdiff}}
+ \author{F.J. Tilmann\thanks{tilm...@gfz-potsdam.de}}
+-\date{\today}
++\date{}
+ 
+ \begin{document}
+ \maketitle
+--- a/doc/example-diff.tex
++++ b/doc/example-diff.tex
+@@ -15,6 +15,7 @@
+ 
+ \title{latexdiff Example - \DIFdelbegin \DIFdel{Draft }\DIFdelend \DIFaddbegin \DIFadd{Revised }\DIFaddend version}
+ \author{F Tilmann}
++\date{}
+ % Note how in the preamble visual markup is never used (even %DIF > 
+ % if some preamble might eventually end up as visible text.) %DIF > 
+ %DIF PREAMBLE EXTENSION ADDED BY LATEXDIFF
diff --git a/debian/patches/series b/debian/patches/series
index 7df615c..cc45d16 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Make-the-choice-of-dvips-or-pdftex-optional-conditio.patch
+0002-reproducible-build.patch

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to