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

Many documentation files embed the build timestamp.

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

  ./usr/share/doc/vtk7/html/c2_vtk_e_0.html

  53 
<li>465·class(es)·in·416·file(s)·from·directories·matching·<code>^Examples$</code>·on·Tue·Jan·4·00:10:04·2022</li>
  53 
<li>465·class(es)·in·416·file(s)·from·directories·matching·<code>^Examples$</code>·on·Wed·Dec·2·21:09:51·2020</li>


The attached patch fixes this by removing calls from localtime when
generating the documentation.


Thanks for maintaining vtk7!


live well,
  vagrant
From c1f329335e4be0e7036f8cf44aa69683e89cc1c9 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Wed, 16 Dec 2020 02:39:40 +0000
Subject: [PATCH 3/3] Remove timestamps from documentation.

---
 Utilities/Doxygen/doc_class2example.pl | 2 +-
 Utilities/Doxygen/doc_codematch.pl     | 2 +-
 Utilities/Doxygen/doc_index.pl         | 3 +--
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Utilities/Doxygen/doc_class2example.pl b/Utilities/Doxygen/doc_class2example.pl
index 3d42ee2..1b9cb5f 100755
--- a/Utilities/Doxygen/doc_class2example.pl
+++ b/Utilities/Doxygen/doc_class2example.pl
@@ -510,7 +510,7 @@ my (@summary, @credits, @legend);
 
 push @summary,
   "  - " . scalar @words . " class(es) in " .
-  scalar @parsable . " file(s) from directories matching \@c " . $args{"dirmatch"} . " on " . localtime();
+  scalar @parsable . " file(s) from directories matching \@c " . $args{"dirmatch"};
 
 push @summary,
   "  - " . scalar @parsers . " parser(s) : [" . join(", ", @parsers) . "]";
diff --git a/Utilities/Doxygen/doc_codematch.pl b/Utilities/Doxygen/doc_codematch.pl
index 8c006b2..307c40b 100755
--- a/Utilities/Doxygen/doc_codematch.pl
+++ b/Utilities/Doxygen/doc_codematch.pl
@@ -282,7 +282,7 @@ my $header;
 my (@summary, @credits);
 
 push @summary,
-  "  - $nb_files implementation file(s) returning " . scalar (keys %allmatches) . " word(s) for " . scalar (keys %allclasses) . " classe(es) on " . localtime(),
+  "  - $nb_files implementation file(s) returning " . scalar (keys %allmatches) . " word(s) for " . scalar (keys %allclasses) . " classe(es)",
   "  - $nb_replaced_files file(s) updated";
 
 push @credits,
diff --git a/Utilities/Doxygen/doc_index.pl b/Utilities/Doxygen/doc_index.pl
index 029f8da..1a4d4f3 100755
--- a/Utilities/Doxygen/doc_index.pl
+++ b/Utilities/Doxygen/doc_index.pl
@@ -440,8 +440,7 @@ my $header;
 my (@summary, @credits);
 
 push @summary,
-  "  - $nb_files file(s) indexed by " . scalar @words . " word(s) on " .
-  localtime(),
+  "  - $nb_files file(s) indexed by " . scalar @words . " word(s)";
   "  - max limit is " . $args{"limit"} . " xref(s) per word";
 
 push @credits,
-- 
2.29.2

Attachment: signature.asc
Description: PGP signature

Reply via email to