Source: wmpuzzle
Version: 0.5.2-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, wmpuzzle 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 wmpuzzle.orig/wmpuzzle-0.5.2/debian/rules 
wmpuzzle/wmpuzzle-0.5.2/debian/rules
--- wmpuzzle.orig/wmpuzzle-0.5.2/debian/rules   2015-02-07 17:53:25.321381728 
+0000
+++ wmpuzzle/wmpuzzle-0.5.2/debian/rules        2015-02-07 17:57:50.153208619 
+0000
@@ -55,7 +55,7 @@
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        strip -R .comment -R .note $(BUILDDIR)/usr/games/wmpuzzle
 endif
-       gzip -9 $(BUILDDIR)/usr/share/man/man6/wmpuzzle.6
+       gzip -9n $(BUILDDIR)/usr/share/man/man6/wmpuzzle.6
        install -D -p -o root -g root -m 0644 debian/menu 
$(BUILDDIR)/usr/share/menu/wmpuzzle
 
        install -D -p -o root -g root -m 0644 CHANGES $(DOCDIR)/changelog
@@ -64,7 +64,7 @@
        install    -p -o root -g root -m 0644 README debian/copyright $(DOCDIR)
        install -d -p -o root -g root -m 0755 $(DOCDIR)/puzzles
        install    -p -o root -g root -m 0644 src/*.xpm $(DOCDIR)/puzzles
-       gzip -9 $(DOCDIR)/changelog*
+       gzip -9n $(DOCDIR)/changelog*
 
        install -d -p -o root -g root -m 0755 $(DEBDIR)
        install    -p -o root -g root -m 0644 debian/control $(DEBDIR)
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to