Created attachment 581400 [details] languagetool-4.5 ebuild with additional line for languagetool-server-http launcher I tried to integrate LanguageTool with TeXstudio, but was unable to run LanguageTool's local HTTP server via: java -cp /usr/share/languagetool/lib/languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 However, it seems to launch via a script with the following contents: #!/bin/bash gjl_package=languagetool gjl_main="org.languagetool.server.HTTPServer" source /usr/share/java-config-2/launcher/launcher.bash Therefore, the simplest solution seems to generate such a launcher as per the attached modified ebuild. Note that this does not allow TeXstudio to launch LanguageTool when it is not running, since it expects an unmodified JAR that it can run via: java -cp <path-to-LanguageTool> org.languagetool.server.HTTPServer -p 8081 (And the -cp is inserted automatically, and the absence of a path to LanguageTool seems to not run the command, so substituting the 'java' field with languagetool-server-http does not work, nor does distributing the '-p 8081' argument over the class path and arguments fields.)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f742ea5fd948b8a9c202c252942132251a6b6ab commit 4f742ea5fd948b8a9c202c252942132251a6b6ab Author: Tim Harder <radhermit@gentoo.org> AuthorDate: 2019-07-08 22:45:57 +0000 Commit: Tim Harder <radhermit@gentoo.org> CommitDate: 2019-07-08 22:58:39 +0000 app-text/languagetool: version bump to 4.6 Closes: https://bugs.gentoo.org/688878 Closes: https://bugs.gentoo.org/688942 Closes: https://bugs.gentoo.org/689200 Signed-off-by: Tim Harder <radhermit@gentoo.org> app-text/languagetool/Manifest | 1 + app-text/languagetool/files/languagetool.desktop | 10 +++ app-text/languagetool/files/logo.svg | 14 +++++ app-text/languagetool/languagetool-4.6.ebuild | 77 ++++++++++++++++++++++++ 4 files changed, 102 insertions(+)