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

Various .html files in the documentation include unsorted arrays:

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

  /usr/share/doc/vtk9/html/c2_vtk_e_0.html
  51    <li>3·parser(s)·:·[C++,·Python,·Java]</li>
  51    <li>3·parser(s)·:·[Java,·Python,·C++]</li>


The attached patch fixes this by sorting the parsers array in
doc_class2example.pl.


Thanks for maintaining vtk9!


live well,
  vagrant
From c3f5613299c9dfdee66709674a6cafafb6576137 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Tue, 15 Dec 2020 07:38:56 +0000
Subject: [PATCH 2/2] doc_class2example.pl: Sort the parsers array.

Thanks to Bernhard M. Wiedemann <[email protected]>.
---
 Utilities/Doxygen/doc_class2example.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Utilities/Doxygen/doc_class2example.pl b/Utilities/Doxygen/doc_class2example.pl
index 3978563..ce8aeca 100755
--- a/Utilities/Doxygen/doc_class2example.pl
+++ b/Utilities/Doxygen/doc_class2example.pl
@@ -261,6 +261,7 @@ if (exists $args{"parser"}) {
 } else {
     @parsers = keys %parsers;
 }
+@parsers = sort @parsers;
 
 my $os_is_win = ($^O =~ m/(MSWin32|Cygwin)/i);
 my $open_file_as_text = $os_is_win ? O_TEXT : 0;
-- 
2.29.2

Attachment: signature.asc
Description: PGP signature

-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to