Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add COPYING file with the GNU GPL2HEADmaster | Andreas K. Hüttel | 2023-05-12 | 1 | -0/+339 |
| | | | | | | | The code was originally taken from GNU glibc, and this license is what applies to the tools bundled with it. Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | Fix use of EROOT to be compatible with EAPI 7+locale-gen-2.23 | Bart Oldeman | 2023-03-21 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | EROOT no longer has a trailing slash, so replace it with "${EROOT%/}/" to avoid errors such as: /home/oldeman/eessi3/usr/sbin/locale-gen: line 168: /home/oldeman/eessi3usr/bin/localedef: No such file or directory * Unable to parse the output of your localedef utility. * File a bug about this issue and include the output of 'localedef --help'. in stage3.log when bootstrapping Gentoo Prefix. See also: https://mgorny.pl/articles/the-ultimate-guide-to-eapi-7.html#d-ed-root-eroot-no-longer-have-a-trailing-slash Closes: https://bugs.gentoo.org/883457 Signed-off-by: Bart Oldeman <bart.oldeman@calculquebec.ca> Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | document bash version requirementslocale-gen-2.22 | Mike Frysinger | 2021-09-27 | 1 | -1/+3 |
| | | | | | | | With bash-4.0 released in 2009, should be plenty of time to use its features. Especially with Gentoo requiring newer already. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | switch from tr to bash builtin ${var,,} | Mike Frysinger | 2021-09-27 | 1 | -3/+4 |
| | | | | | | This seems to speed things up. Or I'm lying to myself. Either way. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | fix hint about use of / in locale names | Mike Frysinger | 2021-09-27 | 1 | -4/+4 |
| | | | | | | | We checked $ret outside of the subshell where it was set, so this code never actually fired. Move it up to where it should work. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | add quotes around : ${...} defaults | Mike Frysinger | 2021-09-27 | 1 | -5/+5 |
| | | | | | | | In practice this shouldn't matter, but this makes shellcheck a bit happy in case of pathological globs in environment variables. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | delete unused CUTF_ADDED variable | Mike Frysinger | 2021-09-27 | 1 | -1/+0 |
| | | | | | | The code deleting its use forgot to clean up its decl. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | skip duplicate locales when normalized | Mike Frysinger | 2021-09-27 | 1 | -12/+21 |
| | | | | | | | | | | If you try to generate "en_US.UTF-8 UTF-8" and "en_US.UTF8 UTF-8", we end up generating the locale twice even though it normalizes down to the same value (or, in the case of --update, we skip the 1st and then always generate the 2nd). Keep track of all locales we've processed so we can dedupe as we go. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | omit more spam when in quiet mode | Mike Frysinger | 2021-09-27 | 1 | -2/+2 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | Ensure DESTDIR ends with a / | Andreas K. Hüttel | 2021-08-06 | 1 | -0/+1 |
| | | | | | Bug: https://bugs.gentoo.org/779790 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | omit spam when in quiet mode | Mike Frysinger | 2021-03-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | Fix error message if no locales are to be addedlocale-gen-2.10 | Andreas K. Hüttel | 2020-07-27 | 1 | -2/+5 |
| | | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | Further logic improvements | Andreas K. Hüttel | 2020-07-27 | 1 | -54/+60 |
| | | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | Rework C.UTF-8 insertion logic | Andreas K. Hüttel | 2020-07-26 | 1 | -16/+8 |
| | | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | Minor output fix | Andreas K. Hüttel | 2020-07-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | Remove incomplete, nonfunctional ROOT support | Andreas K. Hüttel | 2020-07-15 | 1 | -10/+7 |
| | | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | Drop useless old cvs version information | Andreas K. Hüttel | 2020-07-15 | 1 | -5/+2 |
| | | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | locale-gen: remove --force option from localedef calllocale-gen-2.00 | Andreas K. Hüttel | 2020-05-12 | 1 | -1/+1 |
| | | | | | | Originally 9231f507d365b6d81ccae618aaeca27076b92164, gentoo/glibc-9999-15 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | locale-gen: add trigger variable for compiled-locales and warning to locale-gen | Andreas K. Hüttel | 2020-05-12 | 1 | -0/+11 |
| | | | | | | Originally ab05be2e3957ccbec1279124f7da51c0a602fdea, gentoo/glibc-9999-14 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | locale-gen: Add switch to force use of newly built ld.so for glibc updates | Andreas K. Hüttel | 2020-05-12 | 1 | -11/+44 |
| | | | | | | Originally 6f89339308241bceb5194a200c99002e6c75dbb6, gentoo/glibc-9999-11 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | locale-gen: do not touch locale-archive when no locales requested in config | Andreas K. Hüttel | 2020-05-12 | 1 | -2/+14 |
| | | | | | | Originally 3179a4df4ea81aa9116b70e2a064f55da65d13e8, gentoo/glibc-9999-10 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | locale-gen: Always build the C.UTF-8 locale (which we now patch in) | Andreas K. Hüttel | 2020-05-12 | 1 | -2/+6 |
| | | | | | | Originally f2ed15510fd0f7b9bcc923e24efd2681aacd0d5f, gentoo/glibc-9999-9 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | locale-gen: suppress ignored error when emptying already empty directory | Andreas K. Hüttel | 2020-05-12 | 1 | -1/+1 |
| | | | | | | | Originally aba214da1a265afe4dfa3b52bc356275a275a9aa, gentoo/glibc-9999-6 Closes: https://bugs.gentoo.org/647188 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> | ||||
* | glibc: make locale-gen parallel, bug #592300 | slyfox | 2017-08-12 | 1 | -10/+29 |
| | | | | | | | Speed up locale generation on multicore machines. Patch is written by Tobias Klausmann. Bug: https://bugs.gentoo.org/592300 | ||||
* | locale-gen: fix wait logic to not double increment job counter | vapier | 2015-10-14 | 1 | -2/+2 |
| | |||||
* | locale-gen: default --jobs to ncpus online | vapier | 2015-10-14 | 1 | -2/+6 |
| | |||||
* | drop support for /etc/locales.build | vapier | 2015-08-29 | 1 | -51/+5 |
| | |||||
* | locale-gen: detect non-unique locale names #235555 | vapier | 2015-08-29 | 1 | -4/+4 |
| | |||||
* | improve documentation greatly #235555 | vapier | 2015-08-29 | 2 | -15/+48 |
| | |||||
* | document the format of the -G option | vapier | 2015-08-29 | 1 | -1/+3 |
| | |||||
* | detect & warn & filter out duplicate locale generation entries #550884 by ↵ | vapier | 2015-07-21 | 1 | -2/+12 |
| | | | | Toralf Förster | ||||
* | extra/locale/locale-gen: source /lib/gentoo/functions.sh, bug #478764 | blueness | 2014-12-28 | 1 | -3/+4 |
| | |||||
* | locale-gen: write out localedef error messages when in quiet mode | vapier | 2014-06-13 | 1 | -2/+6 |
| | |||||
* | locale-gen: use $# when processing positional args | vapier | 2014-06-13 | 1 | -3/+3 |
| | |||||
* | add prefix support #473484 by Benda Xu | vapier | 2013-07-01 | 1 | -10/+20 |
| | |||||
* | avoid empty echo when running in quiet mode | vapier | 2011-12-13 | 1 | -2/+2 |
| | |||||
* | simplify job handling a bit by always using it -- 1 job is simply a special ↵ | vapier | 2011-11-20 | 1 | -64/+35 |
| | | | | case of N jobs | ||||
* | make sure we pass along --no-archive when people request no-locale-archive ↵ | vapier | 2011-09-15 | 1 | -1/+3 |
| | | | | in the config file | ||||
* | use simpler default variable initialization | vapier | 2011-09-15 | 1 | -4/+4 |
| | |||||
* | clarify implicit --keep/--update when using --generate | vapier | 2011-08-17 | 2 | -3/+3 |
| | |||||
* | dont show error if config file doesnt exist | vapier | 2008-09-07 | 1 | -2/+2 |
| | |||||
* | rework job handling so we dont lose status information #204299 | vapier | 2008-03-23 | 1 | -12/+19 |
| | |||||
* | simplify version handling a little | vapier | 2008-03-23 | 1 | -4/+3 |
| | |||||
* | generate a locale-archive by default ... this is much slower at build time ↵ | vapier | 2007-12-29 | 3 | -4/+36 |
| | | | | as it cannot be done in parallel, but it is much faster at runtime #187658 | ||||
* | throw out the old manpage and write a new one that doesnt suck from scratch | vapier | 2007-08-06 | 1 | -102/+67 |
| | |||||
* | add a --generate <locale> option for quick one-shot testing | vapier | 2007-07-22 | 1 | -15/+20 |
| | |||||
* | flesh out support for DESTDIR | vapier | 2007-01-29 | 1 | -18/+20 |
| | |||||
* | add support for -j# syntax | vapier | 2007-01-29 | 1 | -1/+3 |
| | |||||
* | tweak --update behavior to remove existing locales that the user did not specify | vapier | 2007-01-29 | 1 | -11/+31 |
| | |||||
* | if locale failed to generate and it has a / in it, chances are the user ↵ | vapier | 2007-01-26 | 1 | -1/+6 |
| | | | | messed up their locale.gen so lets display a helpful message |