Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724360 - app-dicts/myspell-ru thesaurus is not detected by app-office/libreoffice{,-bin} due to incorrect filenames
Summary: app-dicts/myspell-ru thesaurus is not detected by app-office/libreoffice{,-bi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Perfect Gentleman
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: 729922
  Show dependency tree
 
Reported: 2020-05-20 19:51 UTC by Gleb
Modified: 2021-10-26 06:08 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
myspell-ru-20200606.ebuild (myspell-ru-20200606.ebuild,899 bytes, text/plain)
2020-10-24 12:32 UTC, Perfect Gentleman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb 2020-05-20 19:51:45 UTC
myspell-ru installs thesaurus with the default file name. In this case the thesaurus is not detected by LibreOffice.

If I rename (or symlink) to the filenames similar to en_US thesaurus, then it is detected by LibreOffice correctly.

The correct filenames for Russian thesaurus should be the following:

/usr/share/myspell/th_ru_RU_v2.dat
/usr/share/myspell/th_ru_RU_v2.idx
/usr/share/mythes/th_ru_RU_v2.dat
/usr/share/mythes/th_ru_RU_v2.idx

Sources:
https://cgit.freedesktop.org/libreoffice/dictionaries/tree/ru_RU
https://github.com/LibreOffice/core/blob/e41106332982faef3c8b343b96904eeaa9ff6f60/lingucomponent/source/lingutil/lingutil.cxx#L174-L178

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-24 11:45:11 UTC
ping...?
Comment 2 Perfect Gentleman 2020-10-24 12:32:34 UTC
Created attachment 668291 [details]
myspell-ru-20200606.ebuild

updated and fixed
Comment 3 Perfect Gentleman 2020-10-24 12:38:31 UTC
I have access to Gentoo's github. So please commit it.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-24 12:39:01 UTC
(In reply to Perfect Gentleman from comment #3)
> I have access to Gentoo's github. So please commit it.

I don't understand?
Comment 5 Perfect Gentleman 2020-10-24 12:46:46 UTC
(In reply to Sam James from comment #4)
> (In reply to Perfect Gentleman from comment #3)
> > I have access to Gentoo's github. So please commit it.
> 
> I don't understand?

Okay then. How can I upload it to the tree?
Comment 6 Larry the Git Cow gentoo-dev 2021-10-26 06:08:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8038876ea58191af0ad6be25757603068f15f410

commit 8038876ea58191af0ad6be25757603068f15f410
Author:     Perfect Gentleman <perfect007gentleman@gmail.com>
AuthorDate: 2021-10-26 05:59:19 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-10-26 05:59:19 +0000

    app-dicts/myspell-ru: bump to 20200606, fix incorrect filename bug
    
    Closes: https://bugs.gentoo.org/724360
    Closes: https://bugs.gentoo.org/750305
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-dicts/myspell-ru/myspell-ru-20200606.ebuild | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)