Source: cmocka
Severity: normal
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

The build path is embedded in various documentation files:

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

  ./usr/share/doc/cmocka-doc/html/cmocka_8h_source.html

  <title>cmocka:·/build/1st/cmocka-1.1.5/include/cmocka.h·Source·File</title>
  vs.
  <title>cmocka:·/build/2/cmocka-1.1.5/2nd/include/cmocka.h·Source·File</title>

The attached patch fixes this by setting configuration options in
doc/CMakeLists.txt to pass FULL_PATH_NAMES = NO in the doxygen
configuration used to generate the documentation.


Thanks for maintaining cmocka!


live well,
  vagrant
From a2905110f40b93d17830953aecc22d2379bceea1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Fri, 16 Jul 2021 15:13:48 +0000
Subject: [PATCH] doc/CMakeLists.txt: Disable embedding of full path names in
 documentation generated by doxygen.

https://reproducible-builds.org/docs/build-path/
https://tests.reproducible-builds.org/debian/issues/unstable/build_dir_in_documentation_generated_by_doxygen_issue.html
---
 doc/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 6ac7494..9d4e7b5 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -31,6 +31,7 @@ if (DOXYGEN_FOUND)
                                  ${CMAKE_CURRENT_SOURCE_DIR}/that_style/img/folderclosed.svg
                                  ${CMAKE_CURRENT_SOURCE_DIR}/that_style/img/folderopen.svg
                                  ${CMAKE_CURRENT_SOURCE_DIR}/that_style/js/striped_bg.js)
+    set(DOXYGEN_FULL_PATH_NAMES no)
 
     set(_doxyfile_template "${CMAKE_BINARY_DIR}/CMakeDoxyfile.in")
     set(_target_doxyfile "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile.docs")
-- 
2.32.0

Attachment: signature.asc
Description: PGP signature

Reply via email to