texstudio/texstudio-use-system-hunspell-instead-of-bundled-one.patch

37 lines
781 B
Diff
Raw Normal View History

2014-06-20 17:40:50 +00:00
From 4d0e816c1b016c4ec9d54704f40789b1c7b79654 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
2014-06-20 17:40:50 +00:00
Date: Fri, 20 Jun 2014 19:21:51 +0200
2014-03-22 18:10:08 +00:00
Subject: [PATCH 1/3] hunspell patch
2011-08-13 16:45:40 +00:00
---
2014-03-22 18:10:08 +00:00
texstudio.pro | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
2011-08-13 16:45:40 +00:00
2013-11-02 07:44:06 +00:00
diff --git a/texstudio.pro b/texstudio.pro
2014-06-20 17:40:50 +00:00
index 7d07a6a..449dbd0 100644
2013-11-04 19:51:30 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2014-06-20 17:40:50 +00:00
@@ -457,7 +457,7 @@ unix {
2013-11-02 07:44:06 +00:00
}
2013-11-04 19:51:30 +00:00
DEFINES += HUNSPELL_STATIC
2013-11-02 07:44:06 +00:00
-include(hunspell/hunspell.pri)
+include(hunspell.pri)
include(qcodeedit/qcodeedit.pri)
2014-06-20 17:40:50 +00:00
@@ -663,4 +663,9 @@ else {
2013-06-16 08:51:04 +00:00
QMAKE_LFLAGS -= -Wl,-s
QMAKE_LFLAGS_RELEASE -= -Wl,-s
}
2013-11-04 19:51:30 +00:00
-
2014-06-20 17:40:50 +00:00
+# enable use of pkgconfig
+unix {
+ CONFIG += link_pkgconfig
+ # use system hunspell
+ PKGCONFIG += hunspell
+}
2011-08-13 16:45:40 +00:00
--
2014-06-20 17:40:50 +00:00
1.9.3
2011-08-13 16:45:40 +00:00