Bug 2574116 - hunspell-de installs all six regional German dictionaries with no way to install only de_DE (unlike hunspell-en-, hunspell-es-)
Summary: hunspell-de installs all six regional German dictionaries with no way to inst...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: hunspell-de
Version: 44
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-17 00:57 UTC by redhat.hurler399
Modified: 2026-11-17 13:12 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description redhat.hurler399 2026-11-17 00:57:54 UTC
Written for the `hunspell-de` bug (matching the form you have open). The `hunspell-fr` twin is the identical text with the language swapped; the exact substitutions are listed after the template. Both file lists below are your genuine dnf repoquery outputs.

Summary: `hunspell-de` installs all six regional German dictionaries with no way to install only `de_DE` (unlike `hunspell-en-`, `hunspell-es-`)

Description of problem:

The `hunspell-de` package ships every regional German variant in a single unit, with no per-region subpackages. A user who writes German (Germany) and wants exactly one German entry in their spellcheck menu has no package-level way to get it: installing `hunspell-de` necessarily drags in `de_AT`, `de_BE`, `de_CH`, `de_LI` and `de_LU` as well. The unwanted variants are then enumerated by every spellcheck consumer, so apps list six German dictionaries where one is wanted.

Version-Release number of selected component (if applicable):

`hunspell-de-20240224-5.fc44` (observed on Fedora 44; the same layout exists in the F45/Rawhide builds per packages.fedoraproject.org)

How reproducible: Always, by construction of the package.

Steps to Reproduce:

```
    dnf install hunspell-de

    dnf repoquery -l hunspell-de | grep /usr/share/hunspell

    /usr/share/hunspell/de_AT.aff
    /usr/share/hunspell/de_AT.dic
    /usr/share/hunspell/de_BE.aff
    /usr/share/hunspell/de_BE.dic
    /usr/share/hunspell/de_CH.aff
    /usr/share/hunspell/de_CH.dic
    /usr/share/hunspell/de_DE.aff
    /usr/share/hunspell/de_DE.dic
    /usr/share/hunspell/de_LI.aff
    /usr/share/hunspell/de_LI.dic
    /usr/share/hunspell/de_LU.aff
    /usr/share/hunspell/de_LU.dic
```

- Open GNOME Text Editor (F44), right-click in a document and open the language chooser (libspelling → enchant2 → hunspell): all six German variants are listed.

Actual results: Six regional German dictionaries installed and enumerated; no package-level way to keep only de_DE.

Expected results: A base package carrying de_DE plus hunspell-de-AT, -CH, -BE, -LI, -LU subpackages for the other variants, so users can install exactly what they need, as already exists for English (hunspell-en-US, -GB, -AU, -CA, each removable independently) and Spanish (hunspell-es-ES, -MX, -AR and about twenty others).

Additional info:

- Precedent elsewhere: Debian and Ubuntu already split German this way (hunspell-de-de, hunspell-de-at, hunspell-de-ch, plus -frami variants), so per-region dictionaries exist upstream and this is purely a packaging change.
- Current user workarounds are unsatisfactory: deleting RPM-owned files breaks dnf verify; copying the wanted variant to /usr/local/share/hunspell/ and removing the package (verified end-to-end on F44, since enchant scans /usr/local too) works but freezes the dictionary outside the update pipeline.
- One constraint worth preserving in any split: the base hunspell package hard-requires hunspell-en-US, and that dependency chain (gnome-shell → webkitgtk6.0 → enchant2 → hunspell → hunspell-en-US) is what guarantees desktop installs keep a usable English dictionary; dnf refuses removal of hunspell-en-US citing gnome-shell as a protected package. A split hunspell-de should keep its main variant as a hard dependency of the base package, mirroring that guarantee.
- Discussion threads documenting the user impact: ["Unwanted Spellchecker Dictionary English Variants in Thunderbird e-mail editor"](https://discussion.fedoraproject.org/t/unwanted-spellchecker-dictionary-english-variants-in-thunderbird-e-mail-editor/85107) (discussion.fedoraproject.org/t/85107) and ["Could someone stop adding these additional language symlinks to /usr/share/hunspell/?"](https://discussion.fedoraproject.org/t/could-someone-stop-adding-these-additional-language-symlinks-to-usr-share-hunspell/190964) on Ask Fedora.


Note You need to log in before you can comment on or make changes to this bug.