Source: tex4ht
Version: 20090611-1.1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: toolchain

Hello,

While working on the “reproducible builds” effort [1], we have noticed
that the packages freecol, libgfshare, dbus-java, logol, and  polybori
could not be built reproducibly because tex4ht embeds timestamps in its
html output by default.

The attached patch creates a command line argument `timestamp` which if
used will allow timestamps to be printed in the html output.  Otherwise
by default no timestamps will be printed in the html output.


Cheers, akira

 [1]: https://wiki.debian.org/ReproducibleBuilds
diff -u tex4ht-20090611/debian/changelog tex4ht-20090611/debian/changelog
--- tex4ht-20090611/debian/changelog
+++ tex4ht-20090611/debian/changelog
@@ -1,3 +1,10 @@
+tex4ht (20090611-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove timestamps from html files
+
+ -- akira <marival...@gmail.com>  Wed, 24 Jun 2015 22:01:51 +0200
+
 tex4ht (20090611-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u tex4ht-20090611/debian/patches/series tex4ht-20090611/debian/patches/series
--- tex4ht-20090611/debian/patches/series
+++ tex4ht-20090611/debian/patches/series
@@ -8,0 +9 @@
+no-timestamp-in-html-file
only in patch2:
unchanged:
--- tex4ht-20090611.orig/debian/patches/no-timestamp-in-html-file
+++ tex4ht-20090611/debian/patches/no-timestamp-in-html-file
@@ -0,0 +1,17 @@
+--- a/texmf/tex/generic/tex5ht/html4.4ht
++++ b/texmf/tex/generic/tex4ht/html4.4ht
+@@ -820,9 +820,14 @@ switches of tex4ht.c)
+ \Configure{@HEAD}
+    {\HCode{<meta name="src"
+                  content="\jobname.tex"\xml:empty>\Hnewline}}
++
++\:CheckOption{timestamp} \if:Option
+ \Configure{@HEAD}
+    {\HCode{<meta name="date"
+                  content="\:today"\xml:empty>\Hnewline}}
++\else
++   \Log:Note{to print a timestamp, use the command line option `timestamp}
++\fi
+ 
+    \:CheckOption{-css} \if:Option \else
+    \Log:Note{to ignore CSS code, use the command line option `-css}
_______________________________________________
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