Source: fonts-anonymous-pro
Version: 1.003-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
fonts-anonymous-pro could not be built reproducibly.

This is because it extracted .zip files using the timestamps that were
embedded in the original .zip without setting the timezone, so the
mtimes on disk would vary depending on the build system's timezone
setting.

Patch attached that ensures unzip is called with the UTC timezone.

 [0] https://reproducible-builds.org/


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2020-06-19 11:06:16.646245654 +0100
--- b/debian/rules      2020-06-19 11:12:26.779908982 +0100
@@ -4,6 +4,6 @@
        dh $@
 
 override_dh_auto_configure:
-       for i in $$(ls *.zip); do unzip $$i; done
+       for i in $$(ls *.zip); do TZ=Etc/UTC unzip $$i; done
        (cd $(CURDIR)/AnonymousPro-*.*[0-9]; mv FONTLOG.txt 
AnonymousPro-FONTLOG.txt)
        (cd $(CURDIR)/AnonymousProMinus-*.*[0-9]; mv FONTLOG.txt 
AnonymousProMinus-FONTLOG.txt)

Reply via email to