Bug 232416

Summary: consider splitting the spell checking dictionaries of openoffice.org-dict-cs_CZ into a "hunspell-cs" package
Product: [Fedora] Fedora Reporter: Caolan McNamara <caolanm>
Component: openoffice.org-dict-cs_CZAssignee: Tomas Mraz <tmraz>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openoffice.org-dict-cs_CZ-20060303-5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-27 10:50:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Caolan McNamara 2007-03-15 12:57:14 UTC
Description of problem:

openoffice.org-dict-cs_CZ contains the hyphenation and spellchecker dictionaries
for openoffice.org for Czech.

But since this package was started we have now split all the dictionaries out of
OpenOffice.org and into separate "hunspell-language" packages, e.g. see
hunspell-da for Danish. 

If the openoffice.org-dict-cs_CZ is split so that the spell checking
dictionaries are "hunspell-cs" (e.g. just follow the rest of the hunspell-lang
src.rpm patterns) then we get 
a) a more consistent naming scheme for the dictionaries
b) automatically Czech will be available to firefox when it integrates the
forthcoming upgrade to using hunspell. 
c) there's no need for any special triggers for installing spellchecking
dictionaries requires, their mere presence according to the naming scheme of
cs_CZ.aff and cs_CZ.dic in the /usr/share/hunspell dictionary will make OOo see them

Hyphenation dictionaries are not affected by this split of the spellchecking
dictionaries, they still need the messy trigger. Note that OOo for FC-7 is now
in /usr/lib/openoffice.org so you need to change your .spec anyway to track the
new (final) location of OOo.

Version-Release number of selected component (if applicable):
openoffice.org-dict-cs_CZ-20060303-4.fc7

Comment 1 Tomas Mraz 2007-03-26 20:15:45 UTC
In the current hunspell-en-0.20040623-1 the installation directory is actually
/usr/share/myspell. Is this a final location for Fedora 7?


Comment 2 Caolan McNamara 2007-03-27 07:27:58 UTC
yeah, hunspell defaults to looking into this directory for dictionaries because
it is based on "myspell" which defaulted to that location. hunspell understands
the myspell format as well as it's hunspell extended format.

Comment 3 Tomas Mraz 2007-03-27 07:33:34 UTC
So should I use /usr/share/myspell or /usr/share/hunspell?


Comment 4 Caolan McNamara 2007-03-27 08:19:54 UTC
/usr/share/myspell

Comment 5 Tomas Mraz 2007-03-27 10:50:44 UTC
I've added the hunspell-cs subpackage in current Fedora development packages.