[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1012041: marked as done (KeyboardNames.pl is out-of-sync with xkeyboard-config)



Your message dated Tue, 18 Oct 2022 15:34:15 +0000
with message-id <E1okobf-00BGzD-9a@fasolo.debian.org>
and subject line Bug#1012041: fixed in console-setup 1.211
has caused the Debian Bug report #1012041,
regarding KeyboardNames.pl is out-of-sync with xkeyboard-config
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1012041: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012041
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: console-setup
Version: 1.205
Severity: normal

Problem symptom:
I was looking at "dpkg-reconfigure keyboard-configuration" under
Japanese locale and testing.  Although Generic 101 and 104 keyboards are
translated properly, Generic 102 and 105 keyboards were not translated
properly.

Resolution proposal:
Please place some kind of version skew avoidance measure by specifying
xkb-data as binary dependence with exact version value for
keyboard-configuration.  This dependency is because of gettext/po data
used.

Technical analysis:
As I looked into problem, kbdnames-maker + KeyboardNames.pl was using po
from xkeyboard-config:

  my $mo (</usr/share/locale/*/LC_MESSAGES/xkeyboard-config.mo>)

As I checked xkeyboard-config.po, its string obtained for msgid for 102
and 105 keyboards has been changed.  If we want to fix this issue,
KeyboardNames.pl needs to be updated at least:

```
$ diff -u KeyboardNames.pl.orig KeyboardNames.pl
--- KeyboardNames.pl.orig	2022-05-29 14:36:14.940304836 +0900
+++ KeyboardNames.pl	2022-05-29 15:02:29.524014093 +0900
@@ -71,10 +71,10 @@
     'FL90' => 'compalfl90',
     'Fujitsu-Siemens Amilo laptop' => 'fscaa1667g',
     'Generic 101-key PC' => 'pc101',
-    'Generic 102-key PC' => 'pc102',
+    'Generic 102-key (Intl) PC' => 'pc102',
     'Generic 104-key PC' => 'pc104',
     'Generic 104-key PC with L-shaped Enter key' => 'pc104alt',
-    'Generic 105-key PC' => 'pc105',
+    'Generic 105-key (Intl) PC' => 'pc105',
     'Generic 86-key PC' => 'pc86',
     'Genius Comfy KB-12e' => 'geniuscomfy',
     'Genius Comfy KB-16M/Multimedia KWD-910' => 'genius',
```

But this KeyboardNames.pl is a generated file so simple patch is not the
answer.  This file is generated by console-setup/Keyboard/Makefile .

Testing had old console-setup from Nov./2021 while xkb-data was updated
in April (testing migration on 2022-04-10)

Of course, console-setup 1.208 (uploaded to unstable on 2022-05-26)
solve the issue when it reaches testing in a few days this time. (But
this was broken for about a month unnoticed.)

It would be nice if we can avoid this version skew to happen in testing
by adding binary package dependency for PO file.

Regards,

Osamu


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.17.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages keyboard-configuration depends on:
ii  debconf                 1.5.79
ii  liblocale-gettext-perl  1.07-4+b2

Versions of packages console-setup-linux depends on:
ii  init-system-helpers     1.63
ii  kbd                     2.3.0-3
ii  keyboard-configuration  1.207

console-setup-linux suggests no packages.

Versions of packages console-setup is related to:
pn  console-common        <none>
pn  console-data          <none>
pn  console-tools         <none>
ii  gnome-control-center  1:42.1-2
ii  kbd                   2.3.0-3
ii  systemd               250.4-1

--- End Message ---
--- Begin Message ---
Source: console-setup
Source-Version: 1.211
Done: Samuel Thibault <sthibault@debian.org>

We believe that the bug you reported is fixed in the latest version of
console-setup, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012041@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated console-setup package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 18 Oct 2022 17:14:22 +0200
Source: console-setup
Architecture: source
Version: 1.211
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Closes: 1012041
Changes:
 console-setup (1.211) unstable; urgency=medium
 .
   * Team upload.
 .
   * rules: get version from xkb-data.
   * control: make keybor-configuration depend on the same xkb-data version as
     during build, to make sure we have a coherent set of items in
     KeyboardNames.pl. Closes: #1012041
Checksums-Sha1:
 cc77d1a9861a4897d18c8e5f1c6190d4538450fa 3209 console-setup_1.211.dsc
 fd8923806321348036a404e4d39ccb5e79c28f95 1795280 console-setup_1.211.tar.xz
 14d08c8c6a14dc6911fce0a710224ad16d4a68fb 8945 console-setup_1.211_source.buildinfo
Checksums-Sha256:
 ea29a42e887d60d6161c661a3c04fca10c3c3db13a8de372d33b13dec181650e 3209 console-setup_1.211.dsc
 298de99c8f135c461b0f72eca3376c090e5f86669b35c0b31377674854512125 1795280 console-setup_1.211.tar.xz
 a892fb2ffddb874887e3ad36eeaa52b8d12eedcacd4f19749c3bcd6c2cec3f0f 8945 console-setup_1.211_source.buildinfo
Files:
 fb5467ed6b8d82850fbf6287f7fdeb79 3209 utils optional console-setup_1.211.dsc
 3a065b02be093df54d5b9b381221cc63 1795280 utils optional console-setup_1.211.tar.xz
 84719fa4c9fff67e55703a3d86f2066f 8945 utils optional console-setup_1.211_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCgAzFiEEZTSF1IMOAGwT71n/aHTOWK4tfj8FAmNOxLsVHHN0aGliYXVs
dEBkZWJpYW4ub3JnAAoJEGh0zliuLX4/0kwP/RAF3nTRDpVguvG/WsS/x6fwgWAj
VXAIUQKfND6JfRoRRcX0Kk2eHe9Lmm0RSTG9XLeCiplR/Qtkc3WHet+qu3Dm2wjg
APfFc2L111l9sjafvN0z6PJEjNvPtjW7zPCykTZ4rO5uQOw8LHrFcpNm8uRRGgO6
HJBqVuos6+5e0CqZJhnHfoveu9LMXlYgy/Oxt3SqMgDZXlTT5bAmcAfO6dESu7nJ
uuPRSYhEH/uyzuYZZHTOkAKnk8GyydpPBWdJDxp9zcC5mwgVsS3fHIwGRrzStsc3
z+Szf2+PWv3wIO0lJeTHrcLdEIILkCzSKQhvIwL8dwKq4By3JgFm4OwrwD3D/bS1
C8ojmp8mSjAOynEhgheoaZMIOickXMD6kGAgvZiZe3RB7lrk+SRDmKKIrViMlx7Q
PFrBSnoKMM4Dyu7LIKb/G6UaHPvki4L1hC4NpntTm3qcMKjz9+IOMpknbeqWaUPG
ftEQs+1eBbF+4uhLVD0JhcTscRpSFMWehxUfdb17XRz1Pz+3TB5xEWFg40dNOafV
6hY5VrukmtmCW0VdYxZaDqZ9INa1Br1BpOoMtQwCkYEdT27WnxEQ2mURzji6aVov
Adt26KGaCS+99EvBSP9r3c19TuWu2jAaFjYyETl8vej9b/Wsa+iS5tjrn84YSY54
uTwG/PLUKZ9mtUzB
=VQIk
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: