mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-19 07:48:56 -04:00
app-i18n/fcitx-rime fix fcitx-rime so it can input
fcitx-rime didn't do things right. It look for brise in fcitx's pkgdatadir, which is /usr/share/fcitx/ brise is really located at /usr/share/rime/data
This commit is contained in:
parent
da403e36c9
commit
16c978f4f9
@ -12,3 +12,16 @@ index e9d5cb6..f262553 100644
|
|||||||
|
|
||||||
set(BRISE_FOUND FALSE)
|
set(BRISE_FOUND FALSE)
|
||||||
|
|
||||||
|
diff --git a/src/fcitx-rime.c b/src/fcitx-rime.c
|
||||||
|
index f95fdca..e598bb5 100644
|
||||||
|
--- a/src/fcitx-rime.c
|
||||||
|
+++ b/src/fcitx-rime.c
|
||||||
|
@@ -40,7 +40,7 @@ static void* FcitxRimeCreate(FcitxInstance* instance)
|
||||||
|
char* shared_data_dir = fcitx_utils_get_fcitx_path_with_filename("pkgdatadir", "rime");
|
||||||
|
|
||||||
|
RimeTraits ibus_rime_traits;
|
||||||
|
- ibus_rime_traits.shared_data_dir = shared_data_dir;
|
||||||
|
+ ibus_rime_traits.shared_data_dir = "/usr/share/rime/data";
|
||||||
|
ibus_rime_traits.user_data_dir = user_path;
|
||||||
|
ibus_rime_traits.distribution_name = "Rime";
|
||||||
|
ibus_rime_traits.distribution_code_name = "fcitx-rime";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user