Source: libgrokj2k
Version: 7.6.0-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
libgrokj2k's documentation could not be built reproducibly.
This is because the doxygen-generated HTML pages reference the
absolute build path due to use of an incorrect STRIP_FROM_PATH
directive in the Doxyfile configuration file.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` la...@debian.org / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000
+0100
--- b/debian/patches/reproducible-build.patch 2020-10-19 11:22:36.481731173
+0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2020-10-19
+
+--- libgrokj2k-7.6.0.orig/doc/Doxyfile.dox.cmake.in
++++ libgrokj2k-7.6.0/doc/Doxyfile.dox.cmake.in
+@@ -25,7 +25,7 @@ ABBREVIATE_BRIEF = "The $name clas
+ ALWAYS_DETAILED_SEC = NO
+ INLINE_INHERITED_MEMB = NO
+ FULL_PATH_NAMES = NO
+-STRIP_FROM_PATH = C://
++STRIP_FROM_PATH = @GROK_BINARY_DIR@
+ STRIP_FROM_INC_PATH =
+ SHORT_NAMES = NO
+ JAVADOC_AUTOBRIEF = YES
--- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series 2020-10-19 11:22:34.921708545 +0100
@@ -0,0 +1 @@
+reproducible-build.patch