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

Reiner Herrmann reiner at reiner-h.de
Sat Feb 6 22:45:38 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 0293be624128826b09872296ae9b91620bc38d6c
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                             |  7 +++++--
 debian/patches/remove-timestamp-tex-preamble | 18 ++++++++++++++++++
 debian/patches/series                        |  2 ++
 debian/patches/suppress-dvips-creationdate   | 13 +++++++++++++
 4 files changed, 38 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ab6942b..f7392c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-texlive-bin (2015.20150524.37493-7.0~reproducible2) UNRELEASED; urgency=medium
+texlive-bin (2015.20150524.37493-7.0~reproducible3) UNRELEASED; urgency=medium
 
   [ akira ]
   * Add patch honour-source-date-epoch.
@@ -6,7 +6,10 @@ texlive-bin (2015.20150524.37493-7.0~reproducible2) 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>  Sat, 06 Feb 2016 14:19:12 +0100
 
 texlive-bin (2015.20150524.37493-7) 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 8f554a0..2d8d946 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -20,3 +20,5 @@ upstream-svn38059-dvipdfmx-fix
 upstream-svn38068-dvipdfmx-fix
 upstream-svn38091-fix-pltotf-output
 fix-format-gcc-errors
+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