[Pkg-javascript-devel] Bug#847039: jqueryui: please build reproducibly (fileordering)

Clint Adams clint at debian.org
Mon Dec 5 01:43:21 UTC 2016


Source: jqueryui
Version: 1.12.1+dfsg-2
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: fileordering

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

The attached patch ensures a stable file order when globbing i18n js
files.

 [1]: https://wiki.debian.org/ReproducibleBuilds
-------------- next part --------------
diff --git a/debian/rules b/debian/rules
index 489b49a..c6a2339 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,6 +64,7 @@ themes/base/jquery-ui.css:
 # Strip copyright block per file in concatentated file
 	sed -i -e 's#^/\*!$$##; s#^ \*.*##; s#^ \*$$##' $@
 
+ui/i18n/jquery-ui-i18n.js: export LC_ALL=C.UTF-8
 ui/i18n/jquery-ui-i18n.js:
 	# Replace newline with \r to ease use of sed (I don't know well enough how
 	# to achieve the same thing in the hold space).


More information about the Pkg-javascript-devel mailing list