Created attachment 225418 [details] Add spell-cheking plugin - Add spell-checking pluging (SPELL option, off by default) - Adjust dependencies, Mousepad no longer depends of Xfconf - Bump PORTREVISION - Add message in order to define default language in gspell plugin, instead the default value (en_US)
Thanks for the patch. Testing it.
I have a question: Why do we need such a convoluted package message and changing the distribution default when the UI has an interface to set the default AND it's going to show English ass default anyway by itself? I'd simplify the patch and remove the pkg-message, the UI is already simple enough, and mousepad is a GUI software.
Created attachment 225452 [details] Add spell checking and other fixes I'm attaching a revised, simpler patch. - Removed the pkg-message, which looks unnecessarily complicated. - Use SPELL_VARS helper in place of including bsd.port.options.mk - Make SPELL option turned on by default - Also adding INSTALLS_ICONS to the port, which was missing. If I don't get feedback I'll proceed with this patch.
(In reply to Guido Falsi from comment #3) Patch is fine. Message suggests to install another dictionary, if native language is not English.
(In reply to Olivier Duchateau from comment #4) I think how to install vocabulary ports is outside the scope of mousepad pkg-message, and setting the default is possible via the UI, so I'd rather avoid adding it. I'm going to commit this patch later.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=cb4dde7e1f4bc930ee4faea4c575ed59eb6d8a6a commit cb4dde7e1f4bc930ee4faea4c575ed59eb6d8a6a Author: Guido Falsi <madpilot@FreeBSD.org> AuthorDate: 2021-06-03 15:29:22 +0000 Commit: Guido Falsi <madpilot@FreeBSD.org> CommitDate: 2021-06-03 15:29:22 +0000 editors/mousepad: Add spelling support - Add new SPELL option enabled by default to compile in spelling support - Remove unneeded dependency on xfconf - Also add missing INSTALLS_ICONS PR: 256303 editors/mousepad/Makefile | 18 ++++++++++++++---- editors/mousepad/pkg-plist | 1 + 2 files changed, 15 insertions(+), 4 deletions(-)
Committed. Thanks!