1 |
jlec 13/01/29 18:44:41 |
2 |
|
3 |
Modified: texmaker-3.5.2-hunspell.patch |
4 |
Log: |
5 |
app-office/texmaker: Correct myspell dir path |
6 |
|
7 |
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 app-office/texmaker/files/texmaker-3.5.2-hunspell.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/files/texmaker-3.5.2-hunspell.patch?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/files/texmaker-3.5.2-hunspell.patch?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/files/texmaker-3.5.2-hunspell.patch?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: texmaker-3.5.2-hunspell.patch |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-office/texmaker/files/texmaker-3.5.2-hunspell.patch,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- texmaker-3.5.2-hunspell.patch 7 Nov 2012 15:45:47 -0000 1.1 |
23 |
+++ texmaker-3.5.2-hunspell.patch 29 Jan 2013 18:44:41 -0000 1.2 |
24 |
@@ -1,11 +1,26 @@ |
25 |
+ configdialog.cpp | 2 +- |
26 |
latexeditor.h | 2 +- |
27 |
latexeditorview.h | 2 +- |
28 |
latexhighlighter.h | 2 +- |
29 |
spellerdialog.h | 2 +- |
30 |
+ texmaker.cpp | 4 ++-- |
31 |
texmaker.h | 2 +- |
32 |
texmaker.pro | 40 +++++----------------------------------- |
33 |
- 6 files changed, 10 insertions(+), 40 deletions(-) |
34 |
+ 8 files changed, 13 insertions(+), 43 deletions(-) |
35 |
|
36 |
+diff --git a/configdialog.cpp b/configdialog.cpp |
37 |
+index c2354d3..dea2bc1 100644 |
38 |
+--- a/configdialog.cpp |
39 |
++++ b/configdialog.cpp |
40 |
+@@ -211,7 +211,7 @@ void ConfigDialog::browseAspell() |
41 |
+ QDir spelldir(QCoreApplication::applicationDirPath()); |
42 |
+ #else |
43 |
+ #ifdef DEBIAN_SPELLDIR |
44 |
+-QDir spelldir(PREFIX"/share/myspell/dicts"); |
45 |
++QDir spelldir(PREFIX"/share/myspell"); |
46 |
+ #else |
47 |
+ QDir spelldir(PREFIX"/share/texmaker"); |
48 |
+ #endif |
49 |
diff --git a/latexeditor.h b/latexeditor.h |
50 |
index 1ad4195..8f43b61 100644 |
51 |
--- a/latexeditor.h |
52 |
@@ -58,6 +73,26 @@ |
53 |
|
54 |
#include <QTextCursor> |
55 |
|
56 |
+diff --git a/texmaker.cpp b/texmaker.cpp |
57 |
+index 6e8f41b..c94d76a 100644 |
58 |
+--- a/texmaker.cpp |
59 |
++++ b/texmaker.cpp |
60 |
+@@ -4302,7 +4302,7 @@ geometry_options=config->value("Quick/GeometryOptions","left=2cm,right=2cm,top=2 |
61 |
+ QString dicDir=QCoreApplication::applicationDirPath() + "/"; |
62 |
+ #else |
63 |
+ #ifdef DEBIAN_SPELLDIR |
64 |
+-QString dicDir=PREFIX"/share/myspell/dicts/"; |
65 |
++QString dicDir=PREFIX"/share/myspell/"; |
66 |
+ #else |
67 |
+ QString dicDir=PREFIX"/share/texmaker/"; |
68 |
+ #endif |
69 |
+@@ -10747,4 +10747,4 @@ if (singlemode && currentEditorView()) |
70 |
+ UpdateBibliography(); |
71 |
+ } |
72 |
+ } |
73 |
+-} |
74 |
+\ No newline at end of file |
75 |
++} |
76 |
diff --git a/texmaker.h b/texmaker.h |
77 |
index 3b7135e..5713b5a 100644 |
78 |
--- a/texmaker.h |