Source: fritzing
Version: 0.9.0b+dfsg-1.1
Severity: wishlist
Tags: patch
Usertags: locale


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

The attached patch removes locale-specific ordering from the build
system. Once applied, fritzing can be built reproducibly in our
reproducible toolchain.



     : :'  :     Chris Lamb
     `. `'` /
diff --git a/debian/update-copyright b/debian/update-copyright
index 32d630b..9b01b22 100755
--- a/debian/update-copyright
+++ b/debian/update-copyright
@@ -6,7 +6,7 @@ tmp=debian/copyright.tmp
 sed '/#begin authors of parts/q' debian/copyright > $tmp
 echo ' #This list is generated automatically by the script 
debian/update-copyright' >> $tmp
 echo ' #It is based on the contents of the database parts.db' >> $tmp
-echo "select author,date from parts;" | sqlite3 parts/parts.db| sort|uniq|sed 
's/\(.*\)|\(.*\)/ \2\t\1/' >> $tmp
+echo "select author,date from parts;" | sqlite3 parts/parts.db| LC_ALL=C 
sort|uniq|sed 's/\(.*\)|\(.*\)/ \2\t\1/' >> $tmp
 sed -n '/#end authors of parts/,$p' debian/copyright >> $tmp
 mv $tmp debian/copyright
Reproducible-builds mailing list

Reply via email to