Source: xjig
Version: 2.4-14
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 xjig could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, xjig can be built reproducibly in our current experimental
framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff -urNad xjig.orig/xjig-2.4/debian/rules xjig/xjig-2.4/debian/rules
--- xjig.orig/xjig-2.4/debian/rules 2015-02-07 17:23:23.588841990 +0000
+++ xjig/xjig-2.4/debian/rules 2015-02-07 17:26:48.338003218 +0000
@@ -62,11 +62,11 @@
cp debian/menu debian/tmp/usr/share/menu/xjig
mkdir -p debian/tmp/usr/share/applications
cp debian/desktop debian/tmp/usr/share/applications/xjig.desktop
- gzip -9v debian/tmp/usr/share/doc/xjig/*
+ gzip -9nv debian/tmp/usr/share/doc/xjig/*
cp debian/copyright debian/tmp/usr/share/doc/xjig
cp xjig.6 debian/tmp/usr/share/man/man6
cp xjig-random.man debian/tmp/usr/share/man/man6/xjig-random.6
- gzip -9v debian/tmp/usr/share/man/man6/*
+ gzip -9nv debian/tmp/usr/share/man/man6/*
mkdir -p debian/tmp/usr/games
chmod a+rx xjig-random
cp xjig-random debian/tmp/usr/games