1 |
jlec 11/04/27 06:38:17 |
2 |
|
3 |
Added: texmaker-3.02-hunspell.patch |
4 |
Removed: texmaker-2.22-hunspell.patch |
5 |
texmaker-2.10-hunspell.patch |
6 |
texmaker-2.20-hunspell.patch |
7 |
texmaker-2.21-hunspell.patch |
8 |
Log: |
9 |
Version Bump, Cleaned old |
10 |
|
11 |
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64) |
12 |
|
13 |
Revision Changes Path |
14 |
1.1 app-office/texmaker/files/texmaker-3.02-hunspell.patch |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/files/texmaker-3.02-hunspell.patch?rev=1.1&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/files/texmaker-3.02-hunspell.patch?rev=1.1&content-type=text/plain |
18 |
|
19 |
Index: texmaker-3.02-hunspell.patch |
20 |
=================================================================== |
21 |
configdialog.cpp | 2 +- |
22 |
latexeditor.h | 2 +- |
23 |
latexeditorview.h | 2 +- |
24 |
latexhighlighter.h | 2 +- |
25 |
spellerdialog.h | 2 +- |
26 |
texmaker.h | 2 +- |
27 |
texmaker.pro | 36 +++--------------------------------- |
28 |
7 files changed, 9 insertions(+), 39 deletions(-) |
29 |
|
30 |
diff --git a/configdialog.cpp b/configdialog.cpp |
31 |
index ef30bd4..1acc9d1 100644 |
32 |
--- a/configdialog.cpp |
33 |
+++ b/configdialog.cpp |
34 |
@@ -122,7 +122,7 @@ void ConfigDialog::browseAspell() |
35 |
QDir spelldir(QCoreApplication::applicationDirPath()); |
36 |
#else |
37 |
#ifdef DEBIAN_SPELLDIR |
38 |
-QDir spelldir(PREFIX"/share/myspell/dicts"); |
39 |
+QDir spelldir(PREFIX"/share/myspell"); |
40 |
#else |
41 |
QDir spelldir(PREFIX"/share/texmaker"); |
42 |
#endif |
43 |
diff --git a/latexeditor.h b/latexeditor.h |
44 |
index b18ff9b..4fe11a0 100644 |
45 |
--- a/latexeditor.h |
46 |
+++ b/latexeditor.h |
47 |
@@ -26,7 +26,7 @@ |
48 |
#include <QTimer> |
49 |
|
50 |
#include "latexhighlighter.h" |
51 |
-#include "hunspell/hunspell.hxx" |
52 |
+#include <hunspell.hxx> |
53 |
|
54 |
typedef int UserBookmarkList[3]; |
55 |
|
56 |
diff --git a/latexeditorview.h b/latexeditorview.h |
57 |
index 0471d6f..f663fdf 100644 |
58 |
--- a/latexeditorview.h |
59 |
+++ b/latexeditorview.h |
60 |
@@ -19,7 +19,7 @@ |
61 |
#include "linenumberwidget.h" |
62 |
#include "findwidget.h" |
63 |
#include "minisplitter.h" |
64 |
-#include "hunspell/hunspell.hxx" |
65 |
+#include <hunspell.hxx> |
66 |
|
67 |
class LatexEditorView : public QWidget { |
68 |
Q_OBJECT |
69 |
diff --git a/latexhighlighter.h b/latexhighlighter.h |
70 |
index 83ca79c..a1e437a 100644 |
71 |
--- a/latexhighlighter.h |
72 |
+++ b/latexhighlighter.h |
73 |
@@ -20,7 +20,7 @@ |
74 |
#include <QColor> |
75 |
#include <QTextBlockUserData> |
76 |
//#include "latexeditor.h" |
77 |
-#include "hunspell/hunspell.hxx" |
78 |
+#include <hunspell.hxx> |
79 |
|
80 |
class QTextDocument; |
81 |
class LatexEditor; |
82 |
diff --git a/spellerdialog.h b/spellerdialog.h |
83 |
index 83248ae..cd16dad 100644 |
84 |
--- a/spellerdialog.h |
85 |
+++ b/spellerdialog.h |
86 |
@@ -13,7 +13,7 @@ |
87 |
|
88 |
#include "ui_spellerdialog.h" |
89 |
#include "latexeditor.h" |
90 |
-#include "hunspell/hunspell.hxx" |
91 |
+#include <hunspell.hxx> |
92 |
|
93 |
#include <QTextCursor> |
94 |
|
95 |
diff --git a/texmaker.h b/texmaker.h |
96 |
index 8c98526..f9bbb1a 100644 |
97 |
--- a/texmaker.h |
98 |
+++ b/texmaker.h |
99 |
@@ -47,7 +47,7 @@ |
100 |
#include "logeditor.h" |
101 |
#include "gotolinedialog.h" |
102 |
#include "replacedialog.h" |
103 |
-#include "hunspell/hunspell.hxx" |
104 |
+#include <hunspell.hxx> |
105 |
#include "browser.h" |
106 |
#include "pdfviewerwidget.h" |
107 |
#include "pdfviewer.h" |
108 |
diff --git a/texmaker.pro b/texmaker.pro |
109 |
index 86e46ac..9938814 100644 |
110 |
--- a/texmaker.pro |
111 |
+++ b/texmaker.pro |
112 |
@@ -4,7 +4,8 @@ TARGET = texmaker |
113 |
QT += network \ |
114 |
xml \ |
115 |
webkit |
116 |
-CONFIG += qt warn_off release |
117 |
+CONFIG += qt warn_off release link_pkgconfig |
118 |
+PKGCONFIG = hunspell |
119 |
TEXMAKERVERSION=3.0.2 |
120 |
DEFINES += TEXMAKERVERSION=\\\"$${TEXMAKERVERSION}\\\" |
121 |
DEFINES += HAVE_SPLASH |
122 |
@@ -56,25 +57,6 @@ HEADERS += texmaker.h \ |
123 |
usercompletiondialog.h \ |
124 |
synctex_parser.h \ |
125 |
synctex_parser_utils.h \ |
126 |
- hunspell/affentry.hxx \ |
127 |
- hunspell/affixmgr.hxx \ |
128 |
- hunspell/atypes.hxx \ |
129 |
- hunspell/baseaffix.hxx \ |
130 |
- hunspell/csutil.hxx \ |
131 |
- hunspell/dictmgr.hxx \ |
132 |
- hunspell/hashmgr.hxx \ |
133 |
- hunspell/htypes.hxx \ |
134 |
- hunspell/hunspell.hxx \ |
135 |
- hunspell/hunspell.h \ |
136 |
- hunspell/langnum.hxx \ |
137 |
- hunspell/license.hunspell \ |
138 |
- hunspell/phonet.hxx \ |
139 |
- hunspell/suggestmgr.hxx \ |
140 |
- hunspell/license.myspell \ |
141 |
- hunspell/filemgr.hxx \ |
142 |
- hunspell/hunzip.hxx \ |
143 |
- hunspell/replist.hxx \ |
144 |
- hunspell/w_char.hxx \ |
145 |
singleapp/qtlocalpeer.h \ |
146 |
singleapp/qtlockedfile.h \ |
147 |
singleapp/qtsingleapplication.h \ |
148 |
@@ -150,18 +132,6 @@ SOURCES += main.cpp \ |
149 |
usercompletiondialog.cpp \ |
150 |
synctex_parser.c \ |
151 |
synctex_parser_utils.c \ |
152 |
- hunspell/affentry.cxx \ |
153 |
- hunspell/affixmgr.cxx \ |
154 |
- hunspell/csutil.cxx \ |
155 |
- hunspell/dictmgr.cxx \ |
156 |
- hunspell/hashmgr.cxx \ |
157 |
- hunspell/hunspell.cxx \ |
158 |
- hunspell/phonet.cxx \ |
159 |
- hunspell/suggestmgr.cxx \ |
160 |
- hunspell/utf_info.cxx \ |
161 |
- hunspell/filemgr.cxx \ |
162 |
- hunspell/replist.cxx \ |
163 |
- hunspell/hunzip.cxx \ |
164 |
singleapp/qtlocalpeer.cpp \ |
165 |
singleapp/qtlockedfile.cpp \ |
166 |
singleapp/qtsingleapplication.cpp \ |
167 |
@@ -253,7 +223,7 @@ LIBS += -L/usr/lib -lz |
168 |
DEFINES += PREFIX=\\\"$${PREFIX}\\\" |
169 |
target.path = $${PREFIX}/bin |
170 |
|
171 |
-#DEFINES += DEBIAN_SPELLDIR |
172 |
+DEFINES += DEBIAN_SPELLDIR |
173 |
|
174 |
INSTALLS = target |
175 |
HEADERS += x11fontdialog.h |