Source: suomi-malaga Version: 1.17-1 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 suomi-malaga could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, suomi-malaga cannot *yet* be built reproducibly using our reproducible due to an issue in malaga itself, but it is the only blocker here. [0] https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/10_source_date_epoch.patch 1970-01-01 02:00:00.000000000 +0200 --- b/debian/patches/10_source_date_epoch.patch 2015-12-06 11:39:12.509246367 +0200 @@ -0,0 +1,13 @@ +--- suomi-malaga-1.17.orig/Makefile ++++ suomi-malaga-1.17/Makefile +@@ -21,6 +21,10 @@ VOIKKO_DEBUG=no + SM_VERSION=1.17 + SM_BUILDDATE=$(shell date -R -u) + ++ifdef SOURCE_DATE_EPOCH ++SM_BUILDDATE=$(shell date -R -u -d "@$(SOURCE_DATE_EPOCH)") ++endif ++ + # Optional vocabulary files (needed in the source package) + OPTIONAL_LEX=atk-lyhenteet po-oikoluku linux-distributions + --- a/debian/patches/series 1970-01-01 02:00:00.000000000 +0200 --- b/debian/patches/series 2015-12-06 11:43:29.618016455 +0200 @@ -0,0 +1 @@ +10_source_date_epoch.patch