Source: pekwm Version: 0.1.17-2 Severity: wishlist Tags: patch upstream User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi! While working on the "reproducible builds" effort [1], we have noticed that pekwm could not be built reproducibly. It embeds the build date/time into the binary. The attached patch strips this to enable reproducible building. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/30-reproducible-build.patch b/debian/patches/30-reproducible-build.patch new file mode 100644 index 0000000..9f9b067 --- /dev/null +++ b/debian/patches/30-reproducible-build.patch @@ -0,0 +1,24 @@ +Author: Reiner Herrmann <rei...@reiner-h.de> +Description: Strip build date from version to enable reproducible building + +--- a/configure.ac ++++ b/configure.ac +@@ -279,7 +279,6 @@ + dnl define build info + EVO=`date` + AC_DEFINE_UNQUOTED(FEATURES, "$FEATURES", [Build info, do not touch]) +-AC_DEFINE_UNQUOTED(EXTRA_VERSION_INFO, " Built on $EVO", [Build info, do not touch]) + + dnl create the makefiles + AC_OUTPUT(Makefile +--- a/src/main.cc ++++ b/src/main.cc +@@ -42,7 +42,7 @@ + void + printVersion(void) + { +- cout << "pekwm: version " << VERSION << EXTRA_VERSION_INFO << endl; ++ cout << "pekwm: version " << VERSION << endl; + } + + //! @brief Prints version and availible options diff --git a/debian/patches/series b/debian/patches/series index 5183e38..6fa29dc 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 10-menu.patch 20-use-x-terminal-emulator.patch +30-reproducible-build.patch
signature.asc
Description: Digital signature