Package: makehuman
Version: 1.0.2-8
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
Hi!
While working on the "reproducible builds" effort [1], we have noticed
that makehuman could not be built reproducibly.
The attached patch removes extra timestamps from the build system.
Once applied, makehuman can be built reproducibly in our current experimental
framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
-- System Information:
Debian Release: stretch/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -urNp makehuman-1.0.2.old/debian/scripts/gendoc.sh makehuman-1.0.2/debian/scripts/gendoc.sh
--- makehuman-1.0.2.old/debian/scripts/gendoc.sh 2015-05-16 19:56:27.000000000 -0300
+++ makehuman-1.0.2/debian/scripts/gendoc.sh 2015-06-10 11:50:00.495705233 -0300
@@ -1,10 +1,13 @@
#!/usr/bin/env bash
# This script creates the API documentation files.
+LAST_CHANGE=$(dpkg-parsechangelog -S Date)
+BUILD_DATE=$(LC_ALL=C date -u "+%B %d, %Y" -d "$LAST_CHANGE")
+SPHINXOPTS="-D html_last_updated_fmt=\"$BUILD_DATE\""
echo "Creating API documentation"
if [ -d docs ]; then
- cd docs/sphinx; make html
+ cd docs/sphinx; make html SPHINXOPTS="$SPHINXOPTS"
else
exit 0
fi