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

Bug#243034: marked as done (languagechooser: console-cyrillic support)



Your message dated Wed, 05 May 2004 17:02:04 -0400
with message-id <E1BLTWm-0002Kd-00@newraff.debian.org>
and subject line Bug#243034: fixed in languagechooser 1.19
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Apr 2004 13:54:31 +0000
>From eugen@univ.kiev.ua Sat Apr 10 06:54:31 2004
Return-path: <eugen@univ.kiev.ua>
Received: from boy.univ.kiev.ua (mail.univ.kiev.ua) [193.125.78.122] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BCIwJ-0000b7-00; Sat, 10 Apr 2004 06:54:31 -0700
Received: from intel4.icc.univ.kiev.ua (intel4.icc.univ.kiev.ua [10.25.0.243])
	by mail.univ.kiev.ua (8.12.2/8.12.2) with ESMTP id i3ADsROZ022162;
	Sat, 10 Apr 2004 16:54:27 +0300 (EEST)
Received: from eugen by intel4.icc.univ.kiev.ua with local (Exim 4.31)
	id 1BCIwF-0005yW-9G; Sat, 10 Apr 2004 16:54:27 +0300
Content-Type: multipart/mixed; boundary="===============1239040076=="
MIME-Version: 1.0
From: Eugeniy Meshcheryakov <eugen@univ.kiev.ua>
To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Debug-CC: barbier@linuxfr.org
Subject: languagechooser: console-cyrillic support
X-Mailer: reportbug 2.56
Date: Sat, 10 Apr 2004 16:54:26 +0300
Message-Id: <E1BCIwF-0005yW-9G@intel4.icc.univ.kiev.ua>
Sender: Eugeniy Meshcheryakov <eugen@univ.kiev.ua>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

This is a multi-part MIME message sent by reportbug.

--===============1239040076==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: languagechooser
Version: svn
Severity: wishlist
Tags: patch l10n d-i

Attached patch adds console-cyrillic support for languagechooser
prebaseconfig (similar to console-tools). Prebaseconfig expects
information about cyrillic keyboard in form:

cyr=style,size,encoding,layout(options)

Example for Ukrainian:

cyr=uni,16,koi8-u,ua_ms(ctrl_shift_toggle)

I tested this script with console-cyrillic installed with highest debconf
priority on working system.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=uk_UA, LC_CTYPE=uk_UA

--===============1239040076==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="languagechooser-cyr.diff"

Index: prebaseconfig
===================================================================
--- prebaseconfig	(revision 13104)
+++ prebaseconfig	(working copy)
@@ -2,9 +2,19 @@
 
 . /usr/share/debconf/confmodule
 
+modify_cyrconfig() {
+	if [ "$2" ]; then
+	   sed -e "s/^$1 .*\$/$1 $2/" \
+	          $cyrconfig > $cyrconfig.tmp && \
+           mv $cyrconfig.tmp $cyrconfig
+	fi
+}
+
 db_get debian-installer/consoledisplay || true
-consolefont=`echo $RET | sed -e 's/^kbd=//'`
-if [ "$consolefont" != "$RET" ]; then
+consoletype=`echo $RET | sed -e 's/=.*$//'`
+case "$consoletype" in
+kbd)
+    consolefont=`echo $RET | sed -e 's/^kbd=//'`
     if apt-install console-tools; then
         ctconfig=/target/etc/console-tools/config
         acm=`echo $consolefont | sed -e 's/.*(//' -e 's/).*//'`
@@ -21,7 +31,31 @@
             mv $ctconfig.tmp $ctconfig
         fi
     fi
-fi
+    ;;
+cyr)
+    consolefont=`echo $RET | sed -e 's/^cyr=//'`
+    if apt-install console-cyrillic; then
+        cyrconfig=/target/etc/console-cyrillic
+	# format of the consolefont is:
+	# style,size,encoding,layout(option1 option2)
+	style=`echo $consolefont | sed -e 's/,.*$//'`
+	size=`echo $consolefont | sed -e 's/^[^,]*,\([^,]*\),.*$/\1/'`
+	encoding=`echo $consolefont | sed -e 's/^[^,]*,[^,]*,\([^,]*\),.*$/\1/'`
+	layoutopts=`echo $consolefont | sed -e 's/^[^,]*,[^,]*,[^,]*,\([^)]*)\).*$/\1/'`
+	layout=`echo $layoutopts | sed -e 's/(.*)$//'`
+	options=`echo $layoutopts | sed -e 's/.*(//' -e 's/).*//'`
+	modify_cyrconfig style "$style"
+	modify_cyrconfig size "$size"
+	modify_cyrconfig encoding "$encoding"
+	modify_cyrconfig layout "$layout"
+	modify_cyrconfig options "$options"
+	sed -e 's/^.*Bootsetup: .*$/# Bootsetup: YES/' $cyrconfig > $cyrconfig.tmp && \
+	   mv $cyrconfig.tmp $cyrconfig
+	sed -e 's/^.*Debconf: .*$/# Debconf: NO/' $cyrconfig > $cyrconfig.tmp && \
+	   mv $cyrconfig.tmp $cyrconfig
+    fi
+    ;;
+esac
  
 # Pass the language/locale information needed by base-config into
 # /target/root/dbootstrap_settings.

--===============1239040076==--

---------------------------------------
Received: (at 243034-close) by bugs.debian.org; 5 May 2004 21:08:16 +0000
>From katie@ftp-master.debian.org Wed May 05 14:08:16 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BLTcm-00068R-00; Wed, 05 May 2004 14:08:16 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BLTWm-0002Kd-00; Wed, 05 May 2004 17:02:04 -0400
From: Petter Reinholdtsen <pere@debian.org>
To: 243034-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#243034: fixed in languagechooser 1.19
Message-Id: <E1BLTWm-0002Kd-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 05 May 2004 17:02:04 -0400
Delivered-To: 243034-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Source: languagechooser
Source-Version: 1.19

We believe that the bug you reported is fixed in the latest version of
languagechooser, which is due to be installed in the Debian FTP archive:

languagechooser_1.19.dsc
  to pool/main/l/languagechooser/languagechooser_1.19.dsc
languagechooser_1.19.tar.gz
  to pool/main/l/languagechooser/languagechooser_1.19.tar.gz
languagechooser_1.19_all.udeb
  to pool/main/l/languagechooser/languagechooser_1.19_all.udeb



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 243034@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated languagechooser 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@debian.org)


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

Format: 1.7
Date: Wed,  5 May 2004 22:40:55 +0200
Source: languagechooser
Binary: languagechooser
Architecture: source all
Version: 1.19
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Description: 
 languagechooser - Choose language (udeb)
Closes: 243034
Changes: 
 languagechooser (1.19) unstable; urgency=low
 .
   * Christian Perrier
     - Added Galician (gl) to langage list
     - Added Basque (and translation) to language list
     - Added an entry for Serbian language
     - Added an entry for Vietnamese language
     - Added an entry for Chinese Simplified+China
     - Added an entry for Chinese Traditional+Taiwan
     - two other entries for Chinese variants+other countries
     Changes made as a first tentative to solve the issue for the official
     name of TW
   * Denis Barbier
     - Add @euro modifier to ca_ES, de_AT, ga_IE, pt_PT and sv_FI.
     - Add informations for keyboard configuration into languagelist,
       so that termwrap can set up console keyboard.  Console-data is
       currently supported, bterm and cyr have to be added.
     - Fix canonical locale name for Ukrainian, uk_UA is listed in
       /usr/share/i18n/SUPPORTED and not uk_UA.KOI8-U.
     - prebaseconfig: Set font in /etc/console-tools/config from the value
       found in the debian-installer/consoledisplay debconf question.
       Console is then configured for the 2nd stage and a good default is
       provided for later use.
   * Eugeniy Meshcheryako
     - Add support for cyr in languagelist, and let Ukrainian uses it instead
       of console-tools.  Closes: #243034
   * Petter Reinholdtsen
     - Moved code for adding extra packages into /target/ from
       languagechooser.postinst and base-installer.postinst to the
       languagechooser script to keep everything in one place and
       avoid cluttering base-installer with language-specific code.
   * Denis Barbier
     - The info function is not defined in languagechooser, replace
       its call by log.  Thanks to Jean Christophe ANDRÃ? for reporting.
     - Change Turkish console font to ter-916f
Files: 
 1264e79df83733eadf6b33e5971a6d43 622 debian-installer standard languagechooser_1.19.dsc
 65d39aa5157b81fd468925b292a01a1f 58171 debian-installer standard languagechooser_1.19.tar.gz
 23b46f8fd7f5ce07b34a05621eefcf08 8884 debian-installer standard languagechooser_1.19_all.udeb
package-type: udeb

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

iD8DBQFAmVRA20zMSyow1ykRAghUAKC8vomZPCSzcgOW/GziX6i486xHbgCgkEm6
uWANi0xNPfXys8m6TFbFYiA=
=IMOl
-----END PGP SIGNATURE-----



Reply to: