Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 390588 Details for
Bug 402691
app-text/po4a-0.41 doesn't honor LINGUAS for locale files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
po4a-0.45-r1.ebuild.patch
po4a-0.45-r1.ebuild.patch (text/plain), 1.25 KB, created by
Patrice Clement
on 2014-11-29 17:59:13 UTC
(
hide
)
Description:
po4a-0.45-r1.ebuild.patch
Filename:
MIME Type:
Creator:
Patrice Clement
Created:
2014-11-29 17:59:13 UTC
Size:
1.25 KB
patch
obsolete
>RCS file: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild,v >retrieving revision 1.2 >diff -r1.2 po4a-0.45-r1.ebuild >6a7,9 >> PLOCALES="af ca cs da de eo es et eu fr hr id it ja kn ko nb nl pl pt_BR pt ru sl sv uk vi zh_CN zh_HK" >> PLOCALES_BACKUP="en" >> >9c12 >< inherit perl-app >--- >> inherit perl-app perl-module l10n >35a39,64 >> >> src_prepare() { >> # Check against locale files in ${S}/pod/bin for mismatches >> # with languages listed in PLOCALES >> local locales_path="$S/po/bin" >> l10n_find_plocales_changes "$locales_path" "" ".po" >> >> # Array containing locale files to remove >> local locales_to_remove=( ) >> >> # Get rid of disabled locales >> my_get_disabled_locales() { >> local locale=$1 >> local locale_abs_path="$locales_path/$locale.po" >> locales_to_remove+=$locale_abs_path >> } >> >> l10n_for_each_disabled_locale_do my_get_disabled_locales >> >> einfo "Your LINGUAS contains the following locales: $LINGUAS" >> einfo "Removing locale files not listed in it ..." >> >> # perl_rm_files also updates the Manifest file >> # and therefore silences Perl as to .po files we're about to clean >> perl_rm_files "${locales_to_remove[@]}" >> }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 402691
: 390588