sys-apps / locale-gen

Generate locales based upon the config file /etc/locale.gen

Official package sites : https://gitweb.gentoo.org/proj/locale-gen.git/ ·

v9999 :: 0 :: gentoo

Modified
License
GPL-2

v3.9-r1 :: 0 :: gentoo

Modified
License
GPL-2
Keywords
amd64 arm64 ppc ppc64 x86 ~alpha ~arm ~hppa ~loong ~m68k ~mips ~riscv ~s390 ~sparc

v3.8 :: 0 :: gentoo

Modified
License
GPL-2
Keywords
amd64 arm arm64 ppc ppc64 x86 ~alpha ~hppa ~loong ~m68k ~mips ~riscv ~s390 ~sparc

dev-lang / perl : Larry Wall's Practical Extraction and Report Language

965452
sys-apps/locale-gen: consider 3.9-r1 for stabilisation
Repository mirror & CI · gentoo
Merge updates from master
Kerin Millar · gentoo
sys-apps/locale-gen: drop 2.23-r1
I think that the 2.x series can be safely retired at this point. Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
sys-apps/locale-gen: Stabilize 3.9-r1 ppc64, #965452
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
sys-apps/locale-gen: Stabilize 3.9-r1 amd64, #965452
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
sys-apps/locale-gen: Stabilize 3.9-r1 x86, #965452
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
sys-apps/locale-gen: Stabilize 3.9-r1 ppc, #965452
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Arthur Zamarin · gentoo
sys-apps/locale-gen: Stabilize 3.9-r1 arm64, #965452
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Kerin Millar · gentoo
sys-apps/locale-gen: add 3.9-r1
Kerin Millar (1): Suppress bash warnings regarding setlocale(3) failures This annoyance was insufficient to justify a new release, yet worth backporting. Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Kerin Millar · gentoo
sys-apps/locale-gen: Apply the fix for bug #964382 to r9999
Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Kerin Millar · gentoo
sys-apps/locale-gen: add 3.9
Kerin Millar (19): Simplify the can_run() subroutine Validate the config strictly against the SUPPORTED file Produce short-form aliases for a subset of valid locales Disclose which locales are granted short-form aliases Compose the "Compiling locale" message in a neater way Jettison the @fields variable from parse_config() Use \K where replacing "UTF8" in $charmap Introduce the print_warning() helper subroutine Warn if a locale not incorporating a codeset is in effect Only check the effective locale for a --prefix of "/" Issue guidance tailored to either of systemd or openrc Check whether --prefix refers to / in a more reliable way Avoid the invocation of a shell in is_eq_file() Rename the @canonicals parameter to @names Shorten a comment in parse_entry() Drop a superfluous conditional from parse_entry() locale.gen.5: amend the EXAMPLES section Eliminate a postfix conditional in generate_archive() Bump $VERSION to 3.9 Bug: https://bugs.gentoo.org/963974 Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Kerin Millar · gentoo
sys-apps/locale-gen: Run mkconfig only where SUPPORTED can be found
The mkconfig utility is used to incorporate commented examples of every supported glibc locale into the /etc/locale.gen file. However, there are sitautions in which the SUPPORTED file will not be present, such as where cross-compiling from a musl environment. For now, address this issue by only running mkconfig in the case that the SUPPORTED file is found to exist. Closes: https://bugs.gentoo.org/964382 Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
sys-apps/locale-gen: Stabilize 3.8 ppc64, #963046
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
sys-apps/locale-gen: Stabilize 3.8 ppc, #963046
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
sys-apps/locale-gen: Stabilize 3.8 arm, #963046
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
sys-apps/locale-gen: Stabilize 3.8 arm64, #963046
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
sys-apps/locale-gen: Stabilize 3.8 amd64, #963046
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
sys-apps/locale-gen: Stabilize 3.8 x86, #963046
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
sys-apps/locale-gen: drop 3.4, 3.7
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Kerin Millar · gentoo
sys-apps/locale-gen: add 3.8
Kerin Millar (7): Capture STDERR with a piped open in generate_archive() Drop the $mode parameter of the fopen() subroutine Have list_locales() call close to wait for the child Shorten a comment in generate_locales() Have generate_archive() accept undef to signify no prior archive Tolerate a codeset/charmap of "UTF8" (for now) Bump $VERSION to 3.8 Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Kerin Millar · gentoo
sys-apps/locale-gen: add 3.7
Kerin Millar (2): Disregard chcon(1) errors caused by ENOTSUP Bump $VERSION to 3.7 Bug: https://bugs.gentoo.org/962824 Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Kerin Millar · gentoo
sys-apps/locale-gen: drop 3.5 and 3.6
Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Kerin Millar · gentoo
sys-apps/locale-gen: add 3.6
Kerin Millar (12): Delete interim archives for which installation fails Don't directly unlink $interim_path if renaming fails Introduce the install_archive() subroutine Remove a stray newline Relieve run_localedef() of the duty of incorporating the --prefix option Refrain from passing the --replace option to localedef(1) Simplify a comment in the main block Drop the run_localedef() subroutine Ignore findmnt(8) exiting 1 where / is not a mountpoint Revert "Ignore findmnt(8) exiting 1 where / is not a mountpoint" Ignore findmnt(8) exiting 1 where / is not a mountpoint Bump $VERSION to 3.6 Signed-off-by: Kerin Millar <kfm@plushkava.net> Bug: https://bugs.gentoo.org/962817 Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Kerin Millar · gentoo
sys-apps/locale-gen: add 3.5
Kerin Millar (6): Introduce the basename() helper subroutine Add support for preserving/restoring SELinux contexts Drop the locale.gen file locale-gen.8: Don't imply that option bundling is supported locale-gen.8: Don't subject "LOCALEGEN_CONFIG" to word-breaking Bump $VERSION to 3.5 Signed-off-by: Kerin Millar <kfm@plushkava.net> Bug: https://bugs.gentoo.org/962753 Signed-off-by: Sam James <sam@gentoo.org>
Kerin Millar · gentoo
sys-apps/locale-gen: drop 3.2-r1 and 3.3-r1
Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
*/*: destable sparc
Result of running the command: grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Arthur Zamarin · gentoo
*/*: destable hppa
Result of running the command: grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]hppa' -l | xargs ekeyword ~hppa Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Kerin Millar · gentoo
sys-apps/locale-gen: prefixify in a consistent way for >=3.2-r1
The 3.4 ebuild introduced a slightly more refined expression for prefixifying the shebang in src_prepare(). Align the other ebuilds accordingly. Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Kerin Millar · gentoo
sys-apps/locale-gen: add 3.4
Kerin Millar (31): Introduce the mkconfig utility mkconfig: protect against BASH_ENV being set mkconfig: capture basename directly in map_locale_attributes() mkconfig: don't transliterate paths in map_locale_attributes() mkconfig: marginally simplify the territory cleanup code mkconfig: replace "Russian Federation" with "Russia" mkconfig: don't operate on refs of $language and $territory locale-gen.8: replace "-d, --prefix" with "-p, --prefix" Let the config be set by LOCALEGEN_CONFIG in the environment Ensure that locales/charmaps are opened relative to the prefix Report the file from which the locales are chosen mkconfig: capitalise first letter of territory *after* decoding Claim to be compiling "locales" rather than "locale definition files" mkconfig: always decode the locale files as UTF-8 mkconfig: ensure column(1) considers its input stream as US-ASCII mkconfig: use read_lines() to read the SUPPORTED file Support charmaps compressed with bzip2 Clarify the behaviour of the --prefix option in run_localedef() Clarify a comment preceding the setting of I18NPATH Simplify an exit call Simplify the render_printable() subroutine Don't bother loading and using List::Util Reduce the extent to which render_printable() is used Refrain from calling POSIX::setlocale() Specify the /n regex modifier where appropriate Have render_printable() load JSON::PP on demand Compose an array of canonicals before passing to generate_archive() Refine the wording of the comment preceding I18NPATH assignment locale-gen.8: mention locales and charmaps under FILES locale-gen.8: document the behaviour of "-" as a -c option-arg Bump $VERSION to 3.4 Closes: https://bugs.gentoo.org/785406 Closes: https://bugs.gentoo.org/961109 Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Kerin Millar · gentoo
sys-apps/locale-gen: add 3.2-r1 and 3.3-r1 and revise 9999 per bug #961743
Upon locale-gen-3.0 being introduced, the ebuild lost the ability to prefixify the locale-gen script in src_prepare(). Address this issue so that the shebang is properly adjusted for Gentoo Prefix environments. I eschewed the use of the prefix eclass because I consider its implementation to be substandard. I also eschewed the use of sed(1) because it encourages pattern injection and seldom returns a useful exit status. Instead, perl is used to replace the shebang. I could think of no reason not to, given that dev-lang/perl is already a requirement. Reported-by: Nick Bowler <nbowler@draconx.ca> Fixes: ecc3beb504587ee532156b4f3f1c82edfd6bf87f Closes: https://bugs.gentoo.org/961743 Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Kerin Millar · gentoo
sys-apps/locale-gen: integrate the mkconfig util into 9999
The locale-gen repo now carries the mkconfig utility. It writes a sample /etc/locale.gen file to standard output as a columnated list, consisting only of UTF-8 locales supported by the installed version of glibc, with comments indicating the languages and territories in plain English. Have the src_install() function of the live ebuild take advantage of it. [sam: Note that this introduces a BDEPEND (but not an RDEPEND) on dev-perl/File-Slurper. If this is unacceptable to someone, please file a bug explaining why and we can discuss.] Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
sys-apps/locale-gen: add 3.3
Kerin Millar (28): Have the --help option reference the man pages locale-gen.8: Add an EXIT STATUS section Disambiguate a mismatching codeset/charmap as a class of error locale.gen.5: Correct the locale name synopsis per XPG Issue 4 Report the username if $locale_dir cannot be modified Ensure that get_valid_locales() restores the current working directory Delegate config file selection wholly to a new subroutine Allow for locale declarations to have trailing comments locale.gen: Annotate the entries with descriptive trailing comments locale.gen.5: remove a stray blank line Eliminate all unescaped line continuations from the man pages locale.gen: refine the annotations Report the size of the installed archive Correct a typo where $total is assigned Refrain from unsetting the CDPATH environment variable Use ($CHILD_ERROR & 0x7F) to check for death by signal Better align the behaviour of normalize() with localedef(1) Don't call parse_config() from a try block in read_config() Don't report more workers than there are locales to be compiled Link to spdx.org from the output of --version locale.gen.5: remove a stray leading space locale.gen.5: document /usr/share/i18n/{locales,charmaps} locale.gen.5: clarify the means by which a locale can be effected locale.gen.5: define what a locale is under LOCALE NAMES locale.gen.5: reference several specifications from SEE ALSO Assign TEMPDIR in the main block rather than enter_tempdir() Reformat a comment in the normalize() subroutine Bump $VERSION to 3.3 Closes: https://bugs.gentoo.org/961471 Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
sys-apps/locale-gen: add 3.2, drop 3.1
Kerin Millar (4): locale-gen.8: position the FILES section before AUTHORS locale.gen.5: correct a Japanese locale typo in the EXAMPLES section Coerce LC_ALL=C for localedef(1) in get_locale_dir() Bump $VERSION to 3.2 Closes: https://bugs.gentoo.org/961219 Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
sys-apps/locale-gen: drop 3.0
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
sys-apps/locale-gen: keyword 3.1
Closes: https://bugs.gentoo.org/961207 Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
sys-apps/locale-gen: depend on >=perl-5.36
Bug: https://bugs.gentoo.org/961207 Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
sys-apps/locale-gen: add 9999
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
sys-apps/locale-gen: add 3.1
Kerin Millar (33): Initial commit of locale-gen 3.0, rewritten in Perl Remove a stray leading tab from an otherwise empty line Refrain from passing $prefix to the generate_locales sub Rewrap a comment in the parse_config sub Speed up the trim_line sub by approximately 25% Only check the prospective archive dir once there is work to be done Render compatible with the compile-locales USE flag of sys-libs/glibc Drop the is_eq_file subroutine Attempt to create the archive directory, if missing locale-gen.8: remove references to options that have been dropped locale-gen.8: update the AUTHORS section locale-gen.8: rewrite in the style that a technical writer might locale.gen: show only UTF-8 based locales as commented examples Improve the diagnostic where /usr/share/i18n/locales cannot be entered Require either a null string or an absolute path for --prefix Claim that glibc is absent where localedef(1) output cannot be parsed locale.gen.5: remove the OPTIONS section locale-gen.8: escape the hyphen character where appropriate locale-gen.8: eliminate blank lines locale-gen.8: use the TP macro to structure the FILES section locale-gen.8: remove "<" and ">" from option-args locale-gen.8: add full stops (periods) where appropriate locale-gen.8: add a SYNOPSIS section locale-gen.8: write "central archive" instead of "single archive" locale-gen.8: reference locale.conf(5) in SEE ALSO locale-gen.8: remove an unnecessary use of the word, shall locale-gen.8: use the .MT and .ME macros to format email addresses locale-gen.8: use the .UR and .UE macros to format hyperlinks locale-gen.8: spell out /etc/locale.gen directly under DESCRIPTION locale.gen.5: rewrite entirely locale.gen: remove the comments masquerading as documentation Allow for options to be parsed before aborting for a foreign libc Bump $VERSION to 3.1 Sam James (1): Revert "Initial commit of Perl-based locale-gen" Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andreas K. Hüttel · gentoo
sys-apps/locale-gen: add 3.0
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
*/*: unkeyword ~ia64
Change was created by running the following command:: ekeyword ^ia64 */*/*.ebuild Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
sys-apps/locale-gen: Stabilize 2.23-r1 sparc, #907241
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Arthur Zamarin · gentoo
sys-apps/locale-gen: Stabilize 2.23-r1 ppc64, #907241
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Arthur Zamarin · gentoo
sys-apps/locale-gen: Stabilize 2.23-r1 ppc, #907241
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
sys-apps/locale-gen: Stabilize 2.23-r1 arm64, #907241
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Arthur Zamarin · gentoo
sys-apps/locale-gen: Stabilize 2.23-r1 arm, #907241
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Arthur Zamarin · gentoo
sys-apps/locale-gen: Stabilize 2.23-r1 x86, #907241
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
sys-apps/locale-gen: Stabilize 2.23-r1 hppa, #907241
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
sys-apps/locale-gen: Stabilize 2.23-r1 amd64, #907241
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andreas K. Hüttel · gentoo
sys-apps/locale-gen: use app-alternatives/gzip
Closes: https://bugs.gentoo.org/906243 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andreas K. Hüttel · gentoo
sys-apps/locale-gen: keyword 2.23
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andreas K. Hüttel · gentoo
sys-apps/locale-gen: remove errorneous dependency
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andreas K. Hüttel · gentoo
sys-apps/locale-gen: Adjust dependencies
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andreas K. Hüttel · gentoo
sys-apps/locale-gen: needs gentoo-functions
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andreas K. Hüttel · gentoo
sys-apps/locale-gen: New package, splitting out of glibc
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>