Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242682 - app-office/openoffice-3.0.0: Always downloading ${DEVPATH}-l10n.tar.bz2 even if LINGUAS is empty
Summary: app-office/openoffice-3.0.0: Always downloading ${DEVPATH}-l10n.tar.bz2 even ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-19 01:44 UTC by Richard Li
Modified: 2008-10-19 10:07 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 Richard Li 2008-10-19 01:44:25 UTC
'${DEVPATH}-l10n.tar.bz2' is always included in SRC_URI, even if LINGUAS is empty.


The ebuild says these lines:
for Y in ${LANGS1} ; do
        SRC_URI="${SRC_URI} linguas_${Y}? ( ${DEVPATH}-l10n.tar.bz2 )"
done

The intent apparently is that the file should be downloaded only if at least one of the LINGUAS is used. So should '${DEVPATH}-l10n.tar.bz2' be removed from the list of filenames above? Otherwise the three lines here are useless.

Reproducible: Always
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-19 10:07:49 UTC
The check is useless indeed, but non-harmful, just forgot to remove it. The current ooo-build does need the l10n-package in each case atm.

Removed the check, closing.