Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 178199
Alias:
Product:
Component:
Status: RESOLVED
Resolution: INVALID
Assigned To: Spell checking utilities and dictionaries -- related bugs <app-dicts@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Georgi Georgiev <chutz@gg3.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 178199 depends on: Show dependency tree
Bug 178199 blocks: 178690
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-12 13:51 0000
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 From Juan Aguado 2007-07-12 16:34:46 0000 -------
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 From Wulf Krueger (RETIRED) 2007-08-03 15:03:49 0000 -------
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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug