gentoo-ebuilds/app-i18n/mozc/files/mozc-2.31.5851.102-fix_path.patch
Nicolas PARLANT ff6b08e448
app-i18n/mozc: add 2.31.5851.102, bazel build system
use bazel build system instead of gyp, deprecated.

bazel with prebuilt binary from upstream (amd64, arm64)

all deps except ibus/glib/qt/fcitx5 are fetched by bazel from bazel_dist,
unpacked/prepared in bazel_cache and then built statically.

to push a new release, update versions according to MODULE.bazel or failures
of the fetch's phase of bazel.

patches :
fix path for mozc_tool to preserve compatibility with versions in tree
fix shebang, one patch for rules_python, oneother for MODULE.bazel to apply the
first one. This is the only way to patch deps unpacked/prepared in bazel_cache.

Closes: https://bugs.gentoo.org/943518
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/43597
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-09 22:47:12 +01:00

12 lines
453 B
Diff

avoid test failure due to the wrong path
--- a/unix/ibus/ibus_config_test.cc
+++ b/unix/ibus/ibus_config_test.cc
@@ -59,7 +59,7 @@ active_on_launch: False
<rank>80</rank>
<icon_prop_key>InputMode</icon_prop_key>
<symbol>あ</symbol>
- <setup>/usr/lib/mozc/mozc_tool --mode=config_dialog</setup>
+ <setup>/usr/libexec/mozc/mozc_tool --mode=config_dialog</setup>
<name>mozc-jp</name>
<longname>Mozc</longname>
<layout>default</layout>