Skip to content

Allow to override build date with SOURCE_DATE_EPOCH

Bernhard M. Wiedemann requested to merge bmwiedemann/fonttosfnt:date into master

Allow to override build date with SOURCE_DATE_EPOCH to make builds reproducible.

See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.

Without this patch, our xorg-x11-fonts build results would always vary.

This patch was done while working on reproducible builds for openSUSE, sponsored by the NLnet NGI0 fund.

Also: Use long long for timestamp diff to avoid integer overflows in the future

Edited by Bernhard M. Wiedemann

Merge request reports

Loading