Source: pd-flite Version: 0.02.3-1 Severity: wishlist Tags: patch upstream User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps username X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi! While working on the "reproducible builds" effort [1], we have noticed that pd-flite could not be built reproducibly. It embeds the build date and username into the binary. The attached patch strips this to get a reproducible build. 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..d533807 --- /dev/null +++ b/debian/patches/reproducible-build.patch @@ -0,0 +1,13 @@ +Author: Reiner Herrmann <rei...@reiner-h.de> +Description: Strip build date and user to get reproducible build + +--- a/flite.c ++++ b/flite.c +@@ -48,7 +48,6 @@ + + static const char *flite_description = + "flite: Text-to-Speech external v" PACKAGE_VERSION " by Bryan Jurish\n" +- "flite: compiled on " PACKAGE_BUILD_DATE " by " PACKAGE_BUILD_USER "\n" + ; + //static char *flite_acknowledge = "flite: based on code by "; + //static char *flite_version = "flite: PD external v%s by Bryan Jurish"; diff --git a/debian/patches/series b/debian/patches/series index 21011bc..93247f5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ fix-help-files-install-dir.patch +reproducible-build.patch
signature.asc
Description: PGP signature
_______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers