Your message dated Wed, 02 May 2007 05:32:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#420824: fixed in console-setup 1.16
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: console-setup
Version: 1.15
Severity: normal
Tags: patch

Sorry, it was pretty fiddly to split these out into multiple patches. I
think this is probably more intelligible as a unit anyway.

Brazilian keyboards need to use the abnt2 keyboard model
(https://launchpad.net/bugs/66774). It would be a lot simpler if
console-setup would change the model for you if you try to use pc105;
this also means that it's possible to configure a Brazilian keyboard
correctly at a debconf priority where the model question isn't displayed
(e.g. d-i outside expert mode).

Similarly, Japanese keyboards need to use the jp106 keyboard model
(https://launchpad.net/bugs/66719).

Japanese users apparently prefer jp(latin),jp over us,jp
(https://launchpad.net/bugs/63915). This requires special cases in
various places in console-setup similar to those already present for
Czech; I just extended them in the obvious ways.

Apparently keycode 133 should be mapped to AT scancode 124 for Japanese
keyboards, otherwise they can't use the backslash key
(https://launchpad.net/bugs/97466). Jun Kobayashi submitted a patch for
this. While I can't find an authoritative reference confirming it, it
doesn't seem unreasonable.

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]
diff -Nru /tmp/0sP5oNcslC/console-setup-1.13/Keyboard/ckbcomp /tmp/7b6qVlOkaE/console-setup-1.13ubuntu14/Keyboard/ckbcomp
--- /tmp/0sP5oNcslC/console-setup-1.13/Keyboard/ckbcomp	2006-10-24 19:12:48.000000000 +0100
+++ /tmp/7b6qVlOkaE/console-setup-1.13ubuntu14/Keyboard/ckbcomp	2007-04-04 15:58:22.000000000 +0100
@@ -2889,7 +2889,7 @@
     128 => -1,  # fake key
     129 => -1,  # Japanese
     131 => -1,  # Japanese
-    133 => -1,  # Japanese
+    133 => 124, # Japanese
     134 => 121, # Brasilian ABNT2
     144 => -1,  # Japanese
     156 => -1,  # fake key
diff -Nru /tmp/0sP5oNcslC/console-setup-1.13/Keyboard/kbdcompiler /tmp/7b6qVlOkaE/console-setup-1.13ubuntu14/Keyboard/kbdcompiler
--- /tmp/0sP5oNcslC/console-setup-1.13/Keyboard/kbdcompiler	2006-09-28 08:00:03.000000000 +0100
+++ /tmp/7b6qVlOkaE/console-setup-1.13ubuntu14/Keyboard/kbdcompiler	2007-03-17 00:16:58.000000000 +0000
@@ -25,7 +25,7 @@
 
 # Don't forget to update also the list in config.proto
 my $nonlatin = ' am ara ben bd bg bt by deva ge gh gr guj guru \
-                 il in ir iku jp kan kh la lao lk mk mm mn mv mal \
+                 il in ir iku kan kh la lao lk mk mm mn mv mal \
                  ori pk ru scc sy syr tel th tj tam ua uz ';
 
 my %keymaps;
@@ -67,11 +67,13 @@
     next if ($layout eq 'nec_vndr/jp');
     my $actual_layout = (($layout eq 'cs')
 			 ? 'cs,cs'
-			 : (($nonlatin =~ / $layout /)
-			    ? "us,$layout"
-			    : $layout));
+			 : (($layout eq 'jp')
+			    ? 'jp,jp'
+			    : (($nonlatin =~ / $layout /)
+			       ? "us,$layout"
+			       : $layout)));
     if (! -f "$dir/$model-$layout") {
-	if ($layout eq 'cs') {
+	if ($layout eq 'cs' or $layout eq 'jp') {
 	    execute ("./ckbcomp -compact -I. -I${xkbdir} -rules xorg"
 		     ." -model $model"
 		     ." -layout $actual_layout -variant latin,"
@@ -98,6 +100,8 @@
 	    } else {
 		$actual_variant = "latin,$variant";
 	    }
+	} elsif ($actual_layout eq 'jp,jp') {
+	    $actual_variant = "latin,$variant";
 	} elsif ($actual_layout =~ /,/) {
 	    $actual_variant = ",$variant";
 	} else {
diff -Nru /tmp/0sP5oNcslC/console-setup-1.13/debian/config.proto /tmp/7b6qVlOkaE/console-setup-1.13ubuntu14/debian/config.proto
--- /tmp/0sP5oNcslC/console-setup-1.13/debian/config.proto	2006-11-13 16:55:11.000000000 +0000
+++ /tmp/7b6qVlOkaE/console-setup-1.13ubuntu14/debian/config.proto	2007-04-13 08:42:16.000000000 +0100
@@ -1053,7 +1053,7 @@
 	gb) XKBLAYOUT="gb";;
 	is) XKBLAYOUT="is";;
 	it) XKBLAYOUT="it";;
-	jp106) XKBLAYOUT="jp"; XKBVARIANT="jp106";;
+	jp106) XKBLAYOUT="jp"; XKBVARIANT="jp106"; XKBMODEL="jp106";;
 	la) XKBLAYOUT="latam";;
 	lt) XKBLAYOUT="lt";; 
 	lv-latin4) XKBLAYOUT="lv";;
