Source: tennix Version: 1.1-3 Severity: wishlist Tags: patch User: [email protected] Usertags: fileordering X-Debbugs-Cc: [email protected]
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 0000000..9526621 --- /dev/null +++ b/debian/patches/reproducible_build.patch @@ -0,0 +1,14 @@ +Author: Reiner Herrmann <[email protected]> +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

