[Mageia-dev] [Mageia-Private] Consolidation of the spelling tools in Mageia

Luc Menut lmenut at free.fr
Sun Jan 15 00:31:14 CET 2012


Le 09/01/2012 01:07, Kamil Rytarowski a écrit :
> W dniu 08.01.2012 22:04, Luc Menut pisze:
>> Le 08/01/2012 21:18, Kamil Rytarowski a écrit :
[...]
>>
>>> And I'm against some
>>> special versioning for directories, we don't really need it.
>>
>> sorry but I don't agree with you here.
>> e.g. in coming days, we will fix firefox (and other mozilla apps) to
>> use hunspell-dictionaries; we will update the link to
>> /usr/lib64/firefox-9.0.1/dictionaries -> /usr/share/hunspell
>> and change the requires to hunspell-dictionary.
>>
>> but hunspell-dictionaries "old generation" (mga1) provide
>> hunspell-dictionary, and install dictionaries only in /usr/share/myspell.
> Just a technical note:
> Old Hunspell dictionaries don't provide anything additional. They are
> just dangling without any special integration with the system, please
> take a look:
> http://svnweb.mageia.org/packages/cauldron/hunspell-fr/current/SPECS/hunspell-fr.spec?revision=134361&view=markup
>
>
> $ urpmq --provides hunspell-nl
> hunspell-nl[== 2.00-2.mga1]

oops, sorry, my bad,  I had in mind that mga1 hunspell dictionaries 
already provided hunspell-dictionary.
so it can work, we will be able to require hunspell-dictionary to ensure 
that at least one hunspell dictionary "new generation" is installed.

>
> New Hunspell dictionaries obsolete&provide Myspell packages and come
> into the Myspell place. They also install dictionaries into the same
> place as the predecessor - this is why I put it into the place of the
> old enchant-dictionary=2 place.
>
> Gentoo uses common packages for Myspell and Hunspell dictionaries. So
> this is additional argument to put Hunspell in the place of Myspell.
>> how do you plan to handle that the fixed firefox will absolutly need
>> hunspell-dictionaries "new generation",
> Fix Mozilla packages (in Mga2) to use new generation dictionaries in
> /usr/share/hunspell

and add Requires: hunspell-dictionary

>> and can't work with hunspell-dictionaries "old generation" ?
>>
> Is there need for anything needed in addition of just higher
> version&release of every new generation hunspell-dictionary in Mga2,
> then the one in Mga1? In Mga2 every hunspell-dictionary will be in the
> new generation version.
>

when we know that a package needs a specific version of a library, we 
add it in the requires.
e.g. rpm -q --requires firefox |grep "sqlite\|nspr\|nss"
lib64sqlite3_0 >= 3.7.9
lib64nss3 >= 2:3.13.1
lib64nspr4 >= 2:4.8.9

by analogy, I think that we should ensure that the needed dictionary's 
package is installed.


PS: the directory /usr/share/hunspell is currently owned by no package
cf. urpmf "^/usr/share/hunspell$"
the best candidate is probably hunspell.


regards,
Luc

-- 
Luc Menut


More information about the Mageia-dev mailing list