@@ -1099,6 +1099,9 @@
 	    layout_priority=high
 	    ;;
 	*)
+	    if [ "$XKBMODEL" ]; then
+		default_model="$XKBMODEL"
+	    fi
 	    default_layout="$XKBLAYOUT"
 	    default_variant="$XKBVARIANT"
 	    layout_priority=medium
@@ -1120,7 +1167,7 @@
 
     case "$XKBLAYOUT" in
 	# TODO: make s.t. to not forget to update this list
-	cs,cs|us,am|us,ara|us,ben|us,bd|us,bg|us,bt|us,by|us,deva|us,ge|us,gh|us,gr|us,guj|us,guru|us,il|us,in|us,ir|us,iku|us,jp|us,kan|us,kh|us,la|us,lao|us,lk|us,mk|us,mm|us,mn|us,mv|us,mal|us,ori|us,pk|us,ru|us,scc|us,sy|us,syr|us,tel|us,th|us,tj|us,tam|us,ua|us,uz)
+	cs,cs|us,am|us,ara|us,ben|us,bd|us,bg|us,bt|us,by|us,deva|us,ge|us,gh|us,gr|us,guj|us,guru|us,il|us,in|us,ir|us,iku|jp,jp|us,jp|us,kan|us,kh|us,la|us,lao|us,lk|us,mk|us,mm|us,mn|us,mv|us,mal|us,ori|us,pk|us,ru|us,scc|us,sy|us,syr|us,tel|us,th|us,tj|us,tam|us,ua|us,uz)
 	    default_layout=${XKBLAYOUT#*,}
 	    default_variant="${XKBVARIANT#*,}"
 	    unsupported_layout=no
@@ -1267,9 +1267,28 @@
 	    else
 		STATE=$(($STATE - 1))
 	    fi
+	    # Adjust the keyboard model for some layouts requiring extra keys.
+	    case $model in
+		pc105|abnt2|jp106)
+		    case $layout in
+			br)
+			    model=abnt2
+			    db_set console-setup/modelcode "$model"
+			    ;;
+			jp)
+			    model=jp106
+			    db_set console-setup/modelcode "$model"
+			    ;;
+			*)
+			    model=pc105
+			    db_set console-setup/modelcode "$model"
+			    ;;
+		    esac
+		    ;;
+	    esac
 	    ;;
 	3)
 	    if [ "$unsupported_layout" = yes ]; then
@@ -1291,9 +1310,21 @@
 				;;
 			esac
 			;;
+		    jp)
+			case "$variant" in
+			    latin)
+				latin=yes
+				real_layout=$layout
+				;;
+			    *)
+				latin=no
+				real_layout=jp,jp
+				;;
+			esac
+			;;
 		    # TODO: make s.t. to not forget to update this list
 		    # Don't forget to update also the list in kbdcompiler
-		    am|ara|ben|bd|bg|bt|by|deva|ge|gh|gr|guj|guru|il|in|ir|iku|jp|kan|kh|la|lao|lk|mk|mm|mn|mv|mal|ori|pk|ru|scc|sy|syr|tel|th|tj|tam|ua|uz)
+		    am|ara|ben|bd|bg|bt|by|deva|ge|gh|gr|guj|guru|il|in|ir|iku|kan|kh|la|lao|lk|mk|mm|mn|mv|mal|ori|pk|ru|scc|sy|syr|tel|th|tj|tam|ua|uz)
 			latin=no
 			real_layout=us,$layout
 			;;
@@ -1320,6 +1351,8 @@
 				"latin,$variant"
 			    ;;
 		    esac
+		elif [ "$real_layout" = jp,jp ]; then
+		    db_set console-setup/variantcode "latin,$variant"
 		else
 		    db_set console-setup/variantcode ",$variant"
 		fi


--- End Message ---
--- Begin Message ---
Source: console-setup
Source-Version: 1.16

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:

bdf2psf_1.16_all.deb
  to pool/main/c/console-setup/bdf2psf_1.16_all.deb
