Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417987 - app-office/calligra should depend on app-office/calligra-l10n
Summary: app-office/calligra should depend on app-office/calligra-l10n
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 13:30 UTC by kavol
Modified: 2012-06-07 10:45 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 kavol 2012-05-28 13:30:11 UTC
Applications install their locales automatically, that's what the user expects.
Calligra breaks this rule, laying unnecessary burden on the user - calligra-l10n has to be selected manually for installing, and then on uninstalling calligra, the l10n package is left orphaned, must be deselected manually too.

This could be automated by detecting if LINGUAS is not empty and/or if USE=nls is set then depend on calligra-l10n.

Reproducible: Always

Steps to Reproduce:
1. emerge calligra
2. equery l calligra-l10n

Actual Results:  
# emerge -av app-office/calligra

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

Calculating dependencies... done!
[ebuild  N     ] app-office/calligra-2.4.1  USE="crypt eigen exif fontconfig gif glib gsf handbook iconv jpeg jpeg2k kdcraw kdepim lcms mso okular openexr opengl pdf semantic-desktop ssl threads tiff truetype xml xslt (-aqua) -attica -fftw -freetds -glew -gsl -marble -mysql -openctl -postgres (-sybase) -test -word-perfect -xbase" CALLIGRA_FEATURES="braindump flow karbon kexi krita plan sheets stage words" 116,506 kB

...

!!! No installed packages matching 'calligra-l10n'
 * Searching for calligra-l10n ...


Expected Results:  
# emerge -av app-office/calligra

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

Calculating dependencies... done!
[ebuild  N     ] app-office/calligra-2.4.1  USE="... nls ..." CALLIGRA_FEATURES="braindump flow karbon kexi krita plan sheets stage words" 116,506 kB
[ebuild  N     ] app-office/calligra-l10n-2.4.1  USE="(-aqua) -doc" LINGUAS="cs sk -ca -ca@valencia -da -de -el -en_GB -es -et -fi -fr -hu -it -kk -nb -nds -nl -pl -pt -pt_BR -ru -sv -uk -zh_CN -zh_TW" 0 kB


...

 * Searching for calligra-l10n ...
[IP-] [  ] app-office/calligra-l10n-2.4.1:4
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2012-06-01 17:22:17 UTC
Fixed in main tree, enjoy.
Comment 2 kavol 2012-06-06 13:29:39 UTC
(In reply to comment #1)
> Fixed in main tree, enjoy.

hm, I see this mentioned in the changelog, but no calligra-l10n in the ebuilds?

- and it doesn't seem to work for me :-(
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2012-06-06 13:39:15 UTC
Whoops typo :D
i used calligra instead of calligra-l10n in the pdepend line.
Comment 4 kavol 2012-06-07 10:45:26 UTC
much better now :-) thanks