summaryrefslogtreecommitdiff
blob: bdab17fddd86f4c4dc1b364f97b4500c19b8d14f (plain)
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
Index: texmaker-2.2/latexeditor.h
===================================================================
--- texmaker-2.2.orig/latexeditor.h
+++ texmaker-2.2/latexeditor.h
@@ -22,7 +22,7 @@
 
 #include "latexhighlighter.h"
 #include "parenmatcher.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
 
 //class QCompleter;
 //class ParenMatcher;
Index: texmaker-2.2/latexeditorview.h
===================================================================
--- texmaker-2.2.orig/latexeditorview.h
+++ texmaker-2.2/latexeditorview.h
@@ -18,7 +18,7 @@
 #include "latexeditor.h"
 #include "linenumberwidget.h"
 #include "findwidget.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
 
 class LatexEditorView : public QWidget  {
    Q_OBJECT
Index: texmaker-2.2/latexhighlighter.h
===================================================================
--- texmaker-2.2.orig/latexhighlighter.h
+++ texmaker-2.2/latexhighlighter.h
@@ -19,7 +19,7 @@
 #include <QTextCharFormat>
 #include <QColor>
 #include <QTextBlockUserData>
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
 
 class QTextDocument;
 
Index: texmaker-2.2/spellerdialog.h
===================================================================
--- texmaker-2.2.orig/spellerdialog.h
+++ texmaker-2.2/spellerdialog.h
@@ -13,7 +13,7 @@
 
 #include "ui_spellerdialog.h"
 #include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
 
 #include <QTextCursor>
 
Index: texmaker-2.2/texmaker.h
===================================================================
--- texmaker-2.2.orig/texmaker.h
+++ texmaker-2.2/texmaker.h
@@ -43,7 +43,7 @@
 #include "logeditor.h"
 #include "gotolinedialog.h"
 #include "replacedialog.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
 #include "browser.h"
 #include "pdfviewer.h"
 
Index: texmaker-2.2/texmaker.pro
===================================================================
--- texmaker-2.2.orig/texmaker.pro
+++ texmaker-2.2/texmaker.pro
@@ -4,7 +4,8 @@ TARGET	 = texmaker
 QT += network \
       xml \
       webkit
-CONFIG	+= qt warn_off release
+CONFIG	+= qt warn_off release link_pkgconfig
+PKGCONFIG = hunspell
 TEXMAKERVERSION=2.2
 DEFINES += TEXMAKERVERSION=\\\"$${TEXMAKERVERSION}\\\"
 DEFINES += HAVE_SPLASH
@@ -54,25 +55,6 @@ HEADERS	+= texmaker.h \
 	userquickdialog.h \
 	synctex_parser.h \
 	synctex_parser_utils.h \
-	hunspell/affentry.hxx \
-	hunspell/affixmgr.hxx \
-	hunspell/atypes.hxx \
-	hunspell/baseaffix.hxx \
-	hunspell/csutil.hxx \
-	hunspell/dictmgr.hxx \
-	hunspell/hashmgr.hxx \
-	hunspell/htypes.hxx \
-	hunspell/hunspell.hxx \
-	hunspell/hunspell.h \
-	hunspell/langnum.hxx \
-	hunspell/license.hunspell \
-	hunspell/phonet.hxx \
-	hunspell/suggestmgr.hxx \
-	hunspell/license.myspell \
-	hunspell/filemgr.hxx \
-	hunspell/hunzip.hxx \
-	hunspell/replist.hxx \
-	hunspell/w_char.hxx \
 	singleapp/qtlocalpeer.h \
 	singleapp/qtlockedfile.h \
 	singleapp/qtsingleapplication.h \
@@ -121,18 +103,6 @@ SOURCES	+= main.cpp \
 	userquickdialog.cpp \
 	synctex_parser.c \
 	synctex_parser_utils.c \
-	hunspell/affentry.cxx \
-	hunspell/affixmgr.cxx \
-	hunspell/csutil.cxx \
-	hunspell/dictmgr.cxx \
-	hunspell/hashmgr.cxx \
-	hunspell/hunspell.cxx \
-	hunspell/phonet.cxx \
-	hunspell/suggestmgr.cxx \
-	hunspell/utf_info.cxx \
-	hunspell/filemgr.cxx \
-	hunspell/replist.cxx \
-	hunspell/hunzip.cxx \
 	singleapp/qtlocalpeer.cpp \
 	singleapp/qtlockedfile.cpp \
 	singleapp/qtsingleapplication.cpp \