New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fcitx-configtool: patch paths to fcitx-remote #73272
Conversation
@oxalica Thanks for submitting this. Although I'd like some more documentation on why this is needed. What does the Also, is there any way to report this upstream so they can make it easier for us (instead of us having to manually edit the What does |
Part of #define VERSION_STRING_FULL "@VERSION_STRING_FULL@"
#define DATADIR "@datadir@"
#define LOCALEDIR "@localedir@"
#define EXEC_PREFIX "@exec_prefix@"
#define PACKAGE "@FCITX4_PACKAGE_NAME@"
#define LIBLOCALEDIR "@liblocaledir@"
#define ISO_CODES_PREFIX "@ISO_CODES_PREFIX@"
#define GETTEXT_PACKAGE "fcitx-configtool"
#define FCITX4_MAJOR_VERSION @FCITX4_MAJOR_VERSION@
#define FCITX4_MINOR_VERSION @FCITX4_MINOR_VERSION@
#define FCITX4_PATCH_VERSION @FCITX4_PATCH_VERSION@
// ... And set(datadir ${CMAKE_INSTALL_PREFIX}/share)
set(localedir ${CMAKE_INSTALL_PREFIX}/share/locale)
set(exec_prefix "${CMAKE_INSTALL_PREFIX}")
set(liblocaledir ${CMAKE_INSTALL_PREFIX}/lib/locale)
configure_file(config.h.in config.h) But it will run Is it better to patch the line |
@oxalica Thanks for this explanation. Just to make sure I understand this:
Here's a couple thoughts:
I'd be fine merging this in given the following conditions:
|
@cdepillabout I have another idea to replace only occurs of What's your opinion? |
Thanks! It is unfortunate that it is no longer maintained.
I think that would be the safer option. If you can make this change I will merge in this PR. |
f62dec0
to
05c94e3
Compare
@cdepillabout Fixed. |
Thanks! |
Motivation for this change
Fix paths to
fcitx-remote
, so it can correctly callfcitx-remote -r
when settings getting modified.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @