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

Bug#667056: console-setup: Please add Tibetan choice for console-setup in D-I



Package: console-setup
Version: 1.75
Severity: normal
Tags: patch

Tibetan is in the process of being eventually added to D-I (probably
after wheezy, though). One of the steps involves adding a "Tibetan"
choice among keymaps proposed to users and have it to be the default
when people choose Tibetan in D-I.

The attached patch should do this.

Please, however, do not apply this patch now as it will break all
translations for no purpose and I now consider D-I strings are frozen.

(I may decide at one point to create a specific "sublevel 6" for
strings we modify after the freeze...such strings would then not be
counted in general D-I stats)


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages console-setup depends on:
ii  console-setup-linux     1.75
ii  debconf                 1.5.42
ii  keyboard-configuration  1.75
ii  xkb-data                2.5.1-1

console-setup recommends no packages.

Versions of packages console-setup suggests:
ii  locales                2.13-27
ii  locales-all [locales]  2.13-27
ii  lsb-base               4.1+Debian0

Versions of packages keyboard-configuration depends on:
ii  debconf                 1.5.42
ii  initscripts             2.88dsf-22.1
ii  liblocale-gettext-perl  1.05-7+b1

Versions of packages console-setup-linux depends on:
ii  console-tools           1:0.2.3dbs-70
ii  keyboard-configuration  1.75

console-setup-linux suggests no packages.

Versions of packages console-setup is related to:
pn  console-common  0.7.87
pn  console-data    2:1.12-1
pn  console-tools   1:0.2.3dbs-70
pn  kbd             <none>

-- debconf information excluded
commit 46bbdfdebb05d1b84ebf13076b37a75fdf4f4568
Author: Christian PERRIER <bubulle@debian.org>
Date:   Tue Apr 3 19:07:35 2012 +0200

    Add Tibetan keyboard layout for D-I

diff --git a/debian/changelog b/debian/changelog
index 97b4b72..1d5b686 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-console-setup (1.76~0) UNRELEASED; urgency=low
+console-setup (1.76~1) UNRELEASED; urgency=low
 
   [ Peter Eisentraut ]
   * Added support for "status" action to init scripts
@@ -14,7 +14,10 @@ console-setup (1.76~0) UNRELEASED; urgency=low
   [ Samuel Thibault ]
   * Fix Norwegian Nynorsk vs Persian keymap inversion. Closes: #665874.
 
- -- Samuel Thibault <sthibault@debian.org>  Mon, 26 Mar 2012 22:48:22 +0200
+  [ Christian Perrier ]
+  * Add Tibetan keyboard layout for D-I
+
+ -- Christian Perrier <bubulle@debian.org>  Tue, 03 Apr 2012 19:06:33 +0200
 
 console-setup (1.75) unstable; urgency=low
 
diff --git a/debian/keyboard-configuration.config b/debian/keyboard-configuration.config
index b6d2afe..2d75002 100644
--- a/debian/keyboard-configuration.config
+++ b/debian/keyboard-configuration.config
@@ -501,6 +501,10 @@ case "$locale" in
 	XKBLAYOUT=es  # Spain
 	XKBVARIANT=ast # Asturian
 	;;
+    bo_*)
+	XKBLAYOUT=cn  # China
+	XKBVARIANT=tib # Tibetan
+	;;
     ca_ES*)
 	XKBLAYOUT=es  # Spain
 	XKBVARIANT=cat # Catalan
diff --git a/debian/keyboard-configuration.templates b/debian/keyboard-configuration.templates
index e6aa96a..633c0c3 100644
--- a/debian/keyboard-configuration.templates
+++ b/debian/keyboard-configuration.templates
@@ -165,9 +165,9 @@ _Description: Use Control+Alt+Backspace to terminate the X server?
 
 Template: keyboard-configuration/xkb-keymap
 Type: select
-Choices-C: us, al, ara, es(ast), bd, by, in(ben), be, ba, br, gb, bg, bg(phonetic), ca, ca(multi), es(cat), cn, hr, cz, dk, nl, us(dvorak), bt, epo, ee, et, fi, fr(latin9), ge, de, gr, in(guj), in(jhelum), il, in(deva), hu, is, ie, it, jp, in(kan), kz, kh, kg, kr, tr(ku_f), tr(ku), la, latam, lv, lt, mk, in(mal), np, no(smi), no, ir, pl, pt, in(guru), ro, ru, rs(latin), pk(snd), lk, sk, si, es, se, ch(fr), ch, in(tam), in(tel), th, tr(f), tr, ua, cn(uig), vn
+Choices-C: us, al, ara, es(ast), bd, by, in(ben), be, ba, br, gb, bg, bg(phonetic), ca, ca(multi), es(cat), cn, hr, cz, dk, nl, us(dvorak), bt, epo, ee, et, fi, fr(latin9), ge, de, gr, in(guj), in(jhelum), il, in(deva), hu, is, ie, it, jp, in(kan), kz, kh, kg, kr, tr(ku_f), tr(ku), la, latam, lv, lt, mk, in(mal), np, no(smi), no, ir, pl, pt, in(guru), ro, ru, rs(latin), pk(snd), lk, sk, si, es, se, ch(fr), ch, in(tam), in(tel), th, cn(tib), tr(f), tr, ua, cn(uig), vn
 #flag:partial
-__Choices: American English, Albanian, Arabic, Asturian, Bangladesh, Belarusian, Bengali, Belgian, Bosnian, Brazilian, British English, Bulgarian, Bulgarian (phonetic layout), Canadian French, Canadian Multilingual, Catalan, Chinese, Croatian, Czech, Danish, Dutch, Dvorak, Dzongkha, Esperanto, Estonian, Ethiopian, Finnish, French, Georgian, German, Greek, Gujarati, Gurmukhi, Hebrew, Hindi, Hungarian, Icelandic, Irish, Italian, Japanese, Kannada, Kazakh, Khmer, Kirghiz, Korean, Kurdish (F layout), Kurdish (Q layout), Lao, Latin American, Latvian, Lithuanian, Macedonian, Malayalam, Nepali, Northern Sami, Norwegian, Persian, Polish, Portuguese, Punjabi, Romanian, Russian, Serbian (Cyrillic), Sindhi, Sinhala, Slovak, Slovenian, Spanish, Swedish, Swiss French, Swiss German, Tamil, Telugu, Thai, Turkish (F layout), Turkish (Q layout), Ukrainian, Uyghur, Vietnamese
+__Choices: American English, Albanian, Arabic, Asturian, Bangladesh, Belarusian, Bengali, Belgian, Bosnian, Brazilian, British English, Bulgarian, Bulgarian (phonetic layout), Canadian French, Canadian Multilingual, Catalan, Chinese, Croatian, Czech, Danish, Dutch, Dvorak, Dzongkha, Esperanto, Estonian, Ethiopian, Finnish, French, Georgian, German, Greek, Gujarati, Gurmukhi, Hebrew, Hindi, Hungarian, Icelandic, Irish, Italian, Japanese, Kannada, Kazakh, Khmer, Kirghiz, Korean, Kurdish (F layout), Kurdish (Q layout), Lao, Latin American, Latvian, Lithuanian, Macedonian, Malayalam, Nepali, Northern Sami, Norwegian, Persian, Polish, Portuguese, Punjabi, Romanian, Russian, Serbian (Cyrillic), Sindhi, Sinhala, Slovak, Slovenian, Spanish, Swedish, Swiss French, Swiss German, Tamil, Telugu, Thai, Tibetan, Turkish (F layout), Turkish (Q layout), Ukrainian, Uyghur, Vietnamese
 _Description: Keymap to use:
 
 Template: keyboard-configuration/modelcode

Reply to: