File: doxygen_cleanup.patch

package info (click to toggle)
elastix 5.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 45,644 kB
  • sloc: cpp: 85,720; lisp: 4,118; python: 1,045; sh: 200; xml: 182; makefile: 33
file content (99 lines) | stat: -rw-r--r-- 3,602 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
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 

 [dox/doxygen/DoxygenHeader.html]
 * replace some local dangling links by absolute links
   to the elastix home page

--- 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
@@ -393,7 +393,7 @@
     exec_program(${DOXYGEN} ARGS "--version" OUTPUT_VARIABLE ELASTIX_DOXYGEN_VERSION)

     # Get the date and time in RFC 2822 format.
-    string(TIMESTAMP ELASTIX_DOXYGEN_DATE "%a, %d %b %Y %H:%M:%S +0000" UTC)
+    set(ELASTIX_DOXYGEN_DATE  ${SOURCE_DATE_EPOCH})

     # Configure the doxygen configuration
     configure_file(
@@ -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()

--- salsa.orig/dox/doxygen/Doxyfile.in
+++ salsa/dox/doxygen/Doxyfile.in
@@ -536,7 +536,7 @@
 # Possible values are: YES, NO, DATETIME and DATE.
 # The default value is: NO.
 
-TIMESTAMP              = YES
+TIMESTAMP              = NO
 
 #---------------------------------------------------------------------------
 # Build related configuration options
@@ -1559,7 +1559,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.
@@ -2032,7 +2032,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
@@ -2945,7 +2945,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 or svg:svg or svg:svg:core, then this option
 # can be set to YES to enable generation of interactive SVG images that allow
@@ -2959,7 +2959,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.