Package: pathological Version: 1.1.3-12 Tags: patch Severity: wishlist User: reproducible-bui...@lists.alioth.debian.org Usertags: randomness X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
By default oggenc includes random serial numbers in the header, which are seeded by the current time and the pid. This makes the build not reproducible. [0] Patch attached. We use the filename as the serial to avoid potential uniqueness problems. [0] https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/debian/rules b/debian/rules index 6afabf2..ea1e6ff 100755 --- a/debian/rules +++ b/debian/rules @@ -10,8 +10,8 @@ override_dh_auto_install: override_dh_install: xmp music/intro.xm -o debian/pathological/usr/share/games/pathological/music/intro.wav xmp music/background.xm -o debian/pathological/usr/share/games/pathological/music/background.wav - oggenc -b 256 debian/pathological/usr/share/games/pathological/music/intro.wav - oggenc -b 160 debian/pathological/usr/share/games/pathological/music/background.wav + oggenc --serial intro.wav -b 256 debian/pathological/usr/share/games/pathological/music/intro.wav + oggenc --serial background.wav -b 160 debian/pathological/usr/share/games/pathological/music/background.wav rm -f debian/pathological/usr/share/games/pathological/music/*.xm rm -f debian/pathological/usr/share/games/pathological/music/*.wav dh_install