Bug#825547: tennix: please make the build reproducible

2019-09-01 Thread Thomas Perl
This was fixed fixed upstream here (based on this patch, but done slightly 
differently):
https://repo.or.cz/tennix.git/commitdiff/d290f01877af035a8156ec1b4c2636aa9f44f72b

Upstream releases 1.2.1 and 1.3.0 contain this fix and should have reproduce 
builds.

Thomas


Bug#825547: tennix: please make the build reproducible

2016-05-27 Thread Reiner Herrmann
Source: tennix
Version: 1.1-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that tennix could not be built reproducibly.
The order of data files to be archived varies.

The attached patch fixes this by sorting them.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible_build.patch b/debian/patches/reproducible_build.patch
new file mode 100644
index 000..9526621
--- /dev/null
+++ b/debian/patches/reproducible_build.patch
@@ -0,0 +1,14 @@
+Author: Reiner Herrmann 
+Description: Sort data files to have a deterministic order when archived
+
+--- a/makefile
 b/makefile
+@@ -81,7 +81,7 @@
+   OBJ += tennixpy.o
+ endif
+ 
+-TOARCHIVE=$(wildcard data/*.ogg data/*.ttf wildcard data/*.png voice/*.ogg *.py)
++TOARCHIVE=$(sort $(wildcard data/*.ogg data/*.ttf data/*.png voice/*.ogg *.py))
+ 
+ WIN32LIBS = *.dll
+ OSXAPP = Tennix.app
diff --git a/debian/patches/series b/debian/patches/series
index 8a2a653..18f188a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix_FTBFS.patch
 do_not_delete_ChangeLog.patch
 fix_relro.patch
+reproducible_build.patch


signature.asc
Description: PGP signature