Review Request 122987: Allow user to specify path to myspell dictionary files

Christophe Giboudeaux cgiboudeaux at gmx.com
Tue Mar 17 17:05:46 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122987/#review77647
-----------------------------------------------------------



src/plugins/hunspell/CMakeLists.txt
<https://git.reviewboard.kde.org/r/122987/#comment53313>

    So you change an hardcoded path by a user chosen hardcoded one ?
    
    looking at the hunspell -D output, it looks like hunspell looks in more than one directory.
    
    hunspell -D
    
    [cut]
    
    AVAILABLE DICTIONARIES (path is not mandatory for -d option):
    /usr/share/hunspell/fr_FR
    /usr/share/hunspell/fr
    /usr/share/hunspell/en_US
    /usr/share/myspell/fr_FR
    /usr/share/myspell/hyph_en_US
    /usr/share/myspell/hyph_fr
    /usr/share/myspell/fr
    /usr/share/myspell/hyph_fr_FR
    /usr/share/myspell/en_US
    LOADED DICTIONARY:
    /usr/share/hunspell/fr_FR.aff
    /usr/share/hunspell/fr_FR.dic



src/plugins/hunspell/CMakeLists.txt
<https://git.reviewboard.kde.org/r/122987/#comment53312>

    endif()


- Christophe Giboudeaux


On March 17, 2015, 1:09 p.m., Eugene Shalygin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122987/
> -----------------------------------------------------------
> 
> (Updated March 17, 2015, 1:09 p.m.)
> 
> 
> Review request for KDE Frameworks and kdelibs.
> 
> 
> Repository: sonnet
> 
> 
> Description
> -------
> 
> Not on all systems myspell dictionaries are located in /usr/share/myspell/dicts/,  which is hardcoded in the hunspell plugin sources. For instance, on Gentoo it is /usr/share/myspell/. So let the user define this path.
> 
> 
> Diffs
> -----
> 
>   src/plugins/hunspell/CMakeLists.txt 098fb49 
>   src/plugins/hunspell/config-hunspellplugin.h.cmake PRE-CREATION 
>   src/plugins/hunspell/hunspellclient.cpp 9e3aa67 
>   src/plugins/hunspell/hunspelldict.cpp 621113d 
> 
> Diff: https://git.reviewboard.kde.org/r/122987/diff/
> 
> 
> Testing
> -------
> 
> hunspell plugin began to work on Gentoo
> 
> 
> Thanks,
> 
> Eugene Shalygin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150317/a5bd89da/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list