When app-office/libreoffice-bin is installed, localization is expected to be in /opt/libreofficeX.Y/ and not in /usr/lib64/libreoffice so libreoffice no longer see localizations. I can see no localization with - app-office/libreoffice-bin-24.8.4-r2 and app-office/libreoffice-l10n-24.8.5.2 - app-office/libreoffice-bin-25.2.0-r2 and app-office/libreoffice-l10n-25.2.1.2 Reproducible: Always Steps to Reproduce: 1. install app-office/libreoffice-bin and app-office/libreoffice-l10n with any additional language e.g. L10N="cs en" 2. run libreoffice 3. language is not present and UI is in english, additional languages can't be selected Actual Results: No localization in libreoffice even if the l10n is installed Expected Results: Working localization e.g. for czech localizacion cs, this workaround helps ln -s /usr/lib64/libreoffice/share/registry/res/registry_cs.xcd /opt/libreoffice25.2/share/registry/resregistry_cs.xcd ln -s /usr/lib64/libreoffice/share/registry/res/fcfg_langpack_cs.xcd /opt/libreoffice25.2/share/registry/resfcfg_langpack_cs.xcd ln -s /usr/lib64/libreoffice/program/resource/cs /opt/libreoffice25.2/program/resource/cs
Thanks. I'm not sure how I'd convinced myself that it wanted them in the /opt path (which I'd even repeated in a conversation with parona the other day). I think we (as we'd discussed then) need to make libreoffice-l10n only for the source package, and have libreoffice-bin handle its own l10n bits.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=805f63847a93856e6287baf0d5777c8e06d59763 commit 805f63847a93856e6287baf0d5777c8e06d59763 Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2025-03-09 12:33:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-09 17:42:21 +0000 app-office/libreoffice-bin: install langpacks in libreoffice-bin Bug: https://bugs.gentoo.org/950497 Bug: https://bugs.gentoo.org/950757 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/40976 Signed-off-by: Sam James <sam@gentoo.org> app-office/libreoffice-bin/Manifest | 183 +++++++++++++++++++++ .../libreoffice-bin-25.2.0-r3.ebuild | 162 ++++++++++++++++++ app-office/libreoffice-bin/metadata.xml | 3 + 3 files changed, 348 insertions(+)
Please confirm if 25.2.0-r3 works. If so, we can backport the changes to 24.x.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=513c4d685ae783e421b983e7d09a51898adb6a23 commit 513c4d685ae783e421b983e7d09a51898adb6a23 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-10 05:27:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-10 05:27:38 +0000 app-office/libreoffice-bin: backport l10n fixes to 24.x Closes: https://bugs.gentoo.org/950497 Closes: https://bugs.gentoo.org/950757 Signed-off-by: Sam James <sam@gentoo.org> app-office/libreoffice-bin/Manifest | 183 +++++++++++++++++++++ ...-r2.ebuild => libreoffice-bin-24.8.4-r3.ebuild} | 44 ++++- 2 files changed, 221 insertions(+), 6 deletions(-)
(In reply to Sam James from comment #3) > Please confirm if 25.2.0-r3 works. If so, we can backport the changes to > 24.x. Thank you, confirming that it works.
Many thanks.