~ubuntu-branches/ubuntu/wily/console-setup/wily

« back to all changes in this revision

Viewing changes to Keyboard/ckb/symbols/by

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre, Steve Langasek, Mathieu Trudel-Lapierre
  • Date: 2015-02-27 16:36:52 UTC
  • mfrom: (3.2.59 sid)
  • Revision ID: package-import@ubuntu.com-20150227163652-9sxmh6sbwqseysa0
Tags: 1.108ubuntu1
[ Steve Langasek ]
* Merge from Debian unstable, remaining changes: (LP: #1426721)
  - Don't gzip font or ACM files in /etc/console-setup/.  The space saving
    is negligible, and it's more efficient not to need to uncompress them
    at boot time.
  - Include pc105.tree for ubiquity.
  - Move boot tasks to a combination of two udev rules and a single
    Upstart job, ensuring that they're run at points when we are able to
    satisfy the constraints on the relevant ioctls.
  - Stop running debconf-updatepo on clean.
  - Set keymap and font in the initramfs if possible and sensible.
  - Add an apport hook.
  - Use keymapper to generate decision trees for a restricted subset of
    the pc105 model.
  - Depend on kbd (>= 1.15-1ubuntu3) for a valuable loadkeys improvement.
  - Include support for translated keyboard names.
  - Depend on debconf instead of pre-depending, because pre-depends have
    no effect on config scripts.
  - debian/vtrgb, debian/vtrgb.vga,
    debian/console-setup-linux.setvtrgb.upstart, debian/rules,
    debian/console-setup-linux.postinst: use Ubuntu's virtual terminal color
    scheme by default, with a VGA color scheme available as an alternative.
  - Make setupcon explicitly exit 0, so that postinsts don't fail in the
    event that loadkeys can't find a console.
  - Update for new layouts and variants for Montenegro and Serbia, and
    migrate configuration files from the old layouts.
  - Generate a locale locally for translating keyboard names in
    kbdnames-maker.
  - Don't copy keyboard-configuration questions to /target in OEM mode.
    oem-config will ask them later, and copying these confuses it.
  - Change the default font from Fixed to VGA for Lat15; while it's not
    entirely complete, it looks better and is largely good enough.
  - If the detect-keyboard debconf plugin is available
    (cdebconf-newt-detect-keys in the installer), then offer to use it to
    detect the keyboard layout.
  - Fix default keyboard selection for language/country combinations
    lacking a proper combined locale.
  - Drop the layout/variant priority to high on fresh installs.
  - Set default for Dutch to us(intl), not just us.
  - Set default layout for Vietnam to 'us'.
  - Set default variant for French to oss.
  - Set default layout for Simplified Chinese to 'cn'.
  - Don't use the default keyboard variant if the layout is overridden by
    preseeding.
  - If keyboard-configuration/layoutcode is preseeded but not marked as
    seen, then set the default layout but don't lower the layout question
    priority or preseed console-setup/ask_detect.
  - Use the default keyboard model if an existing configuration file sets
    XKBMODEL="".
  - Go back to always asking layout before variant.
  - Fix keyboard layout detection to set the layout properly.
  - Reset keyboard-configuration/toggle to the default if it's set to "No
    toggling" and you select a non-Latin layout.
  - Automatically save the font and keymap to /etc in
    /etc/init.d/console-setup if it isn't being run from init. Similarly,
    ensure that the font and keymap are saved to /etc during initial
    installation.
  - Replace usplash detection code with Plymouth detection code.
  - Load the new keyboard configuration immediately when running
    'dpkg-reconfigure keyboard-configuration' in an installed system.
  - Don't fail to configure keyboard-configuration if setxkbmap fails to
    talk to the X display.
  - Tolerate absence of setupcon in keyboard-configuration.postinst.
  - Drop the simplified keyboard-configuration/xkb-keymap question.
  - Fix command injection in ckbcomp.
  - debian/console-setup.console-font.upstart: Add Upstart job that sets up
    console font when plymouth-splash is starting.
  - Override description of the ch layout from "German (Switzerland)" to
    just "Switzerland".
  - Map ppc64el/* to XKBMODEL=pc105.
* Dropped changes, included in Debian:
  - "Do not configure keyboard; keep kernel keymap" model option,
    preseedable by keyboard-configuration/modelcode=SKIP: this is now
    supported upstream with either "unknown" or an empty string as the
    model.
  - Run kbd_mode on each tty in ACTIVE_CONSOLES rather than on the current
    tty, since the current tty might belong to X and changing X's tty out
    of raw mode is a very bad idea.
  - Include Terminus font in the compiled packages.  Do not depend, but
    conflict/provide/replace console-terminus.  New upstream version of
    the Terminus font (4.32).
  - Explicitly build-depend on liblocale-gettext-perl for kbdnames-maker,
    and likewise have keyboard-configuration depend on
    liblocale-gettext-perl.
  - Weaken test for whether /usr is mounted; testing for /usr/share is
    sufficient, and fixes operation in d-i.
  - Make keyboard-configuration replace old console-setup/console-setup-mini
    versions as well as conflicting with them.
  - Set default layout for Kurdish to tr(ku).
* Dropped changes, no longer needed:
  - Cope with systems installed with console-setup-udeb (<< 1.53) (which
    predates Ubuntu 12.04 and Debian wheezy).
  - Drop ancient handling of an empty codeset in the config file.
  - Drop vtrgb upgrade handling from natty
  - Drop upstart job transition from lucid
* setupcon: Map XKBMODEL=SKIP to '' for compatibility with existing
  configs.
* debian/rules: revert hard-coding of a list of "debconf-selectable"
  layouts for the udebs, since we don't use this debconf question in Ubuntu
  and all layouts are selectable.
* setupcon: revert ridiculous upstream twiddling of keymap cache filenames:
  - the variables are taken from a config file which, if changed,
    invalidates the cache.
  - there is only ever one keyboard map per system.
  - the system should not have to resolve filenames to find the keymap cache
    on boot.
* Move vtrgb handling to console-setup-linux package, since this is clearly
  Linux-specific.
* Add missing console-setup-linux.prerm to remove /etc/vtrgb alternatives
* Keyboard/kbdcompiler: fix bug in filtering of unsupported variants that
  breaks generation of the pc105.tree for d-i keyboard detection.
* debian/keyboard-configuration.postinst: udpkg is not part of an installed
  Debian system; don't fail to configure if it's absent and the script is
  called outside of an installer context.
* Don't make debian/copyright a symlink to COPYRIGHT, this is disallowed
  by the Ubuntu archive installer.

[ Mathieu Trudel-Lapierre ]
* debian/keyboard-configuration.config: fix typo in model check for SKIP;
  even when looking up the layout/variant, we need to check for the model
  as XKBMODEL, since $model doesn't exist.
* debian/preprocessor: revert the removal of keyboard names (for size) of
  console-setup-udeb: we do need those, since we don't use the simplified
  xkb-keymap template from Debian just yet: this way we can still show
  country/language names when selecting a keyboard, layout or variant.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
// based on
4
4
// belarusian standard keyboard 
5
5
// Alexander Mikhailian <mikhailian@altern.org>
 
6
// Reworked to use winkeys by default and russian keymap as base by Paul Lubetsky <vegeek@gmail.com>
 
7
// Added third level with russian symbols
 
8
// See freedesktop.org bug #23604
6
9
 
7
10
partial default alphanumeric_keys 
8
11
xkb_symbols "basic" {
9
 
 
10
 
    name[Group1]= "Belarus";
11
 
 
12
 
    key <TLDE> {        [     Cyrillic_io,     Cyrillic_IO      ]       };
13
 
    key <LSGT> {        [               bar,    brokenbar       ]       };
14
 
 
15
 
    key <AE02> {        [               2,        quotedbl      ]       };
16
 
    key <AE04> {        [               4,        semicolon     ]       };
17
 
    key <AE05> {        [               5,           percent    ]       };
18
 
    key <AE06> {        [               6,           colon      ]       };
19
 
    key <AE07> {        [               7,          question    ]       };
20
 
 
21
 
    key <AD01> {        [ Cyrillic_shorti, Cyrillic_SHORTI      ]       };
22
 
    key <AD02> {        [    Cyrillic_tse,    Cyrillic_TSE      ]       };
23
 
    key <AD03> {        [      Cyrillic_u,      Cyrillic_U      ]       };
24
 
    key <AD04> {        [     Cyrillic_ka,     Cyrillic_KA      ]       };
25
 
    key <AD05> {        [     Cyrillic_ie,     Cyrillic_IE      ]       };
26
 
    key <AD06> {        [     Cyrillic_en,     Cyrillic_EN      ]       };
27
 
    key <AB07> {        [Cyrillic_softsign,Cyrillic_SOFTSIGN    ]       };
28
 
    key <AD07> {        [    Cyrillic_ghe,    Cyrillic_GHE      ]       };
29
 
    key <AD08> {        [    Cyrillic_sha,    Cyrillic_SHA      ]       };
30
 
    key <AD09> {        [  Byelorussian_shortu,  Byelorussian_SHORTU    ]};
31
 
    key <AD10> {        [     Cyrillic_ze,     Cyrillic_ZE      ]       };
32
 
    key <AD11> {        [     Cyrillic_ha,     Cyrillic_HA      ]       };
33
 
    key <AD12> {        [       apostrophe,     apostrophe      ]       };
34
 
 
35
 
    key <AC01> {        [     Cyrillic_ef,     Cyrillic_EF      ]       };
36
 
    key <AC02> {        [   Cyrillic_yeru,   Cyrillic_YERU      ]       };
37
 
    key <AC03> {        [     Cyrillic_ve,     Cyrillic_VE      ]       };
38
 
    key <AC04> {        [      Cyrillic_a,      Cyrillic_A      ]       };
39
 
    key <AC05> {        [     Cyrillic_pe,     Cyrillic_PE      ]       };
40
 
    key <AC06> {        [     Cyrillic_er,     Cyrillic_ER      ]       };
41
 
    key <AC07> {        [      Cyrillic_o,      Cyrillic_O      ]       };
42
 
    key <AC08> {        [     Cyrillic_el,     Cyrillic_EL      ]       };
43
 
    key <AC09> {        [     Cyrillic_de,     Cyrillic_DE      ]       };
44
 
    key <AC10> {        [    Cyrillic_zhe,    Cyrillic_ZHE      ]       };
45
 
    key <AC11> {        [      Cyrillic_e,      Cyrillic_E      ]       };
46
 
 
47
 
    key <AB01> {        [     Cyrillic_ya,     Cyrillic_YA      ]       };
48
 
    key <AB02> {        [    Cyrillic_che,    Cyrillic_CHE      ]       };
49
 
    key <AB03> {        [     Cyrillic_es,     Cyrillic_ES      ]       };
50
 
    key <AB04> {        [     Cyrillic_em,     Cyrillic_EM      ]       };
51
 
    key <AB05> {        [     Ukrainian_i,     Ukrainian_I      ]       };
52
 
    key <AB06> {        [     Cyrillic_te,     Cyrillic_TE      ]       };
53
 
    key <AB08> {        [     Cyrillic_be,     Cyrillic_BE      ]       };
54
 
    key <AB09> {        [     Cyrillic_yu,     Cyrillic_YU      ]       };
55
 
    key <AB10> {        [           period,          comma      ]       };
56
 
 
57
 
    key <BKSL> {        [       slash,                 bar      ]       };
58
 
 
59
 
    // End alphanumeric section
 
12
        include "ru(winkeys)"
 
13
        name[Group1]= "Belarus";
 
14
 
 
15
        key     <AD09> {        [       Byelorussian_shortu,    Byelorussian_SHORTU     ]       };
 
16
        key     <AD12> {        [       apostrophe,     apostrophe      ]       };
 
17
        key     <AB05> {        [       Ukrainian_i,    Ukrainian_I     ]       };
60
18
};
61
19
 
62
20
partial alphanumeric_keys
63
 
xkb_symbols "winkeys" {
64
 
    include "by(basic)"
65
 
    name[Group1]= "Belarus - Winkeys";
66
 
    key <AE04> {        [               4,       semicolon      ]       };
67
 
    key <AE03> {        [               3,      numbersign      ]       };
68
 
    key <AE05> {        [               5,         percent      ]       };
69
 
    key <AE06> {        [               6,           colon      ]       };
70
 
    key <AE07> {        [               7,        question      ]       };
71
 
    key <AE08> {        [               8,        asterisk      ]       };
72
 
    key <AB10> {        [          period,           comma      ]       };
73
 
    key <BKSL> {        [           slash,             bar      ]       };
 
21
xkb_symbols "legacy" {
 
22
        include "by(basic)"
 
23
        name[Group1]= "Belarus - Legacy";
 
24
        
 
25
        key <AE03> {        [               3,      numbersign      ]       };
 
26
        key <AE04> {        [               4,        asterisk      ]       };
 
27
        key <AE05> {        [               5,           colon      ]       };
 
28
        key <AE06> {        [               6,           comma      ]       };
 
29
        key <AE07> {        [               7,          period      ]       };
 
30
        key <AE08> {        [               8,       semicolon      ]       };
 
31
        key <AB10> {        [           slash,        question      ]       };
 
32
        key <BKSL> {        [       backslash,             bar      ]       };
74
33
};
75
34
 
76
35
// based on a keyboard map from an 'xkb/symbols/iso3335-3' file
79
38
 
80
39
partial alphanumeric_keys
81
40
xkb_symbols "latin" {
82
 
 
83
 
    include "latin"
84
 
    name[Group1]= "Belarus - Latin";
85
 
    key <AD02> {        [    w,    W,    scaron,    Scaron    ]       };
86
 
    key <AD07> {        [    u,    U,    ubreve,    Ubreve    ]       };
87
 
    key <AC02> {        [    s,    S,    sacute,    Sacute    ]       };
88
 
    key <AC09> {        [    l,    L,    lstroke,   Lstroke   ]       };
89
 
    key <AB01> {        [    z,    Z,    zacute,    Zacute    ]       };
90
 
    key <AB02> {        [    x,    X,    zcaron,    Zcaron    ]       };
91
 
    key <AB03> {        [    c,    C,    cacute,    Cacute    ]       };
92
 
    key <AB04> {        [    v,    V,    ccaron,    Ccaron    ]       };
93
 
    key <AB06> {        [    n,    N,    nacute,    Nacute    ]       };
94
 
 
95
 
    include "level3(ralt_switch)"
 
41
        include "latin"
 
42
        name[Group1]= "Belarus - Latin";
 
43
        
 
44
        key <AD02> {        [    w,    W,    scaron,    Scaron    ]       };
 
45
        key <AD07> {        [    u,    U,    ubreve,    Ubreve    ]       };
 
46
        key <AC02> {        [    s,    S,    sacute,    Sacute    ]       };
 
47
        key <AC09> {        [    l,    L,    lstroke,   Lstroke   ]       };
 
48
        key <AB01> {        [    z,    Z,    zacute,    Zacute    ]       };
 
49
        key <AB02> {        [    x,    X,    zcaron,    Zcaron    ]       };
 
50
        key <AB03> {        [    c,    C,    cacute,    Cacute    ]       };
 
51
        key <AB04> {        [    v,    V,    ccaron,    Ccaron    ]       };
 
52
        key <AB06> {        [    n,    N,    nacute,    Nacute    ]       };
 
53
        
 
54
        include "level3(ralt_switch)"
96
55
};
 
56