Bug 276424 - misc/mc When editing any text file using mcedit, a warning appears: No word lists can be found for the language "en"
Summary: misc/mc When editing any text file using mcedit, a warning appears: No word ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-18 14:44 UTC by Vladyslav V. Prodan
Modified: 2024-01-31 09:40 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladyslav V. Prodan 2024-01-18 14:44:30 UTC
When editing any text file using mcedit, a warning appears:
No word lists can be found for the language "en"

By default, mc generates a config /root/.config/mc/ini with this option: spell_language=en.

The situation is corrected by installing an additional package:
pkg install en-aspell

# pkg info | grep mc
mc-4.8.30_1                    Midnight Commander, a free Norton Commander clone
# pkg info | grep spell
aspell-0.60.8.1,1              Spelling checker with better suggestion logic than ispell
en-aspell-2020.12.07.0         Aspell English dictionaries
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-01-31 09:38:04 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b729969ca735c302869d175990629bd21b860d27

commit b729969ca735c302869d175990629bd21b860d27
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-01-31 09:36:54 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-01-31 09:36:54 +0000

    misc/mc: update Midnight Commander to version 4.8.31

    - Added support for LZO(P) compressed files (via external program)
    - Support for native FISH server and protocol had been dropped;
      VFS renamed to generic ``shell''
    - Add missing run-time dependency on English dictionary, otherwise
      on every launch, the editor would greet the user with ``No word
      lists can be found for the language "en"'' error message
    - Disable Aspell support by default again as it turned out to be
      not just a build dependency
    - Do not pass $(E2P_CFLAGS) to ``src/vfs/local/Makefile.in'' now
      that the build issue had been fixed upstream
    - Install manpages under ${PREFIX}/share/man, per new world order

    PR:             276424 (editor nagging)
    Reported by:    portscout (new version)

 misc/mc/Makefile  | 11 +++++------
 misc/mc/distinfo  |  6 +++---
 misc/mc/pkg-plist | 50 +++++++++++++++++++++++++-------------------------
 3 files changed, 33 insertions(+), 34 deletions(-)
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2024-01-31 09:40:18 UTC
Should be fixed now together with the new version update, thanks for telling!