[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#890734: texlive-metapost: mpost does not honour SOURCE_DATE_EPOCH



Hi Hilmar,

> The place where we would have to patch is clear, attached is a first
> patch. It disables time stamping in general. Can you tell how to
> evaluate the ENV variable SOURCE_DATE_EPOCH?

S_D_E is an effort by reproducible-builds initiative, and it is a good
idea.

But hard-coded rewriting of the actual creating time is wrong. We need
to do something similar to what pdftex/luatex/xetex/... does. If the
variable is set it provides a datetime that should be used instead of
the actual time.

You can look into the first patch by looking at the texlive-bin
repository with
	git show c832647f4d1fe579fd4eb46ff8b505030b5124db

Best

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


Reply to: