https://bugzilla.redhat.com/show_bug.cgi?id=2306455
Bug ID: 2306455 Summary: kkc cannot be activated, json containing error Product: Fedora Version: rawhide OS: Linux Status: NEW Component: libkkc Severity: medium Assignee: petersen@redhat.com Reporter: mtasaka@fedoraproject.org QA Contact: extras-qa@fedoraproject.org CC: dueno@redhat.com, i18n-bugs@lists.fedoraproject.org, petersen@redhat.com Target Milestone: --- Classification: Fedora
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
https://bugzilla.redhat.com/show_bug.cgi?id=2306455
Mamoru TASAKA mtasaka@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|rawhide |41 Doc Type|--- |If docs needed, set a value
https://bugzilla.redhat.com/show_bug.cgi?id=2306455
--- Comment #1 from Mamoru TASAKA mtasaka@fedoraproject.org --- Editing /usr/share/libkkc/rules/default/rom-kana/default.json to change:
"n'": -> "n'":
seems to work.
https://bugzilla.redhat.com/show_bug.cgi?id=2306455
--- Comment #2 from Jens Petersen petersen@redhat.com --- 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...
https://bugzilla.redhat.com/show_bug.cgi?id=2306455
--- Comment #3 from Mamoru TASAKA mtasaka@fedoraproject.org --- PR: https://src.fedoraproject.org/rpms/libkkc/pull-request/5
https://bugzilla.redhat.com/show_bug.cgi?id=2306455
--- Comment #4 from Mamoru TASAKA mtasaka@fedoraproject.org --- (Personally, why I still want to use libkkc is that I find difficulty in typing math symbols with anthy like:
zokusuru (属する) -> ∈ fukumareru (含まれる) -> ⊂ notto (ノット) -> ¬ mujyun (矛盾) -> ⊥
)
https://bugzilla.redhat.com/show_bug.cgi?id=2306455
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |POST
--- Comment #5 from Jens Petersen petersen@redhat.com --- Thanks for the PR - merged now - also thanks to Daiki for checking it.
Perhaps such math abbreviations could be added to anthy-unicode too?
https://bugzilla.redhat.com/show_bug.cgi?id=2306455
Mamoru TASAKA mtasaka@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(petersen@redhat.c | |om)
--- Comment #6 from Mamoru TASAKA mtasaka@fedoraproject.org --- @petersen@redhat.com Would you also build fixed libkkc for branched F41?
https://bugzilla.redhat.com/show_bug.cgi?id=2306455
Mamoru TASAKA mtasaka@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(petersen@redhat.c | |om) |
https://bugzilla.redhat.com/show_bug.cgi?id=2306455
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |RAWHIDE Status|POST |CLOSED Last Closed| |2024-08-22 06:21:37
https://bugzilla.redhat.com/show_bug.cgi?id=2306455
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |libkkc-0.3.5-30.fc41
i18n-bugs@lists.fedoraproject.org