|
|
0cfe294 |
From b168f39f0b978ef31439e7cef52b20c8fce330d4 Mon Sep 17 00:00:00 2001
|
|
|
0cfe294 |
From: hannes <hannes@fedoraproject.org>
|
|
|
0cfe294 |
Date: Wed, 30 Nov 2011 21:14:27 +0000
|
|
|
0cfe294 |
Subject: [PATCH] hunspell patch
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
---
|
|
johannes lips |
b146856 |
spellerutility.h | 2 +-
|
|
|
0cfe294 |
texstudio.pro | 38 ++++++--------------------------------
|
|
|
0cfe294 |
2 files changed, 7 insertions(+), 33 deletions(-)
|
|
johannes lips |
b146856 |
|
|
|
0cfe294 |
diff --git a/spellerutility.h b/spellerutility.h
|
|
|
0cfe294 |
index 76fe382..c889105 100644
|
|
johannes lips |
b146856 |
--- spellerutility.h
|
|
johannes lips |
b146856 |
+++ spellerutility.h
|
|
johannes lips |
b146856 |
@@ -13,7 +13,7 @@
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
#include "mostQtHeaders.h"
|
|
johannes lips |
b146856 |
|
|
johannes lips |
b146856 |
-#include "hunspell/hunspell.hxx"
|
|
johannes lips |
b146856 |
+#include <hunspell.hxx>
|
|
johannes lips |
b146856 |
class SpellerUtility: public QObject {
|
|
johannes lips |
b146856 |
Q_OBJECT
|
|
johannes lips |
b146856 |
public:
|
|
|
0cfe294 |
diff --git a/texstudio.pro b/texstudio.pro
|
|
|
0cfe294 |
index 80e9ba3..c5b5ec6 100644
|
|
johannes lips |
b146856 |
--- texstudio.pro
|
|
johannes lips |
b146856 |
+++ texstudio.pro
|
|
|
0cfe294 |
@@ -51,24 +51,6 @@ HEADERS += texmaker.h \
|
|
|
0cfe294 |
codesnippet.h \
|
|
|
0cfe294 |
thesaurusdialog.h \
|
|
|
0cfe294 |
xmltagslistwidget.h \
|
|
|
0cfe294 |
- hunspell/affentry.hxx \
|
|
|
0cfe294 |
- hunspell/affixmgr.hxx \
|
|
|
0cfe294 |
- hunspell/atypes.hxx \
|
|
|
0cfe294 |
- hunspell/baseaffix.hxx \
|
|
|
0cfe294 |
- hunspell/csutil.hxx \
|
|
|
0cfe294 |
- hunspell/dictmgr.hxx \
|
|
|
0cfe294 |
- hunspell/hashmgr.hxx \
|
|
|
0cfe294 |
- hunspell/htypes.hxx \
|
|
|
0cfe294 |
- hunspell/hunspell.hxx \
|
|
|
0cfe294 |
- hunspell/hunspell.h \
|
|
|
0cfe294 |
- hunspell/langnum.hxx \
|
|
|
0cfe294 |
- hunspell/license.hunspell \
|
|
|
0cfe294 |
- hunspell/phonet.hxx \
|
|
|
0cfe294 |
- hunspell/suggestmgr.hxx \
|
|
|
0cfe294 |
- hunspell/license.myspell \
|
|
|
0cfe294 |
- hunspell/filemgr.hxx \
|
|
|
0cfe294 |
- hunspell/hunzip.hxx \
|
|
|
0cfe294 |
- hunspell/w_char.hxx \
|
|
|
0cfe294 |
qcodeedit/lib/qeditorinputbinding.h \
|
|
|
0cfe294 |
qcodeedit/lib/qeditorinputbindinginterface.h \
|
|
|
0cfe294 |
randomtextgenerator.h \
|
|
|
0cfe294 |
@@ -84,7 +66,6 @@ HEADERS += texmaker.h \
|
|
|
0cfe294 |
latexdocument.h \
|
|
|
0cfe294 |
unicodeinsertion.h \
|
|
|
0cfe294 |
universalinputdialog.h \
|
|
|
0cfe294 |
- hunspell/replist.hxx \
|
|
|
0cfe294 |
scriptengine.h \
|
|
|
0cfe294 |
insertgraphics.h \
|
|
|
0cfe294 |
tmxtabwidget.h \
|
|
|
0cfe294 |
@@ -143,18 +124,6 @@ SOURCES += main.cpp \
|
|
|
0cfe294 |
codesnippet.cpp \
|
|
|
0cfe294 |
thesaurusdialog.cpp \
|
|
|
0cfe294 |
xmltagslistwidget.cpp \
|
|
|
0cfe294 |
- hunspell/affentry.cxx \
|
|
|
0cfe294 |
- hunspell/affixmgr.cxx \
|
|
|
0cfe294 |
- hunspell/csutil.cxx \
|
|
|
0cfe294 |
- hunspell/dictmgr.cxx \
|
|
|
0cfe294 |
- hunspell/hashmgr.cxx \
|
|
|
0cfe294 |
- hunspell/hunspell.cxx \
|
|
|
0cfe294 |
- hunspell/phonet.cxx \
|
|
|
0cfe294 |
- hunspell/replist.cxx \
|
|
|
0cfe294 |
- hunspell/suggestmgr.cxx \
|
|
|
0cfe294 |
- hunspell/utf_info.cxx \
|
|
|
0cfe294 |
- hunspell/filemgr.cxx \
|
|
|
0cfe294 |
- hunspell/hunzip.cxx \
|
|
|
0cfe294 |
encodingdialog.cpp \
|
|
|
0cfe294 |
qcodeedit/lib/qeditorinputbinding.cpp \
|
|
|
0cfe294 |
randomtextgenerator.cpp \
|
|
|
0cfe294 |
@@ -539,4 +508,9 @@ SOURCES+=synctex_parser_utils.c synctex_parser.c
|
|
|
0cfe294 |
#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
|
|
|
0cfe294 |
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
|
|
|
0cfe294 |
|
|
|
0cfe294 |
-
|
|
|
0cfe294 |
+# enable use of pkgconfig
|
|
|
0cfe294 |
+unix {
|
|
|
0cfe294 |
+ CONFIG += link_pkgconfig
|
|
|
0cfe294 |
+ # use system hunspell
|
|
|
0cfe294 |
+ PKGCONFIG += hunspell
|
|
|
0cfe294 |
+}
|
|
johannes lips |
b146856 |
--
|
|
|
0cfe294 |
1.7.7.3
|
|
johannes lips |
b146856 |
|