Skip to content
Snippets Groups Projects

Allow to override build date with SOURCE_DATE_EPOCH

Merged 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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading