Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178199 - app-text/aspell-0.60.5 does not pull its dictionaries
Summary: app-text/aspell-0.60.5 does not pull its dictionaries
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 178690
  Show dependency tree
 
Reported: 2007-05-12 13:51 UTC by Georgi Georgiev
Modified: 2007-08-03 15:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.