Source: xvier
Version: 1.0-7.5
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that xvier could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, xvier can be built reproducibly in our current experimental
framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff -urNad xvier.orig/xvier-1.0/debian/rules xvier/xvier-1.0/debian/rules
--- xvier.orig/xvier-1.0/debian/rules   2015-02-07 13:11:40.978343176 +0000
+++ xvier/xvier-1.0/debian/rules        2015-02-07 13:12:08.891606184 +0000
@@ -31,12 +31,12 @@
                            $(tmp)/usr/share/man/man6 $(tmp)/usr/share/doc/xvier
        install -s -m 755 xvier xvier_prog $(tmp)/usr/games
        strip --remove-section=.comment --remove-section=.note 
$(tmp)/usr/games/*
-       gzip -c9 xvier.man > $(tmp)/usr/share/man/man6/xvier.6x.gz
+       gzip -cn9 xvier.man > $(tmp)/usr/share/man/man6/xvier.6x.gz
        ln -s xvier.6x.gz $(tmp)/usr/share/man/man6/xvier_prog.6x.gz
        install -m 755 debian/postinst debian/postrm $(tmp)/DEBIAN
        install -m 644 README $(tmp)/usr/share/doc/xvier
        install -m 644 mini-xvier.xpm $(tmp)/usr/share/pixmaps
-       gzip -c9 debian/changelog > 
$(tmp)/usr/share/doc/xvier/changelog.Debian.gz
+       gzip -cn9 debian/changelog > 
$(tmp)/usr/share/doc/xvier/changelog.Debian.gz
        install -m 644 debian/copyright $(tmp)/usr/share/doc/xvier/copyright
        install -m 644 debian/menu $(tmp)/usr/share/menu/xvier
        dpkg-shlibdeps $(tmp)/usr/games/*

Reply via email to