Bug 2180175 - kf5-sonnet shouldn't require legacy spellcheckers aspell and hspell
Summary: kf5-sonnet shouldn't require legacy spellcheckers aspell and hspell
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: kf5-sonnet
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: KDE SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-20 21:15 UTC by skierpage
Modified: 2024-11-09 07:39 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-11-09 07:39:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description skierpage 2023-03-20 21:15:56 UTC
Description of problem:
My latest `sudo dnf --setopt=install_weak_deps=False update` of F37 installed the aspell, hspell, and libvoikko packages, even though I already have hunspell installed as a requirement of enchant - qtspell-qt5.

Version-Release number of selected component (if applicable):
kf5-sonnet-5.104.0-1.fc37.src.rpm

How reproducible:
Every time?

Steps to Reproduce:
1. Install Fedora 37, update it.

Actual results:
`dnf update` installs aspell, hspell, and libvoikko packages.

Expected results:
kf5-sonnet-core shouldn't require legacy spellcheckers when KDE already installs hunspell. I'm not sure if libvoikko should be required for English speakers when the package says "Currently only Finnish is supported."

Additional info:

This change in dependencies may be a result of @marcdeop adding them to kf5-sonnet.spec  https://packages.fedoraproject.org/pkgs/kf5-sonnet/kf5-sonnet-core/fedora-37-updates.html as "missing BuildRequires". They're probably needed to compile the plug-ins but shouldn't be a package dependency?

`git log kf5-sonnet.spec` shows 2014-05-29 Kevin Kofler "Drop BR aspell-devel and hspell-devel to avoid dragging the legacy checkers in", so the new change reverts the old change.

kf5-sonnet installs sonnet_aspell.so, sonnet_hspell.so,sonnet_hunspell.so, and sonnet_voikko.so plug-ins, but I think it's programmed so that if the package for a spellcheck plug-in is missing it only prints a warning message. However, I didn't test this, because:

I can't remove the legacy spellcheckers, `sudo dnf remove aspell hspell` prints
   Problem: The operation would result in removing the following protected packages: plasma-desktop

Comment 1 Aoife Moloney 2023-11-23 01:31:37 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 2 skierpage 2023-11-23 09:28:09 UTC
Fedora 39 KDE spin still has these spellcheckers installed, `dnf repoquery --installed --whatrequires aspell` (or hspell) still reports that kf5-sonnet-core-0:5.111.0-1.fc39.x86_64 requires them.

Comment 3 Aoife Moloney 2024-11-08 10:50:05 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 skierpage 2024-11-09 07:39:11 UTC
This seems fixed in Fedora 41, and maybe earlier. After a dnf system upgrade I don't have aspell, hspell, or libvoikko installed. There are now separate kf{5,6}-sonnet-{a,h}spell packages, and nothing requires the latter packages; similarly for libvoikko and kf{5,6}-sonnet-voikko. kf{5,6}-sonnet only recommends the kf{5,6}-hunspell package.


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