Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 797256 - gnome-base/gdm-40.0: provide graceful L10N support
Summary: gnome-base/gdm-40.0: provide graceful L10N support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2021-06-21 03:23 UTC by Rob MacKinnon
Modified: 2021-07-23 19:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
complete ebuild (gdm-40.0-r1.ebuild,6.02 KB, text/plain)
2021-06-21 03:25 UTC, Rob MacKinnon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob MacKinnon 2021-06-21 03:23:12 UTC
Based on the Eclass docs for l10n.eclass (and my general understanding on how to apply it), the attached ebuild should allow for a more graceful handling of system LINGUAS for the package.  The edge case here is that GDM is built with linguas either not supported or needed. Size difference is minimal, but would help catch anything from falling off.

Only difference between this ebuild and the original 40.0 is the addition of an inherit, PLOCALES variables, and calling `strip-linguas`. 

Reproducible: Sometimes

Steps to Reproduce:
This is a feature request with an attached ebuild. The ebuild command completes correctly with a limited LINGUAS flag set.
Actual Results:  
All /po and /docs `.po` linguas files get processed.

Expected Results:  
Limited /po and /docs `.po` matching system linguas get processed.
Comment 1 Rob MacKinnon 2021-06-21 03:25:30 UTC
Created attachment 717264 [details]
complete ebuild

Attachment of ebuild for review.
Comment 2 Matt Turner gentoo-dev 2021-07-23 19:54:52 UTC
NAK from leio (which I agree with). Just use INSTALL_MASK (see make.conf(5)).