Summary: | app-dicts/myspell-it/-fr forget to install dic/aff files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | sphakka <marcoep> |
Component: | Current packages | Assignee: | Spell checking utilities and dictionaries -- related bugs (OBSOLETE) <app-dicts+disabled> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | polynomial-c, scarabeus |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 427228 |
Description
sphakka
2012-07-20 09:54:08 UTC
I also see structural differences between myspell-it/fr ebuild and others, like myspell-en/uk... Are those ebuild broken? It looks like there's some general incoherence across myspell-* ebuilds... The bug is invalid from what I see, the files are in the hunspell folder and myspell folder contain the symlinks: >>> /usr/share/hunspell/it_IT.dic >>> /usr/share/hunspell/it_IT.aff >>> /usr/share/myspell/it_IT.dic -> /usr/share/hunspell/it_IT.dic >>> /usr/share/myspell/it_IT.aff -> /usr/share/hunspell/it_IT.aff >>> /usr/share/hunspell/fr-reforme1990.dic >>> /usr/share/hunspell/fr-reforme1990.aff >>> /usr/share/hunspell/fr_FR.dic >>> /usr/share/hunspell/fr_FR.aff >>> /usr/share/hunspell/fr-classique.dic >>> /usr/share/hunspell/fr-classique.aff >>> /usr/share/hunspell/fr-moderne.dic >>> /usr/share/hunspell/fr-moderne.aff >>> /usr/share/myspell/fr-reforme1990.dic -> /usr/share/hunspell/fr-reforme1990.dic >>> /usr/share/myspell/fr-reforme1990.aff -> /usr/share/hunspell/fr-reforme1990.aff >>> /usr/share/myspell/fr_FR.dic -> /usr/share/hunspell/fr_FR.dic >>> /usr/share/myspell/fr_FR.aff -> /usr/share/hunspell/fr_FR.aff >>> /usr/share/myspell/fr-classique.dic -> /usr/share/hunspell/fr-classique.dic >>> /usr/share/myspell/fr-classique.aff -> /usr/share/hunspell/fr-classique.aff >>> /usr/share/myspell/fr-moderne.dic -> /usr/share/hunspell/fr-moderne.dic >>> /usr/share/myspell/fr-moderne.aff -> /usr/share/hunspell/fr-moderne.aff scarabeus@htpc: /usr/share/hunspell $ l celkem 6,9M drwxr-xr-x 2 root root 4,0K 25. čec 15.13 ./ drwxr-xr-x 109 root root 4,0K 25. čec 15.12 ../ -rw-r--r-- 1 root root 325K 25. čec 15.13 fr-classique.aff -rw-r--r-- 1 root root 1,1M 25. čec 15.13 fr-classique.dic -rw-r--r-- 1 root root 397K 25. čec 15.13 fr_FR.aff -rw-r--r-- 1 root root 1,1M 25. čec 15.13 fr_FR.dic -rw-r--r-- 1 root root 325K 25. čec 15.13 fr-moderne.aff -rw-r--r-- 1 root root 1,1M 25. čec 15.13 fr-moderne.dic -rw-r--r-- 1 root root 373K 25. čec 15.13 fr-reforme1990.aff -rw-r--r-- 1 root root 1,1M 25. čec 15.13 fr-reforme1990.dic -rw-r--r-- 1 root root 79K 25. čec 15.12 it_IT.aff -rw-r--r-- 1 root root 1,3M 25. čec 15.12 it_IT.dic Please reopen if you figure whats wrong with your system. Also from looking on what I wrote in the eclass there is no way for user to define the dirs, so really I have no idea what is with your system: # Following the debian directory layout here. # DICT: /usr/share/hunspell # THES: /usr/share/mythes # HYPH: /usr/share/hyphen # We just need to copy the required files to proper places. # TODO: backcompat dosym remove when all dictionaries and libreoffice # ebuilds in tree use only the new paths insinto /usr/share/hunspell for x in "${MYSPELL_DICT[@]}"; do target="${x##*/}" newins "${x}" "${target}" || die dosym /usr/share/hunspell/"${target}" /usr/share/myspell/"${target}" || die done insinto /usr/share/mythes for x in "${MYSPELL_THES[@]}"; do target="${x##*/}" newins "${x}" "${target}" || die dosym /usr/share/mythes/"${target}" /usr/share/myspell/"${target}" || die done insinto /usr/share/hyphen for x in "${MYSPELL_HYPH[@]}"; do target="${x##*/}" newins "${x}" "${target}" || die dosym /usr/share/hyphen/"${target}" /usr/share/myspell/"${target}" || die done Ouch, I just discovered that I had a symlink /usr/share/hunspell -> /usr/share/myspell so, no wonder that any symlink created in /usr/share/myspell ended up stomping on itself... Removing the rogue symlink (no idea why it was there) and reinstalling fixes the problem! Sorry for the confusion! |