[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] Avoiding incompatible locale data in LOCPATH
From: |
Ludovic Courtès |
Subject: |
[PATCH 0/2] Avoiding incompatible locale data in LOCPATH |
Date: |
Thu, 1 Oct 2015 23:58:34 +0200 |
So, below are a couple of patches implementing ideas that were discussed here
and on IRC to improve the locale mess.
The first patch adds the 'GUIX_LOCPATH' environment variable, the idea being
that on foreign distros, users could set this variable instead of 'LOCPATH',
and the host distro's programs wouldn't break.
The second patch was suggested by Mark. It basically adds "/2.22" to every
directory name specified in LOCPATH, as well as to the default locale
directory. The idea here is that libc would only stumble on compatible
locale data.
Actually with that second patch, I think 'GUIX_LOCPATH' is unneeded, because
effectively Guix's libc would already be interpreting 'LOCPATH' differently.
So my inclination would be to apply only the second one.
Thoughts?
I'd like to get that on 'core-updates' soon so we can quickly get the better
fix.
Thanks,
Ludo'.
Ludovic Courtès (2):
gnu: glibc: Honor 'GUIX_LOCPATH'.
gnu: glibc: Look for locale data in versioned sub-directories.
doc/guix.texi | 23 +++++++----
gnu-system.am | 2 +
gnu/packages/base.scm | 24 ++++++-----
gnu/packages/patches/glibc-guix-locpath.patch | 38 +++++++++++++++++
gnu/packages/patches/glibc-versioned-locpath.patch | 47 ++++++++++++++++++++++
5 files changed, 116 insertions(+), 18 deletions(-)
create mode 100644 gnu/packages/patches/glibc-guix-locpath.patch
create mode 100644 gnu/packages/patches/glibc-versioned-locpath.patch
--
2.5.0
- Re: Preparing for the libc/locale upgrade, Mark H Weaver, 2015/10/07
- Re: Preparing for the libc/locale upgrade, Federico Beffa, 2015/10/08
- Re: Preparing for the libc/locale upgrade, Konrad Hinsen, 2015/10/08
- Re: Preparing for the libc/locale upgrade, Ludovic Courtès, 2015/10/08
- Re: Preparing for the libc/locale upgrade, Federico Beffa, 2015/10/08
- [PATCH 0/2] Avoiding incompatible locale data in LOCPATH,
Ludovic Courtès <=
- Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH, Ricardo Wurmus, 2015/10/08
- Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH, Ricardo Wurmus, 2015/10/08
- Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH, Ludovic Courtès, 2015/10/08
- Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH, Mark H Weaver, 2015/10/08
- Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH, Ludovic Courtès, 2015/10/08
- Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH, Federico Beffa, 2015/10/08
- Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH, Ludovic Courtès, 2015/10/08
- Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH, Ludovic Courtès, 2015/10/08
- Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH, Federico Beffa, 2015/10/08
- Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH, Mark H Weaver, 2015/10/08