Closed musjj closed 12 months ago
So, if you want to use a non-default path, you need to do that at compile time.
Right now mozc has two build system.
If you use gyp, you need to pass --server_dir=/directory/name to build_mozc.py If you use bazel, you need to modify src/config.bzl and point things to the correct directory, speicifically, LINUX_MOZC_SREVER_DIR.
You can take https://github.com/fcitx/flatpak-fcitx5/blob/21d3c2334115880adddf9fbf5320a549aa872fa9/org.fcitx.Fcitx5.Addon.Mozc.yaml#L27C11-L27C49 as a reference.
That worked perfectly, thanks!
I'm trying to make a modular package for Nix, one for
mozc
and one forfcitx5-mozc
. But I'm having a problem with themozc
input method not working (typing doesn't trigger any candidates or popups).I suspect that the
fcitx5-mozc
is unable to find either themozc_server
ormozc_tool
binaries. I tried putting the path to thelib
directory of themozc
package into theRUNPATH
offcitx5-mozc.so
, but it doesn't work either:Is there a way to make sure that
fcitx5
can find the path tomozc
?