Package: robojournal / 0.5-1

hardcoded-doc-path.patch Patch series | 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
Override upstream's hardcoded doc paths
Index: robojournal/core/helpcore.cpp
===================================================================
--- robojournal.orig/core/helpcore.cpp	2014-10-15 15:46:36.144050779 +0530
+++ robojournal/core/helpcore.cpp	2014-10-15 15:46:36.144050779 +0530
@@ -127,7 +127,7 @@
 #endif
 
 #ifdef unix
-                location="/usr/share/doc/robojournal";
+                location="/usr/share/doc/robojournal-doc";
 #endif
 
                 b.critical(MainWindow::mw,"RoboJournal","RoboJournal could not locate the collection file"
Index: robojournal/robojournal.7
===================================================================
--- robojournal.orig/robojournal.7	2014-10-15 15:46:36.144050779 +0530
+++ robojournal/robojournal.7	2014-10-15 15:46:36.144050779 +0530
@@ -23,9 +23,9 @@
 contained in the 
 .B  robojournal-doc 
 package. This documentation consists of loose HTML + image files that are installed in 
-/usr/share/doc/robojournal. RoboJournal contains a dedicated interface for displaying documentation, accessed by pressing the
+/usr/share/doc/robojournal-doc. RoboJournal contains a dedicated interface for displaying documentation, accessed by pressing the
 .B F1 
-key at any time while the main RoboJournal window is active. You can also open these documentation files directly by displaying /usr/share/doc/robojournal/toc.html 
+key at any time while the main RoboJournal window is active. You can also open these documentation files directly by displaying /usr/share/doc/robojournal-doc/toc.html 
  in any browser (like Firefox, Chrome, et. al).
 
 .P
Index: robojournal/robojournal.pro
===================================================================
--- robojournal.orig/robojournal.pro	2014-10-15 15:46:36.144050779 +0530
+++ robojournal/robojournal.pro	2014-10-15 15:46:36.144050779 +0530
@@ -202,7 +202,7 @@
     man.files = robojournal.7
     man.path = /usr/share/man/man7
     
-    documentation.path = /usr/share/doc/robojournal
+    documentation.path = /usr/share/doc/robojournal-doc
     documentation.files = doc/* changelog.xhtml
     
     shortcut.path = /usr/share/applications
Index: robojournal/ui/helpviewer.cpp
===================================================================
--- robojournal.orig/ui/helpviewer.cpp	2014-10-15 15:46:36.144050779 +0530
+++ robojournal/ui/helpviewer.cpp	2014-10-15 15:46:36.144050779 +0530
@@ -62,7 +62,7 @@
 #endif
 
 #ifdef unix
-    path="/usr/share/doc/robojournal/toc.html";
+    path="/usr/share/doc/robojournal-doc/toc.html";
 #endif
 
 
@@ -188,7 +188,7 @@
 #endif
 
 #ifdef unix
-    log="/usr/share/doc/robojournal/changelog.xhtml";
+    log="/usr/share/doc/robojournal-doc/changelog.xhtml";
 #endif
 
     QFile logfile(log);