On Fedora 41, ibus input method using kkc cannot be activated. ibus-setup says json file contains error. $ rpm -qf /usr/share/libkkc/rules/default/rom-kana/default.json libkkc-common-0.3.5-28.fc40.noarch Reproducible: Always Steps to Reproduce: 1. launch $ ibus-setup 2. choose "入力メソッド" tab 3. click kkc 「あ」 icon 4. click 「設定」button Actual Results: ** (ibus-setup-kkc:421517): ERROR **: 16:58:59.628: setup.vala:492: can't load typing rule default: can't load /usr/share/libkkc/rules/default/rom-kana/default.json: /usr/share/libkkc/rules/default/rom-kana/default.json:121:47: 解析エラー: unexpected character `,', expected string constant Also, ibus input method using kkc cannot be activated Expected Results: ibus input method using kkc can be activated
Editing /usr/share/libkkc/rules/default/rom-kana/default.json to change: "n\'": -> "n'": seems to work.
Sorry, I basically just took over the package a few releases back to save it from retirement. I think help is welcome, but kkc is not maintained any more afaik. It also failed to rebuild for F41...
PR: https://src.fedoraproject.org/rpms/libkkc/pull-request/5
(Personally, why I still want to use libkkc is that I find difficulty in typing math symbols with anthy like: zokusuru (属する) -> ∈ fukumareru (含まれる) -> ⊂ notto (ノット) -> ¬ mujyun (矛盾) -> ⊥ )
Thanks for the PR - merged now - also thanks to Daiki for checking it. Perhaps such math abbreviations could be added to anthy-unicode too?
@petersen Would you also build fixed libkkc for branched F41?