Source: lightproof
Version: 1.6+git20190911.c299ddd-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timezone
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
lightproof could not be built reproducibly.

This is because unzip(1) needs to called with TZ=UTC or it will not
extract the .zip file with reproducible timestamps.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2026-07-05 08:24:36.949511420 -0700
--- b/debian/rules      2026-07-05 08:26:05.443906779 -0700
@@ -41,7 +41,7 @@
                dir=`echo $$oxt | cut -d- -f1`; \
                mkdir -p 
$(CURDIR)/debian/$$pkg/usr/lib/libreoffice/share/extensions/$$dir && \
                cd 
$(CURDIR)/debian/$$pkg/usr/lib/libreoffice/share/extensions/$$dir && \
-                       unzip -o $(CURDIR)/$$oxt; \
+                       TZ=UTC unzip -o $(CURDIR)/$$oxt; \
        done
 
 override_dh_python3:

Reply via email to