[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#833395: emacspeak: please make the build reproducible



Source: emacspeak
Version: 44.0+dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed
that emacspeak could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible_build.patch	1969-12-31 19:00:00.000000000 -0500
--- b/debian/patches/reproducible_build.patch	2016-08-03 16:01:53.454741128 -0400
@@ -0,0 +1,35 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby@debian.org>
+Last-Update: 2016-08-03
+
+--- emacspeak-44.0+dfsg.orig/sounds/3d/src/scroll.csd
++++ emacspeak-44.0+dfsg/sounds/3d/src/scroll.csd
+@@ -13,8 +13,8 @@ kaz1 	linseg -90, p3, 90
+ kaz2 	linseg 45, p3, 225
+ kenv linseg 0.5, p3, 0.1
+ ; generate pink noise
+-an1  pinkish 1
+-an2  pinkish  0.25
++an1  pinkish 1 20 1
++an2  pinkish  0.25 20 1
+ al1, ar1 hrtfmove2 an1, kaz1, -40, "hrtf-44100-left.dat","hrtf-44100-right.dat"	
+ al2, ar2 hrtfmove2 an2, kaz2, 40, "hrtf-44100-left.dat","hrtf-44100-right.dat"	
+ ; write audio out
+--- emacspeak-44.0+dfsg.orig/sounds/3d/src/window-resize.csd
++++ emacspeak-44.0+dfsg/sounds/3d/src/window-resize.csd
+@@ -9,12 +9,13 @@ nchnls = 2
+ 0dbfs = 1
+ 
+ instr 1 
++seed 10
+ kaz1 	linseg -360, p3, 0
+ kaz2 	linseg 0, p3, 360
+ kenv linseg 0.5, p3, 0.1
+ ; generate pink noise
+-an1  pinkish 1
+-an2  pinkish  0.15
++an1  pinkish 1 20 1
++an2  pinkish  0.15 20 1
+ al1, ar1 hrtfmove2 an1, kaz1, -40, "hrtf-44100-left.dat","hrtf-44100-right.dat"	
+ al2, ar2 hrtfmove2 an2, kaz2, 40, "hrtf-44100-left.dat","hrtf-44100-right.dat"	
+ ; write audio out
--- a/debian/patches/series	2016-08-03 15:59:31.457501122 -0400
--- b/debian/patches/series	2016-08-03 16:01:48.642699115 -0400
@@ -5,3 +5,4 @@
 fix_lintian_privacy-breach-logo_error.patch
 add_DESTDIR_to_makefile.patch
 dont_install_OUTLOUD_for_now.patch
+reproducible_build.patch

Reply to: