Source: retext
Version: 5.0.1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that retext could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, retext can be built reproducibly in our reproducible
toolchain.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff -urNad retext.orig/retext-5.0.1/debian/rules
retext/retext-5.0.1/debian/rules
--- retext.orig/retext-5.0.1/debian/rules 2015-02-22 11:06:45.795609518
+0000
+++ retext/retext-5.0.1/debian/rules 2015-02-22 11:10:40.593860038 +0000
@@ -29,7 +29,7 @@
done
for size in 16 22 24 32 48 128; do \
mkdir -p $(ICONSDIR)/$$size\x$$size/apps/; \
- convert -resize $$size icons/retext.png
$(ICONSDIR)/$$size\x$$size/apps/retext.png; \
+ convert -resize $$size icons/retext.png +set date:create +set
date:modify -define png:exclude-chunk=time
$(ICONSDIR)/$$size\x$$size/apps/retext.png; \
done
override_dh_auto_test: