Replacement of the localedef program
I am very pleased to announce the 2nd opus of my trilogy;
the belocs-locales-bin package contain a customized localedef
executable:
* It is build outside of the whole glibc tree, and is then
much easier to maintain.
* ISO codes are not hardcoded at compile-time, users can provide
their own updated files. This feature will be used by
belocs-locales-data to provide updated files when this is needed
for new (or modified) locales.
It also contains the locale binary, without any good reason except
that it has nothing to do within libc6 at the first place.
As belocs-locales-data, it is available at
deb http://people.debian.org/~barbier/belocs unstable main
deb-src http://people.debian.org/~barbier/belocs unstable main
but currently only for i386 (with sources).
Here is the changelog entry:
* Initial version, based upon glibc 2.3.3.
* Copy manual pages from Debian glibc.
* Grab upstream changes from CVS.
* Apply the following patches:
+ standalone_build
Fix compilation to build outside of glibc. Modified files only
are put in this patch to keep track of upstream changes.
+ revert_magic_2_3_2
Revert magic for data files to the value used by glibc 2.3.2 so
that generated locales can be read by glibc from sarge. It does
not seem to cause any trouble, but this is a workaround only, a
better solution will be implemented later on.
+ allow_duplicate_country_num
Sometimes countries are renamed but their country code is unchanged.
In order to help migrating from a locale to another, users may have
a chance to install both.
+ read_isocodes_at_run_time
If present, /etc/belocs/iso-3166.def and /etc/belocs/iso-639.def files
contain ISO codes which have to replace those provided at compilation
time. This allows users to define their own locales without
recompiling. This package will never provide such files, they will
be shipped by belocs-locales-data so that all data files belong to
the same package.
There is no such support yet for iso-4217.def.
+ debian-localedef-fix-trampoline
Import localedef-fix-trampoline.dpatch from Debian glibc, to fix
localedef segfault when run under exec-shield, PaX or similar.
Denis
Reply to: