summaryrefslogtreecommitdiff
path: root/app-vim/languagetool
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-vim/languagetool
reinit the tree, so we can have metadata
Diffstat (limited to 'app-vim/languagetool')
-rw-r--r--app-vim/languagetool/Manifest7
-rw-r--r--app-vim/languagetool/files/languagetool-1.29-script.patch38
-rw-r--r--app-vim/languagetool/languagetool-1.29.ebuild17
-rw-r--r--app-vim/languagetool/languagetool-1.30.ebuild17
-rw-r--r--app-vim/languagetool/metadata.xml8
5 files changed, 87 insertions, 0 deletions
diff --git a/app-vim/languagetool/Manifest b/app-vim/languagetool/Manifest
new file mode 100644
index 000000000000..39cc5f89317b
--- /dev/null
+++ b/app-vim/languagetool/Manifest
@@ -0,0 +1,7 @@
+AUX languagetool-1.29-script.patch 1413 SHA256 0893cc1c3362376db4c7c09e2263682a87bd02361407a17629dbd720558dd2cb SHA512 b4e25e527a8af3ea5fe649bd31aa0ecf0f073a0852f1f155ecf2cbdc58d105ce114db8a12dc56ee086a9076cb15e5bde61e7340e570fff59093ed2f266247564 WHIRLPOOL 6cf5e1f99903a8f5fe0dea7d3d6b0dc02270b036aa3a62b0000993d6531a5f2ac316af3b508b542d5741dea028addcce5a95f6d108a3085c25ccfd37d0cf6535
+DIST languagetool-1.29.tar.bz2 8059 SHA256 92fd4bf94c65828f1c309da5257336a2287c07cae7ab6a4709ae1b79dcbbbcca SHA512 09b5bdc1d3590afe26578f687064a7a62493a11fafca903759dc1e9048cb22a04c6352127b13e4a63acb867d73d943b56fcae7f733350626f05b66a6d1f1626d WHIRLPOOL d5c8d411b465fdad629493e834d154e7e3a25898b20bc009c4ff9977593ab46ca6e0f6f57ae7933da08b9f7283ebc793106a4eb31a17d670050a94f27a2f2af5
+DIST languagetool-1.30.tar.bz2 8089 SHA256 b99b27e06a43e5ea0c1a3d3e02dcef9b8339c55bd725782fd0ea4cd1efc0592d SHA512 c04115752f8a601e85b718ea8d68cbdaa7628d14c252b4bb5bd11449ae2c5558ddee3d0f3a1bc2db84364e127fc211a0c4fe51e4ff9b442ebe99aa4f9d1db935 WHIRLPOOL b65931b68dd4a47f8ba77cfb4e9a08c58686495a6d095cddff7acc51c76969ec60c51f207bee73b5614fddbea95d35152c334df29f6f956d39c57335636a8fe8
+EBUILD languagetool-1.29.ebuild 418 SHA256 971cbb7b5f0856f79e8b5c85bfda57bd2e4f4a705b4578e5831cb8ad01cb5c99 SHA512 d61142c4b3f38863dda68ba06298e18e2f8a1406e1c6dce5586e13357ed4f203d5cb8a7a87f48a600f24d2d6ddd1120b4cad451c46390a5b3c38fe26812decad WHIRLPOOL 5137de115a04a3081300182c66645de5adf731f614e8d87b6695ae721b2e1bbc6ea28c381a02d60475087b28a463e4b5998d076434311a52d980eccdeecbdfed
+EBUILD languagetool-1.30.ebuild 424 SHA256 e5b27ad8a338427e6dbfc04a363842b3cabcd6c5788205f566e8e7bd69611e5b SHA512 288d763f49d74c4e29aef2684d6b02649ec6bc5f42b900df799e788faa00f5dac21932c69304db7110ab393097ab927a801be3c1281154e740a27a3312a25364 WHIRLPOOL d561eb3944b2805619efa015a2e7fc565d0b9c1f91f82b6adda3a5386e2b9ada9d652f27fd96d3f320040be7bfd6582ce0606976dbfb4f0cfd04b3669a5d75c6
+MISC ChangeLog 564 SHA256 497d9e2cfbe958da4c69ee55fa19b76fab39fc3579a56f1a488d7f2abf67f625 SHA512 1130a5a7ddccabfa88044ecab5dc03f7483e3a0c9e2f24641d3cdee70bbc6583dd537dd0e072a69454e44548b930108380680e27844f09016be68b437b389c7f WHIRLPOOL f50d6b33cadc7c8617d1e8b414b7a4966cfea8454d7a09c6e3dcea46e27a0b840d47b49c368e0427deadd820ff25cce35a7eaaf96cebe06ba4532aff731cc216
+MISC metadata.xml 255 SHA256 fa2495381a46939e915222bc4f5e8c1e704f336ca63c064a2a63090c79b0e5ff SHA512 305ae93d2bb3da79ee181cf36bb0ca2bbac016c20555967d7281cd5c0edfc26c1450dacd7a7de57078650dab0e815be9169c0b25a24d71488185f71ae8834167 WHIRLPOOL 0e543ebc68a9501374d42528b31fc9d94ab416939eefc6cc37dcf033d0ecd85397ec58ab67e02d6a08b2f4c0048891d441a2b217075e4596ffc25d5b12cc8ec8
diff --git a/app-vim/languagetool/files/languagetool-1.29-script.patch b/app-vim/languagetool/files/languagetool-1.29-script.patch
new file mode 100644
index 000000000000..f2737feca8c9
--- /dev/null
+++ b/app-vim/languagetool/files/languagetool-1.29-script.patch
@@ -0,0 +1,38 @@
+Use launcher script instead of directly running from the jar file.
+
+--- languagetool-1.29/plugin/LanguageTool.vim
++++ languagetool-1.29/plugin/LanguageTool.vim
+@@ -162,23 +162,6 @@
+ endif
+ endif
+ endif
+-
+- let s:languagetool_jar = exists("g:languagetool_jar")
+- \ ? g:languagetool_jar
+- \ : $HOME . '/languagetool/languagetool-commandline.jar'
+-
+- if !filereadable(s:languagetool_jar)
+- " Hmmm, can't find the jar file. Try again with expand() in case user
+- " set it up as: let g:languagetool_jar = '$HOME/languagetool-commandline.jar'
+- let l:languagetool_jar = expand(s:languagetool_jar)
+- if !filereadable(expand(l:languagetool_jar))
+- echomsg "LanguageTool cannot be found at: " . s:languagetool_jar
+- echomsg "You need to install LanguageTool and/or set up g:languagetool_jar"
+- echomsg "to indicate the location of the languagetool-commandline.jar file."
+- return -1
+- endif
+- let s:languagetool_jar = l:languagetool_jar
+- endif
+ return 0
+ endfunction
+
+@@ -242,8 +225,7 @@
+ let l:range = a:line1 . ',' . a:line2
+ silent exe l:range . 'w!' . l:tmpfilename
+
+- let l:languagetool_cmd = 'java'
+- \ . ' -jar ' . s:languagetool_jar
++ let l:languagetool_cmd = 'languagetool'
+ \ . ' -c ' . s:languagetool_encoding
+ \ . (empty(s:languagetool_disable_rules) ? '' : ' -d '.s:languagetool_disable_rules)
+ \ . ' -l ' . s:languagetool_lang
diff --git a/app-vim/languagetool/languagetool-1.29.ebuild b/app-vim/languagetool/languagetool-1.29.ebuild
new file mode 100644
index 000000000000..b02abf5fdebe
--- /dev/null
+++ b/app-vim/languagetool/languagetool-1.29.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit vim-plugin
+
+MY_PN=LanguageTool
+DESCRIPTION="grammar checker for various languages"
+HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3223"
+LICENSE="vim"
+KEYWORDS="~amd64 ~x86"
+
+VIM_PLUGIN_HELPFILES="${MY_PN}"
+
+RDEPEND="app-text/languagetool"
+
+PATCHES=( "${FILESDIR}"/${P}-script.patch )
diff --git a/app-vim/languagetool/languagetool-1.30.ebuild b/app-vim/languagetool/languagetool-1.30.ebuild
new file mode 100644
index 000000000000..ee2e5b4a7705
--- /dev/null
+++ b/app-vim/languagetool/languagetool-1.30.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit vim-plugin
+
+MY_PN=LanguageTool
+DESCRIPTION="grammar checker for various languages"
+HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3223"
+LICENSE="vim"
+KEYWORDS="~amd64 ~x86"
+
+VIM_PLUGIN_HELPFILES="${MY_PN}"
+
+RDEPEND="app-text/languagetool"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.29-script.patch )
diff --git a/app-vim/languagetool/metadata.xml b/app-vim/languagetool/metadata.xml
new file mode 100644
index 000000000000..84f8f1cf6bcb
--- /dev/null
+++ b/app-vim/languagetool/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>vim@gentoo.org</email>
+ <name>Gentoo Vim Project</name>
+ </maintainer>
+</pkgmetadata>