[Pkg-fonts-devel] Bug#833005: fonts-noto: please make the build reproducible

Chris Lamb lamby at debian.org
Sat Jul 30 18:46:09 UTC 2016


Source: fonts-noto
Version: 20160116-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed
that fonts-noto could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2016-07-30 14:02:42.093360126 -0400
--- b/debian/rules	2016-07-30 14:17:56.473324517 -0400
@@ -39,8 +39,8 @@
 
 # Substvars magic
 fonts-scriptcount := $(shell otfinfo -s $(fonts-unhinted) | perl -ne 's/^.*\t+//;s, ?(/|Default|<unknown|v\.2|\(.*\)).*,,;s,^([^/]+)/\1,$1,;/./ and print' | sort -u | grep -c .)
-fonts-familylist := $(shell otfinfo -a $(fonts-hinted) | cut -d: -f2 | sort -u | $(substvars-list-encode))
-fonts-nohintfamilylist := $(shell otfinfo -a $(fonts-nothinted) | cut -d: -f2 | sort -u | $(substvars-list-encode))
+fonts-familylist := $(shell otfinfo -a $(fonts-hinted) | cut -d: -f2 | LC_ALL=C sort -u | $(substvars-list-encode))
+fonts-nohintfamilylist := $(shell otfinfo -a $(fonts-nothinted) | cut -d: -f2 | LC_ALL=C sort -u | $(substvars-list-encode))
 
 # Install fonts
 DEB_DH_INSTALL_ARGS_$(pkg-mono) = $(fonts-mono) usr/share/fonts/truetype/noto/


More information about the Pkg-fonts-devel mailing list