Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 797256

Summary: gnome-base/gdm-40.0: provide graceful L10N support
Product: Gentoo Linux Reporter: Rob MacKinnon <rob.mackinnon>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: rob.mackinnon
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: complete ebuild

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)).