2012-09-09 09:26:25 +00:00
|
|
|
From 48b3ef523393bf584ad92910fa6173f33f4bc0f3 Mon Sep 17 00:00:00 2001
|
2012-02-10 08:21:56 +00:00
|
|
|
From: hannes <hannes@fedoraproject.org>
|
2012-09-09 09:26:25 +00:00
|
|
|
Date: Sun, 9 Sep 2012 09:26:47 +0200
|
|
|
|
Subject: [PATCH] hunspell
|
2011-08-13 16:45:40 +00:00
|
|
|
|
|
|
|
---
|
2012-09-09 09:26:25 +00:00
|
|
|
spellerutility.h | 2 +-
|
|
|
|
texstudio.pro | 38 ++++++--------------------------------
|
2012-02-10 08:21:56 +00:00
|
|
|
2 files changed, 7 insertions(+), 33 deletions(-)
|
2011-08-13 16:45:40 +00:00
|
|
|
|
2012-02-10 08:21:56 +00:00
|
|
|
diff --git a/spellerutility.h b/spellerutility.h
|
2012-09-09 09:26:25 +00:00
|
|
|
index 1e1d6e2..083f412 100644
|
2011-08-13 16:45:40 +00:00
|
|
|
--- spellerutility.h
|
|
|
|
+++ spellerutility.h
|
|
|
|
@@ -13,7 +13,7 @@
|
|
|
|
|
|
|
|
#include "mostQtHeaders.h"
|
|
|
|
|
|
|
|
-#include "hunspell/hunspell.hxx"
|
|
|
|
+#include <hunspell.hxx>
|
|
|
|
class SpellerUtility: public QObject {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2012-09-09 09:26:25 +00:00
|
|
|
diff --git texstudio.pro texstudio.pro
|
|
|
|
index ee28d78..86d8f45 100644
|
2011-08-13 16:45:40 +00:00
|
|
|
--- texstudio.pro
|
|
|
|
+++ texstudio.pro
|
2012-09-09 09:26:25 +00:00
|
|
|
@@ -52,24 +52,6 @@ HEADERS += texmaker.h \
|
|
|
|
debughelper.h \
|
2012-02-10 08:21:56 +00:00
|
|
|
thesaurusdialog.h \
|
|
|
|
xmltagslistwidget.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/w_char.hxx \
|
|
|
|
qcodeedit/lib/qeditorinputbinding.h \
|
|
|
|
qcodeedit/lib/qeditorinputbindinginterface.h \
|
|
|
|
randomtextgenerator.h \
|
2012-09-09 09:26:25 +00:00
|
|
|
@@ -85,7 +67,6 @@ HEADERS += texmaker.h \
|
2012-02-10 08:21:56 +00:00
|
|
|
latexdocument.h \
|
|
|
|
unicodeinsertion.h \
|
|
|
|
universalinputdialog.h \
|
|
|
|
- hunspell/replist.hxx \
|
|
|
|
scriptengine.h \
|
|
|
|
insertgraphics.h \
|
2012-09-09 09:26:25 +00:00
|
|
|
txstabwidget.h \
|
|
|
|
@@ -154,18 +135,6 @@ SOURCES += main.cpp \
|
2012-02-10 08:21:56 +00:00
|
|
|
codesnippet.cpp \
|
|
|
|
thesaurusdialog.cpp \
|
|
|
|
xmltagslistwidget.cpp \
|
|
|
|
- hunspell/affentry.cxx \
|
|
|
|
- hunspell/affixmgr.cxx \
|
|
|
|
- hunspell/csutil.cxx \
|
|
|
|
- hunspell/dictmgr.cxx \
|
|
|
|
- hunspell/hashmgr.cxx \
|
|
|
|
- hunspell/hunspell.cxx \
|
|
|
|
- hunspell/phonet.cxx \
|
|
|
|
- hunspell/replist.cxx \
|
|
|
|
- hunspell/suggestmgr.cxx \
|
|
|
|
- hunspell/utf_info.cxx \
|
|
|
|
- hunspell/filemgr.cxx \
|
|
|
|
- hunspell/hunzip.cxx \
|
|
|
|
encodingdialog.cpp \
|
|
|
|
qcodeedit/lib/qeditorinputbinding.cpp \
|
|
|
|
randomtextgenerator.cpp \
|
2012-09-09 09:26:25 +00:00
|
|
|
@@ -569,4 +538,9 @@ SOURCES+=synctex_parser_utils.c synctex_parser.c
|
2012-02-10 08:21:56 +00:00
|
|
|
#QMAKE_CXXFLAGS_DEBUG += -Werror -Wall -Wextra -Winit-self -Wmain -Wmissing-include-dirs -Wtrigraphs -Wunused -Wunknown-pragmas -Wundef -Wpointer-arith -Wtype-limits -Wwrite-strings -Wclobbered -Wempty-body -Wsign-compare -Waddress -Wlogical-op -Winline
|
|
|
|
QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Winit-self -Wmissing-include-dirs -Wtrigraphs -Wunused -Wunknown-pragmas -Wundef -Wpointer-arith -Wwrite-strings -Wempty-body -Wsign-compare -Waddress -Winline
|
|
|
|
|
|
|
|
-
|
|
|
|
+# enable use of pkgconfig
|
|
|
|
+unix {
|
|
|
|
+ CONFIG += link_pkgconfig
|
|
|
|
+ # use system hunspell
|
|
|
|
+ PKGCONFIG += hunspell
|
|
|
|
+}
|
2011-08-13 16:45:40 +00:00
|
|
|
--
|
2012-09-09 09:26:25 +00:00
|
|
|
1.7.11.4
|
2011-08-13 16:45:40 +00:00
|
|
|
|