[Reproducible-builds] Bug#776369: vimoutliner: please make the build reproducible

2015-01-27 Thread Chris Lamb
Source: vimoutliner
Version: 0.3.4+pristine-9.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 vimoutliner could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, vimoutliner 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 vimoutliner.orig/vimoutliner-0.3.4+pristine/debian/rules 
vimoutliner/vimoutliner-0.3.4+pristine/debian/rules
--- vimoutliner.orig/vimoutliner-0.3.4+pristine/debian/rules2015-01-27 
11:35:54.994755299 +
+++ vimoutliner/vimoutliner-0.3.4+pristine/debian/rules 2015-01-27 
11:37:50.179852507 +
@@ -20,7 +20,7 @@
 install: build install-stamp
 install-stamp:
dh install
-   gzip -9 debian/vim-vimoutliner/usr/share/vim/addons/doc/*
+   gzip -9n debian/vim-vimoutliner/usr/share/vim/addons/doc/*
# Permission fix
chmod -x debian/vim-vimoutliner/usr/share/vim/addons/ftplugin/vo_*.vim
# Install scripts
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#776374: mueller: please make the build reproducible

2015-01-27 Thread Chris Lamb
Source: mueller
Version: 2002.02.27-9
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 mueller could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, mueller 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 mueller.orig/mueller-2002.02.27/debian/Makefile 
mueller/mueller-2002.02.27/debian/Makefile
--- mueller.orig/mueller-2002.02.27/debian/Makefile 2015-01-27 
11:44:59.770873907 +
+++ mueller/mueller-2002.02.27/debian/Makefile  2015-01-27 11:50:40.057930640 
+
@@ -6,9 +6,13 @@
 
 OPENDICT_DIR=$(sharedir)/opendict/dictionaries/plain
 
+BUILD_DATE := $(shell dpkg-parsechangelog -l./changelog --show-field Date)
+
 all: mueller7.dict.dz mueller7accent.dict.dz
 
 %.dict.dz: %.dict
+   # Ensure deterministic mtime for dictzip to inherit
+   touch --date='$(BUILD_DATE)' $^
dictzip -k $^
 
 mueller7accent.dict: mueller7accent.data
diff -urNad mueller.orig/mueller-2002.02.27/debian/scripts/df.sh 
mueller/mueller-2002.02.27/debian/scripts/df.sh
--- mueller.orig/mueller-2002.02.27/debian/scripts/df.sh2015-01-27 
11:44:59.770873907 +
+++ mueller/mueller-2002.02.27/debian/scripts/df.sh 2015-01-27 
11:50:58.618746102 +
@@ -8,4 +8,5 @@
 --columns 0 \
 -u http://www.chat.ru/~mueller_dic; \
 -s Mueller English-Russian Dictionary$3 \
+   --without-time \
 ${1%.data}  $1
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#776375: dict-moby-thesaurus: please make the build reproducible

2015-01-27 Thread Chris Lamb
Source: dict-moby-thesaurus
Version: 1.0-6.2
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 dict-moby-thesaurus could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, dict-moby-thesaurus 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 dict-moby-thesaurus.orig/dict-moby-thesaurus-1.0/debian/rules 
dict-moby-thesaurus/dict-moby-thesaurus-1.0/debian/rules
--- dict-moby-thesaurus.orig/dict-moby-thesaurus-1.0/debian/rules   
2015-01-27 12:09:08.070699663 +
+++ dict-moby-thesaurus/dict-moby-thesaurus-1.0/debian/rules2015-01-27 
12:10:17.097743701 +
@@ -17,6 +17,8 @@
INSTALL_PROGRAM += -s
 endif
 
+BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)
+
 configure: configure-stamp
 configure-stamp:
dh_testdir
@@ -32,6 +34,8 @@
 
# Add here commands to compile the package.
$(PYTHON) conv.py  mthesaur.txt
+   # Ensure deterministic mtime for dictzip to inherit
+   touch --date='$(BUILD_DATE)' moby-thesaurus.dict
dictzip moby-thesaurus.dict
touch build-stamp
 
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#776370: dict-xdict: please make the build reproducible

2015-01-27 Thread Chris Lamb
Source: dict-xdict
Version: 0.1-4.2
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 dict-xdict could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, dict-xdict 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 dict-xdict.orig/dict-xdict-0.1/debian/rules 
dict-xdict/dict-xdict-0.1/debian/rules
--- dict-xdict.orig/dict-xdict-0.1/debian/rules 2015-01-27 11:41:03.120393427 
+
+++ dict-xdict/dict-xdict-0.1/debian/rules  2015-01-27 11:42:52.793249931 
+
@@ -9,7 +9,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-
+BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)
 
 CFLAGS = -Wall -g
 
@@ -24,7 +24,9 @@
 build-stamp:
dh_testdir
 
-   cat Dictionary | /usr/bin/dictfmt -t xdict
+   cat Dictionary | /usr/bin/dictfmt -t xdict --without-time
+   # Ensure deterministic mtime for dictzip to inherit
+   touch --date='$(BUILD_DATE)' xdict.dict
/usr/bin/dictzip -v xdict.dict
 
touch build-stamp
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#776376: dict-gazetteer2k: please make the build reproducible

2015-01-27 Thread Chris Lamb
Source: dict-gazetteer2k
Version: 1.0.0-5.2
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 dict-gazetteer2k could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, dict-gazetteer2k 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 dict-gazetteer2k.orig/dict-gazetteer2k-1.0.0/debian/rules 
dict-gazetteer2k/dict-gazetteer2k-1.0.0/debian/rules
--- dict-gazetteer2k.orig/dict-gazetteer2k-1.0.0/debian/rules   2015-01-27 
12:15:09.178630836 +
+++ dict-gazetteer2k/dict-gazetteer2k-1.0.0/debian/rules2015-01-27 
12:19:20.241716434 +
@@ -10,6 +10,7 @@
 
 PYTHON=python
 BASENAMES=places counties zips
+BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)
 
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g
@@ -38,6 +39,8 @@
$(PYTHON) zipswriter.py
$(PYTHON) placeswriter.py
$(PYTHON) countieswriter.py
+   # Ensure deterministic mtime for dictzip to inherit
+   touch --date='$(BUILD_DATE)' *.dict
dictzip *.dict
 
touch build-stamp
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds