Source: deltachat-core
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Numerous html documentation files embed the build path:

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/deltachat-core.html

For example:

  ./usr/share/doc/libdeltachat0/html/classdc__array__t.html
  673 
<li>/build/1st/deltachat-core-0.45.0+ds/src/<a·class="el"·href="deltachat_8h_source.html">deltachat.h</a></li>
  673       
<li>/build/2/deltachat-core-0.45.0+ds/2nd/src/<a·class="el"·href="deltachat_8h_source.html">deltachat.h</a></li>

  674 <li>/build/1st/deltachat-core-0.45.0+ds/src/dc_array.c</li>               
                                      674 
<li>/build/2/deltachat-core-0.45.0+ds/2nd/src/dc_array.c</li>


The attached patch fixes this by setting FULL_PATH_NAMES = NO in the
Doxyfile used by doxygen to generate the documentation:

  
https://tests.reproducible-builds.org/debian/issues/build_dir_in_documentation_generated_by_doxygen_issue.html


Thanks for maintaining deltachat-core!


live well,
  vagrant
From 717622a04812c114bb6e02bd23102031e51757b3 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Thu, 10 Dec 2020 04:05:24 +0000
Subject: [PATCH] Disable FULL_PATH_NAMES in doxyfile, to generate
 documentation reproducibly regardless of build path.

  https://tests.reproducible-builds.org/debian/issues/unstable/build_dir_in_documentation_generated_by_doxygen_issue.html
---
 docs/Doxyfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/Doxyfile b/docs/Doxyfile
index 24ee698..6c381b3 100644
--- a/docs/Doxyfile
+++ b/docs/Doxyfile
@@ -144,7 +144,7 @@ INLINE_INHERITED_MEMB  = NO
 # shortest path that makes the file name unique will be used
 # The default value is: YES.
 
-FULL_PATH_NAMES        = YES
+FULL_PATH_NAMES        = NO
 
 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
 # Stripping is only done if one of the specified strings matches the left-hand
-- 
2.29.2

Attachment: signature.asc
Description: PGP signature

Reply via email to