From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/languagetool/
Date: Thu, 9 May 2024 13:30:33 +0000 (UTC) [thread overview]
Message-ID: <1715261431.fdb63f02d6e26b214adfbeb5fd4151c27bca553f.juippis@gentoo> (raw)
commit: fdb63f02d6e26b214adfbeb5fd4151c27bca553f
Author: David Roman <droman <AT> ifae <DOT> es>
AuthorDate: Tue Aug 1 19:50:22 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu May 9 13:30:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdb63f02
app-text/languagetool: add 6.3
Signed-off-by: David Roman <droman <AT> ifae.es>
Closes: https://github.com/gentoo/gentoo/pull/32133
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-text/languagetool/Manifest | 1 +
app-text/languagetool/languagetool-6.3.ebuild | 77 +++++++++++++++++++++++++++
app-text/languagetool/metadata.xml | 3 ++
3 files changed, 81 insertions(+)
diff --git a/app-text/languagetool/Manifest b/app-text/languagetool/Manifest
index 56717604ad5c..8a8532d979be 100644
--- a/app-text/languagetool/Manifest
+++ b/app-text/languagetool/Manifest
@@ -1 +1,2 @@
DIST LanguageTool-5.4.zip 202761711 BLAKE2B b23c2944bf40dbef70d43391761849fb83b55538ac1cf0312c82079caef0a91f177f67c0e5818ea558c485d0bc2f4425f6cd32064095aede755a3b1233cf62d7 SHA512 08048f5bb8c5f7050ca2081a9f00405b0b397c37511a8297675f031bbb59e19863195e3b624dabb0964d436ad1570112e8c85225905ae22f2bde2a0200fcd883
+DIST LanguageTool-6.3.zip 231674701 BLAKE2B 1499f28602de9eaa41760e7329394f8c9ee26022ec97e0fb63944a7ad5002a829dcb6377d33df5a4668359a498907a2df06722a38869fbde190f2b3c95523e8c SHA512 c5c3726ef358ad6ad5e984c7b65192ff6f2858bd5bd6e9d3ad935409b17135d84eec5e660accd097de93fbd16ecfc428d70458d2ea28a6875361d87a0219cefc
diff --git a/app-text/languagetool/languagetool-6.3.ebuild b/app-text/languagetool/languagetool-6.3.ebuild
new file mode 100644
index 000000000000..ddcbe701a0a1
--- /dev/null
+++ b/app-text/languagetool/languagetool-6.3.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit java-pkg-2 desktop xdg-utils
+
+MY_PN=LanguageTool
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="A proof-reading tool for many languages"
+HOMEPAGE="https://languagetool.org/"
+SRC_URI="https://languagetool.org/download/${MY_P}.zip"
+
+S=${WORKDIR}/${MY_P}
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+CP_DEPEND="
+ dev-java/commons-cli:1
+ dev-java/commons-collections:4
+ dev-java/commons-io:1
+ dev-java/commons-lang:3.6
+ dev-java/commons-logging:0
+ dev-java/hamcrest-core:1.3
+ dev-java/jcommander:0
+ dev-java/jna:4
+ dev-java/slf4j-api:0
+"
+
+RDEPEND="
+ >=virtual/jre-1.8
+ ${CP_DEPEND}"
+
+BDEPEND="app-arch/unzip"
+
+src_prepare() {
+ default
+ rm libs/commons-{cli,collections4,io,lang3,logging}.jar || die
+ rm libs/{hamcrest-core,jcommander,junit,slf4j-api}.jar || die
+
+ # Loads of bundled stuff :(
+ #java-pkg-2_src_prepare
+}
+
+src_compile() { :; }
+
+src_install() {
+ java-pkg_dojar *.jar libs/*.jar
+
+ local DIR=/usr/share/${PN}/lib/language-modules
+ java-pkg_addcp "${EPREFIX}${DIR}"
+ insinto ${DIR}
+ doins -r org META-INF
+
+ java-pkg_dolauncher ${PN} --main org.${PN}.commandline.Main
+ java-pkg_dolauncher ${PN}-gui --main org.${PN}.gui.Main
+ java-pkg_dolauncher ${PN}-server --main org.${PN}.server.HTTPServer --config /etc/languagetool.cfg
+ newicon -s scalable "${FILESDIR}"/logo.svg ${PN}.svg
+ domenu "${FILESDIR}"/${PN}.desktop
+ newinitd "${FILESDIR}/languagetool.initd" languagetool
+
+ dodoc CHANGES.md README.md
+
+ unset MY_DEPEND
+ java-pkg_gen-cp MY_DEPEND
+ java-pkg_register-dependency "${MY_DEPEND}"
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/app-text/languagetool/metadata.xml b/app-text/languagetool/metadata.xml
index 2e4c5182444f..df66ee78e0a6 100644
--- a/app-text/languagetool/metadata.xml
+++ b/app-text/languagetool/metadata.xml
@@ -5,4 +5,7 @@
<email>vim@gentoo.org</email>
<name>Gentoo Vim Project</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">languagetool-org/languagetool</remote-id>
+ </upstream>
</pkgmetadata>
next reply other threads:[~2024-05-09 13:30 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-09 13:30 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-07 6:38 [gentoo-commits] repo/gentoo:master commit in: app-text/languagetool/ Miroslav Šulc
2023-10-01 7:40 Miroslav Šulc
2023-05-16 17:05 Arthur Zamarin
2022-02-15 15:31 Jakov Smolić
2021-10-11 6:59 Patrice Clement
2019-05-09 8:46 Tim Harder
2019-05-09 8:35 Tim Harder
2018-03-05 22:00 Patrice Clement
2017-08-31 19:31 James Le Cuirot
2017-08-30 19:14 Patrice Clement
2016-11-27 23:10 James Le Cuirot
2016-11-27 23:10 James Le Cuirot
2016-10-26 4:07 Tim Harder
2016-09-24 1:51 Tim Harder
2016-09-24 1:38 Tim Harder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1715261431.fdb63f02d6e26b214adfbeb5fd4151c27bca553f.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox