Processed: Re: Bug#783026: osgearth: please make the build reproducible
Processing control commands: > tags -1 pending Bug #783026 [src:osgearth] osgearth: please make the build reproducible Added tag(s) pending. -- 783026: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783026 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
Bug#783026: osgearth: please make the build reproducible
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Control: tags -1 pending Hi Reiner, Thanks for the patch! I've included it in slightly modified form, changing the dpkg-parsechangelog command to also work with dpkg << 1.17.0: BUILD_DATE := $(shell dpkg-parsechangelog | sed -n 's/^Date: //p' | LC_ALL=C date -u "+%d %B %Y" -f -) A new upload for experimental is being prepared as we speak and will hit experimental soon. Kind Regards, Bas - -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBCgAGBQJVNV3vAAoJEGdQ8QrojUrxuT0QALFQjp4d1e7I7PzzImLm99DT KFd1E+OLk0deUGzNm61RMQuIghSb/rTwuWssxboivvn9GdQWlOamX0//n+rRDblC Pen53sid030X0z4Kib5OZ++TNEhgVNeex0g/mQaKoQelkpbYPm0Q9nXxnbv5/922 9/6bJuMY99xs59efM9yu+EVUV566FLnVt7A4RS5KaWfMxZ5qtqxXJgirx2l6WjYh gCYBaPd+vFcGZ0rob+H6FuHJ+Vue2FYVGenOzDM3QR/fp6Caa/F2MZr96fJ31Hw1 tPaiHjcutvinfBZlpEGHYvCGLJI473/lV0BJMeL8jafADv2LGwz5v68oNLCqspZP pOwjPoPDmjMCpS0Q1l0IgxyZVwCHJaplx3MP+xdLzDf0pBm2TJttqAsPCobBPqUV XbWL3No1H1+LgrwZp5l2W1+zqACtEfffVu2v3JvkvtICfl6AQ/eqq0pI73UYHaEz g9Utg2JZVCAZNwmhIMFbRi4evMeHErTVmlvktObuEN2ovhUEZqRHhrSS+7iDqWOm 5uYw/NFUWV/pZTNRlJhexEtu49cyhA7gRdS2gW93aXNC/nxqS2l4TqQ8y9wBNwAc 00dWfPpGul6Jw9JA6D05fbkbvfPTntBYZtHtZ3JKZdPJhP7mSrK2fMmv2kTMNog3 hMOj3pshUsdebCwrH2A3 =Ww3h -END PGP SIGNATURE- ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
Bug#783026: osgearth: please make the build reproducible
Source: osgearth Version: 2.5.0+dfsg-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org Hi! While working on Debian's “reproducible builds” effort [1], we have noticed that osgearth doesn't build reproducibly. During build the current date is embedded into the manpages. The attached patch uses the date from the latest changelog entry inside the manpages. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds diff --git a/debian/rules b/debian/rules index 4c26426..97fa72f 100755 --- a/debian/rules +++ b/debian/rules @@ -18,6 +18,7 @@ CXXFLAGS += $(CPPFLAGS) PACKAGE := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//') +BUILD_DATE := $(shell dpkg-parsechangelog -S Date | LC_ALL=C date -u "+%d %B %Y" -f -) MANPAGES:=$(wildcard debian/man/*.*.xml) @@ -38,7 +39,7 @@ override_dh_auto_configure: override_dh_auto_build: # Create man pages from DocBook XML for x in $(MANPAGES) ; do \ - docbook2x-man $$x ; \ + docbook2x-man --string-param header-3="$(BUILD_DATE)" $$x ; \ mv `basename $$x | sed 's/.xml$$//'` `dirname $$x` ; \ done signature.asc Description: OpenPGP digital signature ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel