From Fedora Project Wiki
m (Add Pnemade as owner)
m (add more details in proposal owners section)
Line 87: Line 87:
* Proposal owners:
* Proposal owners:
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
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.  
** PR for Hunspell package
*** Rename dir name from myspell/ to hunspell/
*** Create symlink myspell (to have better backward compatibility)
** PRs for language dictionaries ([https://paste.opensuse.org/61121010 121 packages]):
*** Update “install dir” from myspell/ to hunspell/
** PRs for libreoffice & firefox:
*** Update dictionary usage path from myspell/ to hunspell/
** Test [https://copr.fedorainfracloud.org/coprs/vishalvvr/hunspell_symlink copr repo]


* Other developers: <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Other developers: <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- What work do other developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
<!-- What work do other developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
** merge PRs to update path in hunspell-* dictionaries
** Merge PRs to update path dictionary path for libreoffice & Firefox


* Release engineering: [https://pagure.io/releng/issues #Releng issue number] <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Release engineering: [https://pagure.io/releng/issues #Releng issue number] <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
Line 125: Line 134:
3. What are the expected results of those actions?
3. What are the expected results of those actions?
-->
-->
1. Check if default installed dictionary path is `/usr/share/hunspell/` instead of `/usr/share/myspell/`
1. Check if default installed dictionary path is `/usr/share/hunspell/`


`$ hunspell -D` or `$ ls /usr/share/hunspell/`     
`$ hunspell -D` or `$ ls /usr/share/hunspell/`     
Line 133: Line 142:
`$ dnf install hunspell-hi`
`$ dnf install hunspell-hi`


`$ hunspell -D`  
`$ hunspell -D`


<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->

Revision as of 10:16, 12 January 2022


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-12
  • 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:
    • PR for Hunspell package
      • Rename dir name from myspell/ to hunspell/
      • Create symlink myspell (to have better backward compatibility)
    • PRs for language dictionaries (121 packages):
      • Update “install dir” from myspell/ to hunspell/
    • PRs for libreoffice & firefox:
      • Update dictionary usage path from myspell/ to hunspell/
    • Test copr repo
  • Other developers:
    • merge PRs to update path in hunspell-* dictionaries
    • Merge PRs to update path dictionary path for libreoffice & Firefox
  • 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/

$ 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