[Reproducible-commits] [texlive-bin] 05/05: Added patches to prevent timestamps in dvi and ps files.

Reiner Herrmann reiner at reiner-h.de
Thu Mar 3 23:25:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

deki-guest pushed a commit to branch pu/reproducible_builds
in repository texlive-bin.

commit 967fbdb646bdae68cf515016d3f159fe49e018c4
Author: Reiner Herrmann <reiner at reiner-h.de>
Date:   Sat Feb 6 23:11:25 2016 +0100

    Added patches to prevent timestamps in dvi and ps files.
    
    Should help with issues:
    - timestamps_in_dvi_generated_by_latex
    - timestamps_in_ps_generated_by_dvips
---
 debian/changelog                             |  5 ++++-
 debian/patches/remove-timestamp-tex-preamble | 18 ++++++++++++++++++
 debian/patches/series                        |  2 ++
 debian/patches/suppress-dvips-creationdate   | 13 +++++++++++++
 4 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index d870909..da163a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,7 +6,10 @@ texlive-bin (2015.20160222.37495-1.0~reproducible1) UNRELEASED; urgency=medium
     $SOURCE_DATE_EPOCH to produce reproducible pdf files.  Closes: #792202
   * Modified function to produce timezone independent timestamps using UTC
 
- -- Mattia Rizzolo <mattia at debian.org>  Sat, 23 Jan 2016 17:39:26 +0000
+  [ Reiner Herrmann ]
+  * Added patches to get rid of timestamps in dvi and ps.
+
+ -- Reiner Herrmann <reiner at reiner-h.de>  Thu, 03 Mar 2016 23:23:12 +0100
 
 texlive-bin (2015.20160222.37495-1) unstable; urgency=medium
 
diff --git a/debian/patches/remove-timestamp-tex-preamble b/debian/patches/remove-timestamp-tex-preamble
new file mode 100644
index 0000000..baa6a77
--- /dev/null
+++ b/debian/patches/remove-timestamp-tex-preamble
@@ -0,0 +1,18 @@
+From: Reiner Herrmann <reiner at reiner-h.de>
+Subject: Don't output the current date/time in the preamble
+ It is embedded by other tools like dvips into documents.
+
+--- a/texk/web2c/pdftexdir/pdftex.web
++++ b/texk/web2c/pdftexdir/pdftex.web
+@@ -14434,10 +14434,7 @@
+   dvi_four(25400000); dvi_four(473628672); {conversion ratio for sp}
+   prepare_mag; dvi_four(mag); {magnification factor is frozen}
+   old_setting:=selector; selector:=new_string;
+-  print(" TeX output "); print_int(year); print_char(".");
+-  print_two(month); print_char("."); print_two(day);
+-  print_char(":"); print_two(time div 60);
+-  print_two(time mod 60);
++  print(" TeX output ");
+   selector:=old_setting; dvi_out(cur_length);
+   for s:=str_start[str_ptr] to pool_ptr-1 do dvi_out(so(str_pool[s]));
+   pool_ptr:=str_start[str_ptr]; {flush the current string}
diff --git a/debian/patches/series b/debian/patches/series
index 0cafcd6..539674a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -21,3 +21,5 @@ upstream-svn38068-dvipdfmx-fix
 upstream-svn38091-fix-pltotf-output
 fix-format-gcc-errors
 fix-mktexlsr-bashims
+suppress-dvips-creationdate
+remove-timestamp-tex-preamble
diff --git a/debian/patches/suppress-dvips-creationdate b/debian/patches/suppress-dvips-creationdate
new file mode 100644
index 0000000..425bbba
--- /dev/null
+++ b/debian/patches/suppress-dvips-creationdate
@@ -0,0 +1,13 @@
+From: Reiner Herrmann <reiner at reiner-h.de>
+Subject: Don't include "CreationDate:" in ps files generated by dvips
+
+--- a/texk/dvipsk/dvips.h
++++ b/texk/dvipsk/dvips.h
+@@ -7,7 +7,6 @@
+ 
+ /*   This file is the header for dvips's global data structures. */
+ 
+-#define CREATIONDATE
+ 
+ #define MAX_CODE 0x110000
+ #define MAX_2BYTES_CODE 0x10000

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/texlive-bin.git



More information about the Reproducible-commits mailing list