From Fedora Project Wiki

Revision as of 14:35, 10 January 2022 by Vishalvvr (talk | contribs) (Add Pnemade as owner)


Hunspell Dictionary dir change

Summary

Update Hunspell Dictionary system directory from /usr/share/myspell/ to /usr/share/hunspell/

Owner


Current status

  • Targeted release: Fedora Linux 36
  • Last updated: 2022-01-10
  • devel thread
  • FESCo issue: #2730
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

In most of Linux distributions the standard Hunspell dictionary path is /usr/share/hunspell/ but in Fedora still has /usr/share/myspell/. This effort is to follow default standard to install all Hunspell dictionary into /usr/share/hunspell/ instead of /usr/share/myspell/.

Feedback

Benefit to Fedora

This will future proof Fedora to use the correct current location for hunspell spelling dictionaries.

Scope

  • Proposal owners:

In total there are 135 packages which is to be updated. libreoffice & Firefox are the two main applications and rest are mostly language dictionary packages.

  • Other developers:
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Objectives:

Upgrade/compatibility impact

How To Test

1. Check if default installed dictionary path is /usr/share/hunspell/ instead of /usr/share/myspell/

$ hunspell -D or $ ls /usr/share/hunspell/

2. Install any language dictionary and check if it getting installed into '/usr/share/hunspell/'

$ dnf install hunspell-hi

$ hunspell -D


User Experience

User should not notice any difference: their applications should continue to work as expected after this directory migration.

Dependencies

Contingency Plan

  • Contingency mechanism: revert release back to /usr/share/myspell
  • Contingency deadline: Beta
  • Blocks release? No

Documentation

Release Notes