Source: vim-latexsuite
Version: 20130116.788-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: fileordering timestamps
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that vim-latexsuite could not be built reproducibly.
The attached patch removes some non-deterministic file ordering and
timestamps from the build system. Once applied, vim-latexsuite 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 --git a/debian/rules b/debian/rules
index 2a1d392..9e1891e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,13 +13,13 @@ override_dh_auto_build:
override_dh_auto_install:
dh_auto_install -- DESTDIR=$(DESTDIR)
BINDIR=/usr/share/doc/vim-latexsuite/contrib VIMDIR=$(ADDONSDIR)
# gzip doc files
- find $(DESTDIR)$(ADDONSDIR)/doc -type f -print0 | xargs -0 gzip -9
+ find $(DESTDIR)$(ADDONSDIR)/doc -type f -print0 | xargs -0 gzip -9n
override_dh_install:
dh_install
# generate file list for vim addons manager
#
- ( cd $(DESTDIR)$(ADDONSDIR) && find -type f ) | sed 's#./# - #' >>
$(DESTDIR)/usr/share/vim/registry/vim-latexsuite.yaml
+ ( cd $(DESTDIR)$(ADDONSDIR) && find -type f ) | sed 's#./# - #' | sort
>> $(DESTDIR)/usr/share/vim/registry/vim-latexsuite.yaml
fix-perm:
_______________________________________________
Reproducible-builds mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds