[arch-commits] Commit in libreoffice-still/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Mon Oct 7 13:56:14 UTC 2019


    Date: Monday, October 7, 2019 @ 13:56:13
  Author: andyrtr
Revision: 364023

upgpkg: libreoffice-still 6.2.7-3

fix offline help not opening in non en-US language

Modified:
  libreoffice-still/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-07 12:47:58 UTC (rev 364022)
+++ PKGBUILD	2019-10-07 13:56:13 UTC (rev 364023)
@@ -12,7 +12,7 @@
 pkgname=('libreoffice-still-sdk' 'libreoffice-still')
 _LOver=6.2.7.1
 pkgver=6.2.7
-pkgrel=2
+pkgrel=3
 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