Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363377 - app-text/enchant wrong aspell dependency
Summary: app-text/enchant wrong aspell dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords: QAcanfix
Depends on:
Blocks:
 
Reported: 2011-04-12 20:16 UTC by Ulrich Müller
Modified: 2011-04-16 19:47 UTC (History)
2 users (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 Ulrich Müller gentoo-dev 2011-04-12 20:16:59 UTC
The package's configure checks for aspell.h and libaspell. Therefore the
dependency on virtual/aspell-dict should be changed to app-text/aspell (which
will pull in at least one dictionary).
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2011-04-13 02:46:07 UTC
any aspell dictionary (virtual provider) depends on aspell (forced by aspell-dict eclass.
Comment 2 Ulrich Müller gentoo-dev 2011-04-13 05:19:38 UTC
(In reply to comment #1)
> any aspell dictionary (virtual provider) depends on aspell (forced by
> aspell-dict eclass.

Yes, but that doesn't make enchant's dependency right. ;) And it's not equivalent, because virtual/aspell-dict may pull in the english dictionary, even if the USER has explicitly deselected it in LINGUAS:

$ LINGUAS=de USE=aspell emerge -p enchant

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

Calculating dependencies... done!
[ebuild  N    ] app-text/aspell-0.60.6-r2  USE="nls -examples" LINGUAS="de -af -be -bg -br -ca -cs -cy -da -el -en -eo -es -et -fi -fo -fr -ga -gl -he -hr -is -it -la -lt -nl -no -pl -pt -pt_BR -ro -ru -sk -sl -sr -sv -uk -vi" 
[ebuild  N    ] app-dicts/aspell-de-0.60_pre20030222 
[ebuild  N    ] app-dicts/aspell-en-6.0.0 
[ebuild   R   ] app-text/enchant-1.6.0  USE="aspell*" 

Whereas aspell calculates its dependencies on dictionaries correctly:

$ LINGUAS=de emerge -p aspell

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

Calculating dependencies... done!
[ebuild  N    ] app-text/aspell-0.60.6-r2  USE="nls -examples" LINGUAS="de -af -be -bg -br -ca -cs -cy -da -el -en -eo -es -et -fi -fo -fr -ga -gl -he -hr -is -it -la -lt -nl -no -pl -pt -pt_BR -ro -ru -sk -sl -sr -sv -uk -vi" 
[ebuild  N    ] app-dicts/aspell-de-0.60_pre20030222
Comment 3 Ulrich Müller gentoo-dev 2011-04-16 19:47:49 UTC
Fixed.