Source: sratom Version: 0.6.4-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that sratom could not be built reproducibly. This is because it was embedding the absolute build path in the docs, for example on the "Main Page". Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/1002-reproducible_build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/1002-reproducible_build.patch 2020-07-30 10:58:17.262401526 +0100 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2020-07-30 + +--- sratom-0.6.4.orig/doc/reference.doxygen.in ++++ sratom-0.6.4/doc/reference.doxygen.in +@@ -160,7 +160,7 @@ FULL_PATH_NAMES = NO + # will be relative from the directory where doxygen is started. + # This tag requires that the tag FULL_PATH_NAMES is set to YES. + +-STRIP_FROM_PATH = ++STRIP_FROM_PATH = @SRATOM_SRCDIR@/doc/ + + # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the + # path mentioned in the documentation of a class, which tells the reader which --- a/debian/patches/series 2020-07-30 10:55:09.648301421 +0100 --- b/debian/patches/series 2020-07-30 10:58:16.398391786 +0100 @@ -1 +1,2 @@ 1001-dont_run_ldconfig.patch +1002-reproducible_build.patch