Bug#1066887: locales/locale-gen: Locales Cannot Copy from Locales in /usr/local/share/i18n/locales

2024-03-14 Thread M. Buecher
Package: locales Version: 2.36-9+deb12u4 Severity: important Tags: l10n X-Debbugs-Cc: maddes+deb...@maddes.net Dear Maintainer, referencing a custom locale that resides in /usr/local/share/i18n/loaces/ via "copy" doesn't work. `dpkg-reconfigure locales` gives the following error message: en_GB.

Bug#793368: Updating /etc/default/locale doesn't update debconf selections during dpkg-reconfigure

2024-03-14 Thread M. Buecher
This bug still exits in Debian 12 "Bookworm" File: /var/lib/dpkg/info/locales.config Line: 371 The logic has to be inverted to work as intended. Please fix Matthias Bücher

Bug#1066887: Patch for locale-gen

2024-03-15 Thread M. Buecher
diff --git a/debian/local/usr_sbin/locale-gen b/debian/local/usr_sbin/locale-gen index 7fa3d772..1711a4f0 100755 --- a/debian/local/usr_sbin/locale-gen +++ b/debian/local/usr_sbin/locale-gen @@ -23,6 +23,12 @@ is_entry_ok() { fi } +if [ -z "${I18NPATH:-}" ]; then + if [ -d "${USER_LOCA

Bug#1066887: ENhance Patch for local-gen

2024-03-15 Thread M. Buecher
Adding / back to end of the path, so that a locale file is immediately found. diff --git a/debian/local/usr_sbin/locale-gen b/debian/local/usr_sbin/locale-gen index 7fa3d772..1711a4f0 100755 --- a/debian/local/usr_sbin/locale-gen +++ b/debian/local/usr_sbin/locale-gen @@ -23,6 +23,12 @@ is_entry_o

Bug#1066887: Patch not sufficient

2024-03-15 Thread M. Buecher
Unfortunately enhancing `locale-gen` doesn't work during an package update via apt: ... Setting up locales (2.36-9+deb12u4) ... Generating locales (this might take a while)...   en_US.UTF-8... done   en_DE.UTF-8@INTL...[error] cannot open locale definition file `en_US@INTL': No such file or dir

Bug#793368: Patch for debian/debhelper.in/locales.config - POSIX style

2024-03-16 Thread M. Buecher
Here's a working and POSIX compatible patch for locales.config. Kind regards Matthias diff --git a/debian/debhelper.in/locales.config b/debian/debhelper.in/locales.config index b9620bf7..21f96d3d 100644 --- a/debian/debhelper.in/locales.config +++ b/debian/debhelper.in/locales.config @@ -51,7 +5

Bug#1066887: Patch not sufficient

2024-03-16 Thread M. Buecher
Sorry, that was nonsense (assuming I was too tired), of course my local patch is overwritten by a package update. On Fri, 15 Mar 2024 18:54:42 +0100 "M. Buecher" wrote: > Unfortunately enhancing `locale-gen` doesn't work during an package > update via apt: > > ...

Bug#1066887: ENhance Patch for local-gen

2024-04-09 Thread M. Buecher
On 2024-04-09 23:49, Aurelien Jarno wrote: Hi, On 2024-03-15 16:13, M. Buecher wrote: Adding / back to end of the path, so that a locale file is immediately found. diff --git a/debian/local/usr_sbin/locale-gen b/debian/local/usr_sbin/locale-gen index 7fa3d772..1711a4f0 100755 --- a/debian