Created attachment 320718 [details] Patched ebuild, creates links without "frami" in their names current myspell-de ebuild (pulled in by hunspell) puts files like de_AT_frami.aff de_AT_frami.dic into /usr/share/hunspell LyX does not find those, as it searches for <locale>.dic see http://wiki.lyx.org/Devel/Hunspell for details. I don't know what the correct way to solve this is, but the attached ebuild solves it. Please correct it if should be solved with dosym etc. and let me know! tia!
Comment on attachment 320718 [details] Patched ebuild, creates links without "frami" in their names --- myspell-de-2012.06.10.ebuild 2012-06-17 12:31:03.000000000 +0200 +++ - 2012-08-09 01:57:04.512341237 +0200 @@ -46,3 +46,14 @@ SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="" + +src_install() { + +myspell-r2_src_install + +# LyX won't find dicts with _frami appended, see +# http://wiki.lyx.org/Devel/Hunspell +cd "${D}/usr/share/hunspell" +for d in *_frami.*; do + ln -s "$d" "${d/_frami}" || die; done +} Needs some indenting, it seems.
also #356853 i believe there was bug for this naming myspell issues (i found its not case just for _de) but i can't find it in the database now...
This is weird, see how enchant/myspell actually does it. I would say the lyx should actually fix the loading mechanism they use for the dicts. If that is not possible, we can for sure rename the files with no problem.
Anyway renamed the files to be done with it. If you find problem with other langs just feel free to report them.
Re-opened. + 18 Aug 2012; Johannes Huber <johu@gentoo.org> +myspell-de-2012.06.17.ebuild, + -myspell-de-2012.06.17-r1.ebuild: + Restore -r0 remove newer as it is broken by scarabeus.
German spell checking in LibreOffice 4.0 doesn't work because LibreOffice doesn't find German dictionaries. If I rename de_DE_frami.dic and de_DE_frami.aff to de_DE.dic and de_DE.aff, the spell checker works fine... It would be better remove '_frami' from the filenames of the German dictionaries. See also https://bugs.gentoo.org/show_bug.cgi?id=458772, Comment 7
Removed the frami part in -r1 bump of the dicts as suggested. Lets see how many regressions that cause.
(In reply to Tomáš Chvátal from comment #7) > Removed the frami part in -r1 bump of the dicts as suggested. > > Lets see how many regressions that cause. KDE spellchecking breaks with swissgerman, kate(10596): No language dictionaries for the language : "de_CH_frami" could you see if providing compatibility symlinks including _frami doesn't break open/libre office, or poke the KDE people? Thanks.