* bug#63934: sonnet uses hardcoded paths for hunspell dictionaries
@ 2023-06-06 20:39 Efraim Flashner
0 siblings, 0 replies; only message in thread
From: Efraim Flashner @ 2023-06-06 20:39 UTC (permalink / raw)
To: 63934
[-- Attachment #1: Type: text/plain, Size: 683 bytes --]
In sonnet's source code, in src/plugins/hunspell/hunspellclient.cpp, we
have the following code snippet:
#ifdef Q_OS_WIN
maybeAddPath(QStringLiteral(SONNET_INSTALL_PREFIX "/bin/data/hunspell/"));
#else
maybeAddPath(QStringLiteral("/System/Library/Spelling"));
maybeAddPath(QStringLiteral("/usr/share/hunspell/"));
maybeAddPath(QStringLiteral("/usr/share/myspell/"));
#endif
This is probably why sonnet can't find any hunspell dictionaries.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-06 20:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-06 20:39 bug#63934: sonnet uses hardcoded paths for hunspell dictionaries Efraim Flashner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).