Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 178199

Summary: app-text/aspell-0.60.5 does not pull its dictionaries
Product: Gentoo Linux Reporter: Georgi Georgiev <chutz+bugs.gentoo.org>
Component: New packagesAssignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE) <app-dicts+disabled>
Status: RESOLVED INVALID    
Severity: normal CC: juantxorena
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 178690    

Description Georgi Georgiev 2007-05-12 13:51:31 UTC
On a clean system, installing app-text/aspell-0.60.5 pulls only the app-dicts/aspell-en dictionary, regardless of the LINGUAS setting.

The reason -- the appropriate linguas_XX are not in IUSE.

The fix is trivial:

--- /usr/portage/app-text/aspell/aspell-0.60.5.ebuild   2007-05-12 20:05:32.000000000 +0900
+++ ./aspell-0.60.5.ebuild      2007-05-12 22:50:14.459793869 +0900
@@ -26,6 +26,7 @@
        "en" "eo" "es" "et" "fi" "fo" "fr" "ga" "gl" "he" \
        "hr" "is" "it" "nl" "no" "pl" "pt" "ro" "ru" "sk" \
        "sl" "sr" "sv" "uk" "vi"; do
+       IUSE="${IUSE} linguas_${l}"
        dep="linguas_${l}? ( app-dicts/aspell-${l} )"
        [[ -z ${PDEPEND} ]] &&
                PDEPEND="${dep}" ||
Comment 1 juantxorena@gmail.com 2007-07-12 16:34:46 UTC
This patch works (at least for me), but I don't think that is a good idea to use it, because if we use LINGUAS as USE flags, when LINGUAS var is changed aspell will be reemerged although when it shouldn't, because is something unneeded.
Comment 2 Wulf Krueger (RETIRED) gentoo-dev 2007-08-03 15:03:49 UTC
Without your patch it works just fine, too. Yes, aspell doesn't have the USE flags but it pulls the correct dictionaries in anyway:

With LINGUAS="de" in make.conf:

emerge =app-text/aspell-0.60.5 -p

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-text/aspell-0.60.5  USE="gpm nls"
[ebuild  N    ] app-dicts/aspell-de-0.60_pre20030222

On the command line without any LINGUAS defined in make.conf:

USE="linguas_de linguas_ca linguas_cs" emerge =app-text/aspell-0.60.5 -p

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-text/aspell-0.60.5  USE="gpm nls"
[ebuild  N    ] app-dicts/aspell-cs-0.60.20040614
[ebuild  N    ] app-dicts/aspell-de-0.60_pre20030222
[ebuild  N    ] app-dicts/aspell-ca-0.60.20040130

And Juan is right, too.