Source: vtwm Version: 5.4.7-2.2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, Whilst working on the "reproducible builds" effort [0], we noticed that vtwm could not be built reproducibly. Patch attached. [0] https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/Imakefile 2016-07-18 11:29:23.904229587 +0200 --- b/Imakefile 2016-07-18 11:34:09.356808636 +0200 @@ -174,8 +174,13 @@ echo ' */' >>$@ echo '' >>$@ echo 'char *lastmake[] = {' >>lastmake.c +ifdef SOURCE_DATE_EPOCH + echo ' "Platform: -",' >>$@ + echo ' "Build: '`LC_ALL=C date --utc --date=@$${SOURCE_DATE_EPOCH}`'",' >>$@ +else echo ' "Platform: '`uname -r -s`'",' >>$@ echo ' "Build: '`date`'",' >>$@ +endif echo ' "" };' >>$@ system.vtwmrc: