GNU bug report logs - #63934
sonnet uses hardcoded paths for hunspell dictionaries

Previous Next

Package: guix;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Tue, 6 Jun 2023 20:40:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Efraim Flashner <efraim <at> flashner.co.il>
To: 63934 <at> debbugs.gnu.org
Subject: bug#63934: sonnet uses hardcoded paths for hunspell dictionaries
Date: Tue, 6 Jun 2023 23:39:15 +0300
[Message part 1 (text/plain, inline)]
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 <at> 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
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.