commit:     8c324b0ae5775b7220581149d8635f0e5ff43d86
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 13 03:25:20 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 13 03:28:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c324b0a

sys-apps/moor: add warning for l10n_ru

If L10N="ru" (l10n_ru) is set, warn that the package is not usable
out-of-the-box with some Russian locales.

Hoping to make a decent compromise here with warning users vs. not bothering
users from other regions (see more discussion on the bug wrt tradeoffs).

Closes: https://bugs.gentoo.org/964663
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/moor/{moor-2.8.2.ebuild => moor-2.8.2-r1.ebuild} | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sys-apps/moor/moor-2.8.2.ebuild 
b/sys-apps/moor/moor-2.8.2-r1.ebuild
similarity index 86%
rename from sys-apps/moor/moor-2.8.2.ebuild
rename to sys-apps/moor/moor-2.8.2-r1.ebuild
index b1b78a8298ed..cf510da05e60 100644
--- a/sys-apps/moor/moor-2.8.2.ebuild
+++ b/sys-apps/moor/moor-2.8.2-r1.ebuild
@@ -15,7 +15,7 @@ LICENSE="BSD-2 BSD MIT"
 LICENSE+="  Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
-IUSE="test"
+IUSE="test l10n_ru"
 RESTRICT="!test? ( test )"
 
 BDEPEND="
@@ -51,6 +51,11 @@ src_install() {
 }
 
 pkg_postinst() {
+       if use l10n_ru ; then
+               ewarn "This package does not work out of the box with all 
Russian locales."
+               ewarn "If using ru_RU.UTF-8, it will not startup. Please see 
bug #964663."
+       fi
+
        if ver_replacing -lt 2 ; then
                ewarn "moar has been renamed to moor, please update any 
scripts."
        fi

Reply via email to