Source: minetest-mod-xdecor
Version: 1.0+dfsg1-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
minetest-mod-xdecor could not be built reproducibly.

This is because .ogg streams must include unique serial numbers and,
by default oggenc includes andom serial numbers in the header, which
are seeded by the current time and the pid.

Patch attached that uses the literal value of SOURCE_DATE_EPOCH as
the seed instead.


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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2020-04-10 19:04:55.123562731 +0100
--- b/debian/rules      2020-04-10 19:06:28.432093253 +0100
@@ -4,4 +4,4 @@
        dh $@
 
 override_dh_auto_build:
-       oggenc debian/wesnoth_heal.wav -o sounds/xdecor_enchanting.ogg
+       oggenc debian/wesnoth_heal.wav -o sounds/xdecor_enchanting.ogg -s 
$(SOURCE_DATE_EPOCH)

Reply via email to