commit: e55d5f5f70011dce195b100f0359d2e1cc11c3b3
Author: Erica Nebula <EricaNebula <AT> Proton <DOT> me>
AuthorDate: Tue Feb 17 07:15:40 2026 +0000
Commit: Erica Nebula <EricaNebula <AT> proton <DOT> me>
CommitDate: Tue Feb 17 07:19:50 2026 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e55d5f5f
games-util/input-remapper: 2.2.0: Fix translation file paths
Learned from current 9999 build, mo file installation path was missing
LC_MESSAGES subfolder. Tested and working now.
Signed-off-by: Erica Nebula <EricaNebula <AT> Proton.me>
games-util/input-remapper/files/fix-translations.patch | 17 +++++++++++++++++
games-util/input-remapper/input-remapper-2.2.0.ebuild | 5 ++++-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/games-util/input-remapper/files/fix-translations.patch
b/games-util/input-remapper/files/fix-translations.patch
new file mode 100644
index 0000000000..9a69406240
--- /dev/null
+++ b/games-util/input-remapper/files/fix-translations.patch
@@ -0,0 +1,17 @@
+diff --git a/setup.py b/setup.py
+index bf9094b..baabcb9 100644
+--- a/setup.py
++++ b/setup.py
+@@ -80,10 +80,10 @@ def make_lang():
+ os.makedirs("mo", exist_ok=True)
+ for po_file in glob.glob(PO_FILES):
+ lang = splitext(basename(po_file))[0]
+- os.makedirs(join("mo", lang), exist_ok=True)
++ os.makedirs(join("mo", lang, "LC_MESSAGES"), exist_ok=True)
+ print(f"generating translation for {lang}")
+ subprocess.run(
+- ["msgfmt", "-o", join("mo", lang, "input-remapper.mo"),
str(po_file)],
++ ["msgfmt", "-o", join("mo", lang, "LC_MESSAGES",
"input-remapper.mo"), str(po_file)],
+ check=True,
+ )
+
diff --git a/games-util/input-remapper/input-remapper-2.2.0.ebuild
b/games-util/input-remapper/input-remapper-2.2.0.ebuild
index 93ec6829db..1805ef7bdf 100644
--- a/games-util/input-remapper/input-remapper-2.2.0.ebuild
+++ b/games-util/input-remapper/input-remapper-2.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2025 Gentoo Authors
+# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,6 +21,7 @@ KEYWORDS="~amd64"
PATCHES=(
"${FILESDIR}/remove-non-python-files-from-setup.patch"
+ "${FILESDIR}/fix-translations.patch"
)
RDEPEND="x11-libs/gtk+:3
@@ -36,6 +37,8 @@ $(python_gen_cond_dep '
')
virtual/udev"
+EPYTEST_PLUGINS=()
+
distutils_enable_tests pytest
src_install() {