File: doxygen_cleanup.patch

package info (click to toggle)
elastix 5.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 45,584 kB
  • sloc: cpp: 85,621; lisp: 4,118; python: 1,045; sh: 200; xml: 182; makefile: 33
file content (104 lines) | stat: -rw-r--r-- 3,679 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
Description: Cleanup of the Doxygen generated documentation 
Author: Gert Wollny <gw.fossdev@gmail.com>
Forwarded: no

Cleanup of the doxygen documentation:
 [dox/doxygen/doxyfile.in]
 * use svg instead of png for graphics to save space
 * suppress timestamps created by Doxygen
 * Enable HTML_DYNAMIC_SECTIONS because otherwise the required
   dynsections.js is not added 
.
 [doxygen/DoxygenFooter.html.in] 
 * remove Google analytics
 * replace some local dangling links by absolute links
   to the elastix home page
 .
 [dox/doxygen/DoxygenHeader.html]
 * remove Google search
 * replace some local dangling links by absolute links
   to the elastix home page

--- salsa.orig/dox/doxygen/doxyfile.in
+++ salsa/dox/doxygen/doxyfile.in
@@ -512,7 +512,7 @@
 # Possible values are: YES, NO, DATETIME and DATE.
 # The default value is: NO.
 
-TIMESTAMP              = YES
+TIMESTAMP              = NO
 
 #---------------------------------------------------------------------------
 # Build related configuration options
@@ -1471,7 +1471,7 @@
 # The default value is: NO.
 # This tag requires that the tag GENERATE_HTML is set to YES.
 
-HTML_DYNAMIC_SECTIONS  = NO
+HTML_DYNAMIC_SECTIONS  = YES
 
 # If the HTML_CODE_FOLDING tag is set to YES then classes and functions can be
 # dynamically folded and expanded in the generated HTML source code.
@@ -1914,7 +1914,7 @@
 # The default value is: YES.
 # This tag requires that the tag GENERATE_HTML is set to YES.
 
-SEARCHENGINE           = NO
+SEARCHENGINE           = YES
 
 # When the SERVER_BASED_SEARCH tag is enabled the search engine will be
 # implemented using a web server instead of a web client using JavaScript. There
@@ -2815,7 +2815,7 @@
 # The default value is: png.
 # This tag requires that the tag HAVE_DOT is set to YES.
 
-DOT_IMAGE_FORMAT       = png
+DOT_IMAGE_FORMAT       = svg
 
 # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
 # enable generation of interactive SVG images that allow zooming and panning.
@@ -2827,7 +2827,7 @@
 # The default value is: NO.
 # This tag requires that the tag HAVE_DOT is set to YES.
 
-INTERACTIVE_SVG        = NO
+INTERACTIVE_SVG        = YES
 
 # The DOT_PATH tag can be used to specify the path where the dot tool can be
 # found. If left blank, it is assumed the dot tool can be found in the path.
--- salsa.orig/dox/doxygen/DoxygenHeader.html
+++ salsa/dox/doxygen/DoxygenHeader.html
@@ -24,9 +24,9 @@
 <div class="qindex">
 <table width="100%">
 <tr><td>
-<a class="logo1" href="../index.php"><img src="../images/elastixLogo.gif" alt="go home" height="40"></a></td>
+<a class="logo1" href="http://elastix.isi.uu.nl/index.php"><img src="http://elastix.isi.uu.nl/images/elastixLogo.gif" alt="go home" height="40"></a></td>
 <td style="text-align:center">
-  <a class="qindex" href="../index.php">Home</a> |
+  <a class="qindex" href="http://elastix.isi.uu.nl/index.php">Home</a> |
 <a class="qindex" href="index.html">Main&nbsp;Page</a> |
 <a class="qindex" href="topics.html">Topics</a> |
 <a class="qindex" href="namespaces.html">Namespace List</a> |
--- salsa.orig/CMakeLists.txt
+++ salsa/CMakeLists.txt
@@ -385,7 +385,7 @@
 
     # Get date
     if(UNIX OR CYGWIN)
-      exec_program("date '+%d-%m-%Y'" OUTPUT_VARIABLE ELASTIX_DOXYGEN_DATE)
+      set(ELASTIX_DOXYGEN_DATE  ${SOURCE_DATE_EPOCH})
     endif()
     if(WIN32)
       if(NOT CYGWIN AND NOT MINGW)
@@ -409,6 +409,10 @@
     configure_file(
       ${ELASTIX_DOXYGEN_DIR}/MainPage.dox.in
       ${ELASTIX_HELP_DIR}/MainPage.dox @ONLY)
+      
+    configure_file(
+      ${ELASTIX_DOXYGEN_DIR}/doxyfile.in
+      ${ELASTIX_HELP_DIR}/doxyfile.out @ONLY)
   endif()
 endif()