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

Bug#995654: malaga: reproducible builds: Embedded timestamps in .dvi, .pdf and .ps files



On 2021-10-03, Vagrant Cascadian wrote:
> The attached patch fixes this by setting FORCE_SOURCE_DATE=1 in
> debian/rules, which texlive needs in order to respect SOURCE_DATE_EPOCH,
> which is set during debian package builds to the timestamp in the latest
> debian/changelog entry.
>
>   https://reproducible-builds.org/docs/source-date-epoch/
>
> With this patch applied, malaga should build reproducibly on
> tests.reproducible-builds.org

And the promised patch is now attached...

live well,
  vagrant
From 24c0e16021648a78ae007c61af22f495625ca029 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 3 Oct 2021 17:11:26 +0000
Subject: [PATCH] debian/rules: Export FORCE_SOURCE_DATE=1 in order for texlive
 to respect SOURCE_DATE_EPOCH when generating .dvi, .pdf and .ps files.

https://reproducible-builds.org/docs/source-date-epoch/
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index bf19ee8..dcc7ec8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+# Ensure texlive respects SOURCE_DATE_EPOCH
+export FORCE_SOURCE_DATE=1
+
 %:
 	dh $@ --with autoreconf
 
-- 
2.33.0

Attachment: signature.asc
Description: PGP signature


Reply to: