Source: dactyl
Version: 1.1+hg7904-0+nmu1
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 dactyl could not be built reproducibly.

The attached patch removes stamps from the build system. Once
applied, dactyl 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 dactyl.orig/dactyl-1.1+hg7904/debian/rules 
dactyl/dactyl-1.1+hg7904/debian/rules
--- dactyl.orig/dactyl-1.1+hg7904/debian/rules  2015-01-30 00:47:09.317058959 
+0000
+++ dactyl/dactyl-1.1+hg7904/debian/rules       2015-01-30 01:00:16.603764611 
+0000
@@ -3,6 +3,7 @@
 PACKAGES=pentadactyl # teledactyl melodactyl
 VERSION=$(shell dpkg-parsechangelog | \
        sed -n -e '/^Version:/ { s/^Version:\s*//; s/[^a-z0-9]/_/g; p }')
+BUILD_DATE=$(shell date --date="$(shell dpkg-parsechangelog --show-field 
Date)" "+%Y/%m/%d %H:%M:%S")
 
 %:
        dh $@ --with xul-ext
@@ -13,7 +14,7 @@
        dh binary --with xul-ext
 
 override_dh_auto_build:
-       make DIRS=$(PACKAGES) MANGLE=chrome XPI_FILES='bootstrap.js NEWS' xpi
+       make DIRS=$(PACKAGES) MANGLE=chrome XPI_FILES='bootstrap.js NEWS' 
BUILD_DATE="$(BUILD_DATE)" xpi
 
 override_dh_auto_install:
        for PACKAGE in $(PACKAGES); \
_______________________________________________
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