community/texstudio to 2.12.6-5

This commit is contained in:
Kevin Mihelich 2017-12-02 00:44:28 +00:00
parent 3e0cec6cd8
commit 2055bebe2b
2 changed files with 15 additions and 3 deletions

View file

@ -6,7 +6,7 @@
pkgname=texstudio
pkgver=2.12.6
pkgrel=4
pkgrel=5
pkgdesc="Integrated writing environment for creating LaTeX documents"
arch=('x86_64')
url="http://texstudio.sourceforge.net/"
@ -22,7 +22,7 @@ source=("hg+http://hg.code.sf.net/p/texstudio/hg#tag=${pkgver}"
texstudio-debughelper-arm-fix.patch)
sha512sums=('SKIP'
'247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68'
'3c5df094564c0d4a2ad09ea408eb129f723bded6c274f5ceb695f0672cbcbf2dab57edf86232e4bf302bec9c0f049ca0a11845b4bf9dfb37023494ed279ff9a9'
'a098c45440077db6c137bbeeb76d266242b80d51c3721aed30987d22b3e381b2a490b685aff4897d203a17256c64a9254360e3ac6f962675ea4b9a575a29a808'
'dcb5ce7cd3e83fc221903fa895e6c428c54ada7468e74bb0a3e6bfac01c9e9575e4780d300b67f44064f2d25e10dd1aef531b847cdee71fbfbe7337808a0c8f4')
prepare() {

View file

@ -1,6 +1,18 @@
diff -r 184eb474c083 configmanager.cpp
--- a/configmanager.cpp Sun Nov 26 21:13:19 2017 +0100
+++ b/configmanager.cpp Fri Dec 01 21:07:57 2017 +0100
@@ -603,7 +603,7 @@
#else
registerOption("Grammar/Language Tool URL", &grammarCheckerConfig->languageToolURL, "http://localhost:8081/", &pseudoDialog->lineEditGrammarLTUrl);
#endif
- registerOption("Grammar/Language Tool Path", &grammarCheckerConfig->languageToolPath, "", &pseudoDialog->lineEditGrammarLTPath);
+ registerOption("Grammar/Language Tool Path", &grammarCheckerConfig->languageToolPath, "/usr/share/languagetool:/usr/share/java/languagetool/*", &pseudoDialog->lineEditGrammarLTPath);
registerOption("Grammar/Language Tool Arguments", &grammarCheckerConfig->languageToolArguments, "org.languagetool.server.HTTPServer -p 8081", &pseudoDialog->lineEditGrammarLTArguments);
registerOption("Grammar/Language Tool Java Path", &grammarCheckerConfig->languageToolJavaPath, "java", &pseudoDialog->lineEditGrammarLTJava);
registerOption("Grammar/Language Tool Autorun", &grammarCheckerConfig->languageToolAutorun, true, &pseudoDialog->checkBoxGrammarLTAutorun);
diff -r 184eb474c083 grammarcheck.cpp
--- a/grammarcheck.cpp Sun Nov 26 21:13:19 2017 +0100
+++ b/grammarcheck.cpp Fri Dec 01 15:23:55 2017 +0100
+++ b/grammarcheck.cpp Fri Dec 01 21:07:57 2017 +0100
@@ -898,7 +898,7 @@
}
triedToStart = true;