console-setup-mini_1.16_all.deb
  to pool/main/c/console-setup/console-setup-mini_1.16_all.deb
console-setup_1.16.dsc
  to pool/main/c/console-setup/console-setup_1.16.dsc
console-setup_1.16.tar.gz
  to pool/main/c/console-setup/console-setup_1.16.tar.gz
console-setup_1.16_all.deb
  to pool/main/c/console-setup/console-setup_1.16_all.deb



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Zinoviev <[EMAIL PROTECTED]> (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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  1 May 2007 23:48:12 +0300
Source: console-setup
Binary: console-setup bdf2psf console-setup-mini
Architecture: source all
Version: 1.16
Distribution: unstable
Urgency: low
Maintainer: Console utilities maintainers <[EMAIL PROTECTED]>
Changed-By: Anton Zinoviev <[EMAIL PROTECTED]>
Description: 
 bdf2psf    - Font converter to generate console fonts from BDF source fonts
 console-setup - Setup the font and the keyboard on the console
 console-setup-mini - An experimental micro version of console-setup package
Closes: 402143 405005 415518 420785 420787 420797 420802 420821 420824 420827 
420828 420831 420832 420912 420914 421260 421261 421263 421796
Changes: 
 console-setup (1.16) unstable; urgency=low
 .
   * Update ckbconf with the most recent list of xkeysyms.
   * Thanks to Colin Watson and Ubuntu team for the many bugs and
     improvements fixed in this release.  Patches were provided by Colin
     Watson:
     - Do not sorce the debconf library in the middle of the postinst,
       closes: #420831.
     - Remove from the source package several directories
       debian/UDEB-PACKAGE-NAME.  (The udebs were removed from
       debian/control before running the clean target.)  Closes: #420912.
     - Map fr_CH locale to Swiss French default keyboard
       layout in config.proto.  Closes: #420828.
     - Pass xkbdir variable on the make-command line, because else its
       value is overriden and the keymap definitions in Keyboard/ckb are
       used.  Closes: #420827.
     - A new option --save-only for setupcon.
     - Ship KeyboardNames.pl and kbdnames-maker.  Closes: #420914.
     - Fix Esperanto locale check in config.proto, closes: #420785.  Make
       'epo' the default layout for Esperanto.
     - The Bosnian layout is 'ba', not 'bs'.  Closes: #420787.
     - The layout variant is 'deva', not 'dev'.  Closes: #420797.
     - Do not leave empty default codeset for unsupported locales.
       Closes: #420802.
     - Use 'jp(latin)' instead of 'us' in the Latin mode of Japanese
       keyboards.  Override the keyboard model if it was chosen by default
       and the layout is Japanese or Brasilian.  Closes: #420824.
     - Add --save-only option to setupcon.  Closes: #420832.
     - Multiply the Installer-Menu-Item field of the udebs by 100.
       Closes: #421260.
     - By default do not use AltGr with basic US keyboard.  Closes: #421263.
     - Make sure amiga, ataritt, sun4 and sun5 are in KeyboardNames.pl even
       if they are not in the xml database.  Closes: #420821.
     - Talk about 'national' instead of 'non-Latin' mode in the templates.
       Treat the Lithuanian keyboard as a two-mode keyboard similarly to
       the Serbian keyboard.  Closes: #421261.
   * Do not ignore the Control+ and Alt+non_symbol_key combinations.
     Thanks to Karsten Hilbert, closes: #421796.
   * Two additions to the FAQ:
     - Add a suggestion for the VBERestore option.  Thanks to Dmitry
       Semyonov, closes: #402143.
     - Document CapsLock working as ShiftLock in Unicode mode.
   * Added manual page for setupcon.  Thanks to Vassilis Pandis,
     closes: #405005.
   * Added Dutch translation.  Thanks to Bart Cornelis, closes: #415518.
   * Updated Bulgarian translation.
Files: 
 11402422475ea4baf0851fecd25d9115 738 utils optional console-setup_1.16.dsc
 fc21aa3df996fa9639f6956a7365c066 2345426 utils optional 
console-setup_1.16.tar.gz
 1da78a2204e774ed8bd218231d446be2 442362 utils optional 
console-setup_1.16_all.deb
 681f8d3951a9dd12b36829dc4d17ea58 552180 utils extra 
console-setup-mini_1.16_all.deb
 c9045035de251b0fb2299047c5eb124f 33092 utils optional bdf2psf_1.16_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGOBysJP1eZJv0KwcRAs63AJ4sgnHC1UWgqsPqHBoCt7r0qm0aUgCfX9W5
YlzIRhqF37Mm5mDf314Efm8=
=ROHE
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to