[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#968278: serd: please make the build reproducible



Source: serd
Version: 0.30.4-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
serd could not be built reproducibly.

This is because it embeds the build path when generating the reference
documentation; the index.html was encoding it in the text for the
page.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@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-08-12 10:51:47.680602854 +0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby@debian.org>
+Last-Update: 2020-08-12
+
+--- serd-0.30.4.orig/doc/reference.doxygen.in
++++ serd-0.30.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        = @SERD_SRCDIR@
+ 
+ # 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-08-12 10:16:34.255966557 +0100
--- b/debian/patches/series	2020-08-12 10:51:46.416592815 +0100
@@ -1,2 +1,3 @@
 0001-kfreebsd_ftbfs.patch
 1001-dont_run_ldconfig.patch
+1002-reproducible-build.patch

Reply to: