Source: pampi
Version: 1.4+dfsg1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: filesystem
X-Debbugs-Cc: [email protected]

Hi,

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

This is because it iterates over the filesystem in "naive" filesystem
order when generating the translations, resulting in nondetermistic
output within /usr/share/pampi/translations/pampi.ts.

This was actually introduced in debian/patches/translations-Makefile.patch,
so I've attached a patch which patches that patch.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/translations-Makefile.patch        2026-11-27 
21:38:01.053889650 +0000
--- b/debian/patches/translations-Makefile.patch        2026-11-27 
21:48:39.099852676 +0000
@@ -7,7 +7,7 @@
 -      python3 make_pampi.pro.py pampi.pro.in
 -      $(MAKE) -f Makefile2
 +      for f in *.ts; do \
-+        pylupdate6 $$(find .. -name "*.py") --ts $$f; \
++        pylupdate6 $$(find .. -name "*.py" | LC_ALL=C sort) --ts $$f; \
 +        lrelease6 $$f; \
 +      done
  

Reply via email to