Re: [Reproducible-builds] [tex-k] SORCE_DATE_EPOCH_TEX_PRIMITIVES
On Tue, Jun 14, 2016 at 02:52:39PM +0900, Norbert Preining wrote: > > no hurry. (but please do upload "soon", just not with hurry :) > Uploaded and accepted. > Please report any strangeties you might see. yay, thanks & will do! our plan is also now to build the archive with that texlive-bin version and *not* to update our version in our repo, so we can see how this will behave archive wide… -- cheers, Holger signature.asc Description: Digital signature ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] [tex-k] SORCE_DATE_EPOCH_TEX_PRIMITIVES
> no hurry. (but please do upload "soon", just not with hurry :) Uploaded and accepted. Please report any strangeties you might see. Thanks Norbert -- PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] [tex-k] SORCE_DATE_EPOCH_TEX_PRIMITIVES
On Mon, Jun 13, 2016 at 10:05:34PM +0900, Norbert Preining wrote: > Debian git is already updated, I'll upload sooner or later Are we in > hurry? no hurry. (but please do upload "soon", just not with hurry :) -- cheers, Holger signature.asc Description: Digital signature ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] [tex-k] SORCE_DATE_EPOCH_TEX_PRIMITIVES
Debian git is already updated, I'll upload sooner or later Are we in hurry? -- PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] [tex-k] SORCE_DATE_EPOCH_TEX_PRIMITIVES
On Sun, Jun 12, 2016 at 06:19:58PM +, Karl Berry wrote: >SOURCE_DATE_EPOCH_TEX_PRIMITIVES -> FORCE_SOURCE_DATE > I changed the sources in the pdftex and tex live repositories for this. > (Thanks Norbert.) -k yay!! thanks! -- cheers, Holger (for reproducible-builds.org) signature.asc Description: Digital signature ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] [tex-k] SORCE_DATE_EPOCH_TEX_PRIMITIVES
SOURCE_DATE_EPOCH_TEX_PRIMITIVES -> FORCE_SOURCE_DATE I changed the sources in the pdftex and tex live repositories for this. (Thanks Norbert.) -k ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] [tex-k] SORCE_DATE_EPOCH_TEX_PRIMITIVES
Hi Karl, > OK, yes we can patch Debian like this. Though, please also change the pdftex > source in version control. Here is a patch of the rename. Norbert -- PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 --- texk/web2c/lib/ChangeLog |2 +- texk/web2c/lib/texmfmp.c |4 ++-- texk/web2c/man/pdftex.man |2 +- texk/web2c/pdftexdir/NEWS |2 +- 4 files changed, 5 insertions(+), 5 deletions(-) --- texlive-bin.orig/texk/web2c/lib/ChangeLog +++ texlive-bin/texk/web2c/lib/ChangeLog @@ -16,7 +16,7 @@ * texmfmp.c (init_start_time): new fn, factored out from initstarttime. - (get_date_and_time): if envvar SOURCE_DATE_EPOCH_TEX_PRIMITIVES + (get_date_and_time): if envvar FORCE_SOURCE_DATE is set, initialize minutes, day, month, year, from SOURCE_DATE_EPOCH value. Requested by Debian, thread starting at http://tug.org/pipermail/tex-k/2016-May/002691.html. --- texlive-bin.orig/texk/web2c/lib/texmfmp.c +++ texlive-bin/texk/web2c/lib/texmfmp.c @@ -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 */ --- texlive-bin.orig/texk/web2c/man/pdftex.man +++ texlive-bin/texk/web2c/man/pdftex.man @@ -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 , --- texlive-bin.orig/texk/web2c/pdftexdir/NEWS +++ texlive-bin/texk/web2c/pdftexdir/NEWS @@ -5,7 +5,7 @@ This by itself should suffice to create reproducible PDFs. The new primitives below support more granular output tweaks with the same intent. - - if the environment variable SOURCE_DATE_EPOCH_TEX_PRIMITIVES is set + - if the environment variable FORCE_SOURCE_DATE is set to 1, the \year, \day, and \time primitives are also initialized from the SOURCE_DATE_EPOCH value, instead of the current time. ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] [tex-k] SORCE_DATE_EPOCH_TEX_PRIMITIVES
Hi Ximin, > OK, yes we can patch Debian like this. Though, please also change the pdftex > source in version control. Thanks, yes, *I* can patch the sources ;-) > Hopefully the next release isn't *too* far ahead The next release of TL is in *1* year. Norbert -- PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] [tex-k] SORCE_DATE_EPOCH_TEX_PRIMITIVES
Karl Berry: > How does FORCE_SOURCE_DATE sound? > > Fine by me. Shall I change the pdftex source? > > I don't much want to make a new release just for this, but it would be > fine (in fact preferable) to me if you made the change in Debian now. > Since after all the whole thing is for your purposes, you might as well > have the name you want. I doubt the discrepancy will cause any trouble. > OK, yes we can patch Debian like this. Though, please also change the pdftex source in version control. Hopefully the next release isn't *too* far ahead - Debian is doing this in most depth at the moment, but other distributions are also following suit - FreeBSD, LEDE, SUSE and Guix already added support for SOURCE_DATE_EPOCH, and we know there's people working on it for Fedora and NixOS. X -- GPG: ed25519/56034877E1F87C35 GPG: rsa4096/1318EFAC5FBBDBCE git://github.com/infinity0/pubkeys.git ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] [tex-k] SORCE_DATE_EPOCH_TEX_PRIMITIVES
How does FORCE_SOURCE_DATE sound? Fine by me. Shall I change the pdftex source? I don't much want to make a new release just for this, but it would be fine (in fact preferable) to me if you made the change in Debian now. Since after all the whole thing is for your purposes, you might as well have the name you want. I doubt the discrepancy will cause any trouble. Best, Karl ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] [tex-k] SORCE_DATE_EPOCH_TEX_PRIMITIVES
Karl Berry: > rename SOURCE_DATE_EPOCH_TEX_PRIMITIVES to a more generic name like > USE_CLOCK_SOURCE_DATE. > > I'm fine with that, or any other reasonable name for the second envvar. > Just tell me the name you want. > OK, we've talked a bit more about it and gotten consensus. How does FORCE_SOURCE_DATE sound? Ximin -- GPG: ed25519/56034877E1F87C35 GPG: rsa4096/1318EFAC5FBBDBCE git://github.com/infinity0/pubkeys.git ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] [tex-k] SORCE_DATE_EPOCH_TEX_PRIMITIVES
rename SOURCE_DATE_EPOCH_TEX_PRIMITIVES to a more generic name like USE_CLOCK_SOURCE_DATE. I'm fine with that, or any other reasonable name for the second envvar. Just tell me the name you want. I don't want to give up the second envvar, or default it to 1, for the reasons I already gave, with the preferred solutions I already gave. I understand your point of view but I simply disagree. Sorry ... --karl ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds