| Summary: | Dictionaries are not installed properly | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Marc Pare <marc> |
| Component: | Linguistic | Assignee: | Petr Mladek <pmladek> |
| Status: | CLOSED FIXED | ||
| Severity: | blocker | CC: | caolan.mcnamara, fridrich.strba, pmladek, sophi |
| Priority: | medium | ||
| Version: | 3.3.0 RC1 | ||
| Hardware: | Other | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
patch that allows to enable internal and extenal dictionaries at the same time
patch that enables the internal dictionaries for LibreOfficeLinux distro |
||
|
Description
Marc Pare
2010-12-08 09:08:16 UTC
Uh huh. So checking this, that seems to be the case. (well actually I have 101 language pre-installed system spellcheckers detected, which might be why noone really noticed until now that we're not bundling any with the default rpms) cmc->pmladek/fridrich: I guessing that the universal Linux rpms are generated via the distro-configs/LinuxOfficeLinux.conf.in which has --without-myspell-dicts in it ? Or is one of the others the one that's used for the universal rpms. The "inner" configure defaults them on IIRC so it looks like its togged off for the universal case. I guess we should toggle it on for the universal rpms to be consistent with the windows experience. Sigh, I see bootstrap/configure.in: --- cut --- if test "$WITH_MYSPELL_DICTS" = "NO"; then AC_MSG_CHECKING([whether to use dicts from external paths]) if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then --- cut --- So, if we enable the built-in dictionaries, it will not longer search for the system dictionaries and other people will complain. The internal dictionaries are installed as extensions, so both ways should work. The code in components/lingucomponent/source/lingutil/lingutil.cxx looks promissing. I am going to modify configure and try build with both enabled. Created attachment 40991 [details]
patch that allows to enable internal and extenal dictionaries at the same time
It just removes:
if test "$WITH_MYSPELL_DICTS" = "NO"; the
fi
and update indentation of the lines in between.
Created attachment 40992 [details]
patch that enables the internal dictionaries for LibreOfficeLinux distro
I have a clean test build. It worked as expected:
+ internal dictionaries were packaged to libreoffice3-dict-<lang> rpms and
bundled with the related lang packs
+ the system paths, e.g. /usr/share/hunspell, were still search for more
dictionaries
Caolan, could you please review the patches, so we could commit them to the libreoffice-3-3 branch?
Looks good to me, go for it Thanks for review. Pushed as http://cgit.freedesktop.org/libreoffice/build/commit/?h=libreoffice-3-3&id=e7d665af9185880881b8bdb49dfa25293a66bd04 http://cgit.freedesktop.org/libreoffice/bootstrap/commit/?h=libreoffice-3-3&id=ea1145a132dd3b163352fd227ea1ad8ce0fa436c => FIXED for LO-3.3-rc2 Closing - Sophie |