Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164961 - app-portage/portage-manpages - man 5 eutils.eclass isn't up-to-date - strip-linguas is missing
Summary: app-portage/portage-manpages - man 5 eutils.eclass isn't up-to-date - strip-l...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-02 09:44 UTC by Elias Probst
Modified: 2007-07-26 05:42 UTC (History)
0 users

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 Elias Probst 2007-02-02 09:44:00 UTC
The manpage of eutils.eclass doesn't include the paragraph for the "strip-linguas" function.
There's some documentation at http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1
This function makes sure that LINGUAS contains only the languages that a package can support specified by the arguments to the function. If the first argument is -i, then a list of .po files in the specified directories is built and the intersection of the lists is used. If the first argument is -u, then a list of .po files in the specified directories is built and the union of the lists is used.

and as comments in /usr/portage/eclass/eutils.eclass too:
# Make sure that LINGUAS only contains languages that
# a package can support
#
# usage: strip-linguas <allow LINGUAS>
#        strip-linguas -i <directories of .po files>
#        strip-linguas -u <directories of .po files>
#
# The first form allows you to specify a list of LINGUAS.
# The -i builds a list of po files found in all the
#   directories and uses the intersection of the lists.
# The -u builds a list of po files found in all the
#   directories and uses the union of the lists.

Please add this to the manpage.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2007-07-26 05:42:57 UTC
it's documented in eclass-manpages now