texlive[41417] Build/source/texk/web2c: rename

commits+karl at tug.org commits+karl at tug.org
Sun Jun 12 19:01:19 CEST 2016


Revision: 41417
          http://tug.org/svn/texlive?view=revision&revision=41417
Author:   karl
Date:     2016-06-12 19:01:19 +0200 (Sun, 12 Jun 2016)
Log Message:
-----------
rename SOURCE_DATE_EPOCH_TEX_PRIMITIVES to FORCE_SOURCE_DATE; from pdftex r758

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=758

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/lib/ChangeLog
    trunk/Build/source/texk/web2c/lib/texmfmp.c
    trunk/Build/source/texk/web2c/man/pdftex.man
    trunk/Build/source/texk/web2c/pdftexdir/NEWS

Modified: trunk/Build/source/texk/web2c/lib/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/lib/ChangeLog	2016-06-12 16:15:02 UTC (rev 41416)
+++ trunk/Build/source/texk/web2c/lib/ChangeLog	2016-06-12 17:01:19 UTC (rev 41417)
@@ -1,6 +1,13 @@
+2016-06-12  Karl Berry  <karl at freefriends.org>
+
+	* texmfmp.c (get_date_and_time):
+	rename envvar SOURCE_DATE_EPOCH_TEX_PRIMITIVES to FORCE_SOURCE_DATE.
+	http://tug.org/pipermail/tex-k/2016-June/002722.html
+	(and surrounding thread, starting in May)
+
 2016-05-06  Akira Kakuto  <kakuto at fuk.kinidai.ac.jp>
 
-	* texmfmp.c: Avoid to crash for too large a value of SOURCE_DATE_EPOCH.
+	* texmfmp.c: Avoid crash for too large a value of SOURCE_DATE_EPOCH.
 	(w32 only).
 
 2016-05-06  Karl Berry  <karl at tug.org>

Modified: trunk/Build/source/texk/web2c/lib/texmfmp.c
===================================================================
--- trunk/Build/source/texk/web2c/lib/texmfmp.c	2016-06-12 16:15:02 UTC (rev 41416)
+++ trunk/Build/source/texk/web2c/lib/texmfmp.c	2016-06-12 17:01:19 UTC (rev 41417)
@@ -2247,7 +2247,7 @@
 {
   struct tm *tmptr;
 #ifndef onlyTeX
-  string sde_texprim = getenv ("SOURCE_DATE_EPOCH_TEX_PRIMITIVES");
+  string sde_texprim = getenv ("FORCE_SOURCE_DATE");
   if (sde_texprim && STREQ (sde_texprim, "1")) {
     init_start_time ();
     tmptr = gmtime (&start_time);
@@ -2263,7 +2263,7 @@
     /* warn if they gave an invalid value, empty (null string) ok.  */
     if (sde_texprim && strlen (sde_texprim) > 0
         && !STREQ (sde_texprim, "0")) {
-WARNING1 ("invalid value (expected 0 or 1) for environment variable $SOURCE_DATE_EPOCH_TEX_PRIMITIVES: %s", 
+WARNING1 ("invalid value (expected 0 or 1) for environment variable $FORCE_SOURCE_DATE: %s", 
           sde_texprim);
     }
 #endif /* not onlyTeX */

Modified: trunk/Build/source/texk/web2c/man/pdftex.man
===================================================================
--- trunk/Build/source/texk/web2c/man/pdftex.man	2016-06-12 16:15:02 UTC (rev 41416)
+++ trunk/Build/source/texk/web2c/man/pdftex.man	2016-06-12 17:01:19 UTC (rev 41417)
@@ -379,7 +379,7 @@
 timestamps in the PDF output, such as the CreationDate and ModDate keys.
 This is useful for making reproducible builds.
 .TP
-.B SOURCE_DATE_EPOCH_TEX_PRIMITIVES
+.B FORCE_SOURCE_DATE
 If set to the value "1", the time-related \*(TX primitives
 .RI ( \eyear ,
 .IR \emonth ,

Modified: trunk/Build/source/texk/web2c/pdftexdir/NEWS
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/NEWS	2016-06-12 16:15:02 UTC (rev 41416)
+++ trunk/Build/source/texk/web2c/pdftexdir/NEWS	2016-06-12 17:01:19 UTC (rev 41417)
@@ -1,3 +1,7 @@
+- changes:
+  - rename envvar SOURCE_DATE_EPOCH_TEX_PRIMITIVES to FORCE_SOURCE_DATE;
+    no changes in functionality.
+---------------------------------------------------
 pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016)
 - changes:
   - if the environment variable SOURCE_DATE_EPOCH is set, use its value for



More information about the tex-live-commits mailing list