[arch-commits] Commit in libreoffice-fresh/trunk (PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Mon Oct 7 15:51:41 UTC 2019
Date: Monday, October 7, 2019 @ 15:51:40
Author: andyrtr
Revision: 364025
upgpkg: libreoffice-fresh 6.3.2-2
fix offline help not opening in non en-US language
Modified:
libreoffice-fresh/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-07 13:56:26 UTC (rev 364024)
+++ PKGBUILD 2019-10-07 15:51:40 UTC (rev 364025)
@@ -12,7 +12,7 @@
pkgname=('libreoffice-fresh-sdk' 'libreoffice-fresh')
_LOver=6.3.2.2
pkgver=6.3.2
-pkgrel=1
+pkgrel=2
arch=('x86_64')
license=('LGPL3')
url="https://www.libreoffice.org/"
@@ -329,4 +329,15 @@
install -dm755 "${pkgdir}"/usr/share/metainfo
install -v -m644 "${srcdir}"/libreoffice-$_LOver/sysui/desktop/appstream-appdata/*.xml \
"${pkgdir}"/usr/share/metainfo
+
+ # make all i18n lang packages with help section ('1') available to
+ # fix "F1" not opening translated offline help opening in browser
+ # see also /usr/lib/libreoffice/help/en-US/langnames.js
+ echo "var languagesSet = new Set(['en-US','am','ar','ast','bg','bn',\
+ 'bn-IN','bo','bs','ca','ca-valencia','cs','da','de','dz','el',\
+ 'en-GB','en-ZA','eo','es','et','eu','fi','fr','gl','gu','he',\
+ 'hi','hr','hu','id','is','it','ja','ka','km','ko','lo','lt','lv',\
+ 'mk','nb','ne','nl','nn','om','pl','pt','pt-BR','ro','ru','si',\
+ 'sid','sk','sl','sq','sv','ta','tg','tr','ug','uk','vi','zh-CN','zh-TW'])" \
+ > "${pkgdir}"/usr/lib/libreoffice/help/languages.js
}
More information about the arch-commits
mailing list