From Fedora Project Wiki
(Change approved by FESCo)
Line 25: Line 25:


== Current status ==
== Current status ==
[[Category:ChangeReadyForFesco]]
[[Category:ChangeAcceptedF34]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->

Revision as of 18:08, 14 December 2020


kasumi-unicode

Summary

kasumi-unicode will be generated newly with kasumi.spec in kasumi project.

Owner

Current status

  • Targeted release: Fedora 34
  • Last updated: 2020-12-14
  • FESCo issue: #2509
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

anthy-unicode has been forked from anthy since anthy was no longer maintained in upstream. kasumi is one of the applications which link to the libraries of anthy. In case kasumi links to anthy, the private dictionary is located in $HOME/.anthy directory. In case kasumi links to anthy-unicode, the private dictionary is located at $XDG_CONFIG_HOME/anthy. I wish kasumi links to anthy-unicode newly but some other applications still use anthy. E.g. ibus-anthy uses anthy-unicode and $XDG_CONFIG_HOME/anthy. fcitx-anthy, scim-anthy, uim-anthy, gcim-anthy uses anthy and $HOME/.anthy. To keep the back compatibility while *-anthy will migrate to use anthy-unicode, kasumi.spec is going to generate kasumi twice to generate two kasumi binaries with different CFLAGS and LDFLAGS between anthy and anthy-unicode. kasumi-unicode will be generated to link to anthy-unicode. anthy-unicode enhances anthy for:

  1. internal data EUC-JP to UTF-8
  2. user dic in $HOME/.anthy to $XDG_CONFIG_HOME/anthy

Feedback

Benefit to Fedora

anthy-unicode saves the user dictionaries in the Freedesktop configuration directory $XDG_CONFIG_HOME. Contributers can develop anthy-unicode with UTF-8 words internally.

Scope

  • Proposal owners:
  • Other developers: AkiraTagoh (Fedora maintaier of kasumi)
  • Release engineering: #9866
  • Policies and guidelines: N/A (not a System Wide Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Objectives:

Upgrade/compatibility impact

ibus-anthy will depend on anthy-unicode and kasumi-unicode instead of kasumi.


How To Test

  1. Enable ibus-anthy in your desktop
  2. Run /usr/libexec/ibus-setup-anthy
  3. Run kasumi-unicode from "Dictionary" tab in the dialog
  4. Register some words with kasumi-unicode

The user dictionary is saved in $XDG_CONFIG_HOME/anthy and ibus-anthy can use it.


User Experience

Users will run anthy-unicode-dic-tool --migrate in case that users need to migrate the user dictionary in $HOME/.anthy with one in $XDG_CONFIG_HOME/anthy.

Dependencies

ibus-anthy


Contingency Plan

  • Contingency mechanism: Revert the change of kasumi.spec and ibus-anthy will depends on kasumi.
  • Contingency deadline: Beta freeze
  • Blocks release? No
  • Blocks product? No

Documentation

Release Notes