The original RIME_DATA_DIR is fixed at build time which is set to the package
dir under nix store. A such dir is read only for users so if some one want to
add a shared data, he has to override fcitx5-rime or librime, which isn't
user-friendly.
On other distributions, RIME_DATA_DIR may be under /usr/local/share/fcitx5 which
is not existed on NixOS. If we set its to /run/current-system/sw/share/..., this
will break for non-NixOS user.
Therefore, we patch it with a special environment variable to let user to load
it dynamically.
Co-Authored-by: Lan Tian <xuyh0120@outlook.com>
Upstream seems to publish releases on sourceforge as well as on the Github
repository, whereas the Github releases also contain a plantuml-pdf artifact
which includes the needed dependencies (Apache batik) to support PDF output.
Fixes#129937
This is the same fork now used by Alpine, Arch, Debian, Gentoo, and
SliTaz. vpnc-script is no longer bundled, but we already have it
packaged anyway so that's okay.
This fixes the macos build by patching the makefile to remove the
explicit calls to gcc, letting it use whatever CC is the default.
It further removes the static builds entirely. This is technically a
breaking change, but I doubt it'll have a practical impact to any users.