Package Details: libreoffice-extension-languagetool 6.4-1

Git Clone URL: https://aur.archlinux.org/libreoffice-extension-languagetool.git (read-only, click to copy)
Package Base: libreoffice-extension-languagetool
Description: An Open Source style and grammar checker (more than 30 languages)
Upstream URL: https://languagetool.org
Keywords: grammar languagetool
Licenses: LGPL
Groups: libreoffice-extensions
Submitter: 3ED_0
Maintainer: darkelectron (HurricanePootis)
Last Packager: darkelectron
Votes: 308
Popularity: 1.10
First Submitted: 2011-08-05 14:41 (UTC)
Last Updated: 2024-05-23 21:47 (UTC)

Dependencies (2)

Sources (1)

Pinned Comments

lisu_ml commented on 2016-10-06 20:36 (UTC) (edited on 2016-10-06 20:38 (UTC) by lisu_ml)

I found that the problem is java jre version. The extension is compiled with version 1.8, but my system by default uses version 1.7 despite I have both version of jre installed. After running: 'sudo archlinux-java set java-8-openjdk/jre' everything works again. The funny thing is that after setting default jre back to 1.7 don't break the extension.

lisu_ml commented on 2016-10-06 20:02 (UTC)

I have reinstalled the system and the error is back: The status of this extension is unknown. I tested it on LO 5.2.1 and 5.1.5.2. This time re-installation of the languagetool doesn't fix the issue.

ronjouch commented on 2015-12-30 14:01 (UTC) (edited on 2015-12-30 14:04 (UTC) by ronjouch)

After upgrading to 3.2-1, LibreOffice's extension manager shows the extension disabled, with error message "Error: The status of this extension is unknown". Applying 3ED_0's suggestion below worked around the issue: 1. remove this package 2. start lowriter then close 3. install this package 4. start libreoffice

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

Harvey commented on 2024-06-06 19:01 (UTC) (edited on 2024-06-09 13:06 (UTC) by Harvey)

After installing version 6.4 I see the following error from time to time:

java.lang.NullPointerException: Cannot invoke "org.languagetool.openoffice.CacheIO.setDocumentPath(com.sun.star.lang.XComponent)" because the return value of "org.languagetool.openoffice.SingleDocument.access$500(org.languagetool.openoffice.SingleDocument)" is null

Has this been seen anywhere else and is there a reason known? Edit: AFAICT this only happens on closing calc spreadsheets.

HurricanePootis commented on 2024-05-17 14:54 (UTC)

Here is a patch to update to 6.4, and to make the license SPDX compliant:

diff --git a/PKGBUILD b/PKGBUILD
index fb5ff9e..ebcf711 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
 # Maintainer: Allddd <allddd (at) proton (dot) me>

-_path='3710/1704200967'
+_path='3710/1713168009'
 pkgname=libreoffice-extension-languagetool
-pkgver=6.3.1
+pkgver=6.4
 _filename="LanguageTool-${pkgver}.oxt"
-pkgrel=2
+pkgrel=1
 pkgdesc='An Open Source style and grammar checker (more than 30 languages)'
 arch=('any')
 url='https://languagetool.org'
-license=('LGPL')
+license=('LGPL-2.0-or-later')
 groups=('libreoffice-extensions')
 depends=('libreoffice' 'java-runtime>=8')
 source=("${_filename}::https://extensions.libreoffice.org/assets/downloads/${_path}/${_filename}")
 noextract=("${_filename}")
-sha256sums=('376428ec1c5924bb30a9bd2f7a872594e88e978480342551dadd29f2241333a6')
+sha256sums=('0f1f39ff2438d322f15962f1d30a5c293bb121a7f709c7bbdc1099636b91625e')

 package() {
     local _dest="${pkgdir}/usr/lib/libreoffice/share/extensions/languagetool/"

skedaddle commented on 2023-06-11 07:34 (UTC)

The version can be bumped to 6.1.1

diff --git a/PKGBUILD b/PKGBUILD
index 401cf35..c5db7c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,9 @@

 pkgname=libreoffice-extension-languagetool
 _pkgname=languagetool
-pkgver=6.0
+pkgver=6.1.1
 pkgrel=1
-_url_obfuscation_code="3710/1673297554"
+_url_obfuscation_code="3710/1683979992"
 pkgdesc="An Open Source style and grammar checker (more than 30 languages)"
 arch=('any')
 url="https://www.languagetool.org/"
@@ -15,7 +15,7 @@ depends=('libreoffice' 'java-runtime>=8')
 optdepends=('jre8-openjdk: java 8 or greater is required')
 source=("LanguageTool-${pkgver}.oxt::https://extensions.libreoffice.org/assets/downloads/${_url_obfuscation_code}/LanguageTool-${pkgver}.oxt")
 noextract=("LanguageTool-${pkgver}.oxt")
-sha512sums=('3c1635c23e4624346001cbaf586c1c4d087f725dca35f8ef1f446e7bf19c0718b98bdf862d582c3e90ecd5525d5ddc37ab2945019b426546edd6c8c70a0b54ec')
+sha512sums=('91e4b831871172256a974ca8e2c63912f46b1104f1082d0cb69254364485225347f9ab400c001ddeb561a176620cdc17a1a8b29fa32fc3ce99dd1ef0dff8b1c8')

 package() {
   _DESTDIR="${pkgdir}/usr/lib/libreoffice/share/extensions/${_pkgname}/"

3ED_0 commented on 2023-01-21 23:27 (UTC)

Sorry, I have fewer time lastly.. :(

TemplarGR commented on 2023-01-16 15:36 (UTC)

Perhaps 3ED_0 stopped using Arch entirely? I sure hope he is ok, but he doesn't seem to have logged on in months, since the day this was last updated. I think an administrator should orphan this package.

Harvey commented on 2023-01-14 12:54 (UTC)

@3ED_0: If you don't have the time to update, there surely is someone willing to take over if you orphan the package ;)

Harvey commented on 2023-01-14 12:52 (UTC)

This should work:

pkgname=libreoffice-extension-languagetool
_pkgname=languagetool
pkgver=6.0
pkgrel=1
pkgdesc="An Open Source style and grammar checker (more than 30 languages)"
arch=('any')
url="https://www.languagetool.org/"
license=('LGPL')
groups=('libreoffice-extensions')
depends=('libreoffice' 'java-runtime>=8')
optdepends=('jre8-openjdk: java 8 or greater is required')
source=("https://extensions.libreoffice.org/assets/downloads/3710/1673297554/LanguageTool-6.0.oxt")
noextract=("LanguageTool-${pkgver}.oxt")
sha512sums=('3c1635c23e4624346001cbaf586c1c4d087f725dca35f8ef1f446e7bf19c0718b98bdf862d582c3e90ecd5525d5ddc37ab2945019b426546edd6c8c70a0b54ec')

package() {
  _DESTDIR="${pkgdir}/usr/lib/libreoffice/share/extensions/${_pkgname}/"
  install -dm755 "${_DESTDIR}"
  bsdtar -xf LanguageTool-${pkgver}.oxt -C "${_DESTDIR}"
  chmod -R a=r,a+X,u+w "${_DESTDIR}"
}

TemplarGR commented on 2023-01-13 08:15 (UTC)

Version 6.0 was released. Could you please update this?

medmedin commented on 2022-12-26 12:46 (UTC)

@3ED_0 Version 5.9 is out since 28/09/2022 is there any plan to update this package to it ? or is this package already abandoned ?