~eugenenuke/ubuntu/wily/console-setup/fix-for-1565542

« back to all changes in this revision

Viewing changes to Keyboard/ckb/symbols/rs

  • 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:
19
19
 
20
20
  name[Group1]= "Serbia";
21
21
 
22
 
  include "rs(level3)"
 
22
  include "rs(cyrlevel3)"
23
23
  include "rs(common)"
24
24
  include "rs(cyralpha)"
25
25
  include "level3(ralt_switch)"
33
33
 
34
34
  include "latin(type3)"
35
35
  include "rs(latalpha)"
36
 
  include "rs(level3)"
 
36
  include "rs(latlevel3)"
37
37
  include "rs(common)"
38
38
  include "level3(ralt_switch)"
39
39
};
149
149
};
150
150
 
151
151
partial hidden alphanumeric_keys
152
 
xkb_symbols "level3" {
 
152
xkb_symbols "latlevel3" {
153
153
  key <TLDE> {   [ any,any,     notsign,             notsign     ]   }; // ` ~
154
154
  key <AE01> {   [ any,any,     dead_tilde,          asciitilde  ]   }; // 1 !
155
155
  key <AE02> {   [ any,any,     dead_caron,          caron       ]   }; // 2 @
203
203
 
204
204
};
205
205
 
 
206
partial hidden alphanumeric_keys
 
207
xkb_symbols "cyrlevel3" {
 
208
  key <TLDE> {   [ any,any,     degree,              notsign          ]   }; // ` ~
 
209
  key <AE03> {   [ any,any,     dead_circumflex,     NoSymbol         ]   }; // 3 #
 
210
  key <AE07> {   [ any,any,     dead_grave,          NoSymbol         ]   }; // 7 &
 
211
  key <AE08> {   [ any,any,     dead_doublegrave,    NoSymbol         ]   }; // 8 *
 
212
  key <AE09> {   [ any,any,     dead_acute,          NoSymbol         ]   }; // 9 (
 
213
  key <AE10> {   [ any,any,     dead_invertedbreve,  NoSymbol         ]   }; // 0 )
 
214
  key <AE11> {   [ any,any,     dead_macron,         NoSymbol         ]   }; // - _
 
215
 
 
216
  key <AD01> {   [ any,any,     backslash,           NoSymbol         ]   }; // q
 
217
  key <AD02> {   [ any,any,     bar,                 NoSymbol         ]   }; // w
 
218
  key <AD03> {   [ any,any,     EuroSign,            sterling         ]   }; // e
 
219
  key <AD04> {   [ any,any,     paragraph,           registered       ]   }; // r
 
220
  key <AD05> {   [ any,any,     ellipsis,            NoSymbol         ]   }; // t // ALPHABETIC
 
221
  key <AD06> {   [ any,any,     leftarrow,           yen              ]   }; // y
 
222
  key <AD07> {   [ any,any,     downarrow,           uparrow          ]   }; // u
 
223
  key <AD08> {   [ any,any,     rightarrow,          NoSymbol         ]   }; // i
 
224
  key <AD09> {   [ any,any,     section,             NoSymbol         ]   }; // o // ALPHABETIC
 
225
  key <AD11> {   [ any,any,     division,            NoSymbol         ]   }; // [
 
226
  key <AD12> {   [ any,any,     multiply,            NoSymbol         ]   }; // ]
 
227
 
 
228
  key <AC02> {   [ any,any,     doublelowquotemark,  guillemotright   ]   }; // s
 
229
  key <AC03> {   [ any,any,     leftdoublequotemark, guillemotleft    ]   }; // d
 
230
  key <AC04> {   [ any,any,     bracketleft,         NoSymbol         ]   }; // f
 
231
  key <AC05> {   [ any,any,     bracketright,        NoSymbol         ]   }; // g
 
232
  key <BKSL> {   [ any,any,     currency,            NoSymbol         ]   }; // \
 
233
 
 
234
  key <AB01> {   [ any,any,     leftsinglequotemark, NoSymbol         ]   }; // z
 
235
  key <AB02> {   [ any,any,     rightsinglequotemark,NoSymbol         ]   }; // x
 
236
  key <AB03> {   [ any,any,     cent,                copyright        ]   }; // c
 
237
  key <AB04> {   [ any,any,     at,                  NoSymbol         ]   }; // v
 
238
  key <AB05> {   [ any,any,     braceleft,           NoSymbol         ]   }; // b
 
239
  key <AB06> {   [ any,any,     braceright,          NoSymbol         ]   }; // n
 
240
  key <AB07> {   [ any,any,     asciicircum,         NoSymbol         ]   }; // m
 
241
  key <AB08> {   [ any,any,     less,                NoSymbol         ]   }; // , <
 
242
  key <AB09> {   [ any,any,     greater,             NoSymbol         ]   }; // . >
 
243
  key <AB10> {   [ any,any,     emdash,              endash           ]   }; // / ?
 
244
};
 
245
 
206
246
partial alphanumeric_keys
207
247
xkb_symbols "latinunicode" {
208
248
  // This mapping supports the Unicode characters 0x1c4-0x1cc (dz, lj, and nj
259
299
  key <AC02> {   [ any,any,     guillemotright, NoSymbol ]   }; // s
260
300
  key <AC03> {   [ any,any,     guillemotleft,  NoSymbol ]   }; // d
261
301
};
 
302
 
 
303
xkb_symbols "rue" {
 
304
  // Homophonic layout for Pannonian Rusyn (spoken mainly in Serbia and
 
305
  // Croatia by the Rusyn people), based on Ukrainian homophonic.
 
306
  // Author: Ljubomir J. Papuga (Любомир Я. Папуґа) <papuga.rs@gmail.com>
 
307
 
 
308
  name[Group1]= "Serbia - Pannonian Rusyn Homophonic";
 
309
 
 
310
  include "ua(homophonic)"
 
311
 
 
312
  key <TLDE> { [ grave, asciitilde ] };
 
313
  key <AE03> { [ 3, doublelowquotemark ] };
 
314
  key <AE04> { [ 4, rightdoublequotemark ] };
 
315
  key <AE07> { [ 7, EuroSign ] };
 
316
  key <AE11> { [ 0x002D, emdash ] };
 
317
  key <AE12> { [ equal, plus ] };
 
318
 
 
319
  key <AD02> { [ Ukrainian_ie, Ukrainian_IE ] };
 
320
  key <AD06> { [ Cyrillic_yu, Cyrillic_YU ] };
 
321
  key <AD08> { [ Cyrillic_i, Cyrillic_I ] };
 
322
  key <AD11> { [ Cyrillic_sha, Cyrillic_SHA ] };
 
323
  key <AD12> { [ Cyrillic_shcha, Cyrillic_SHCHA ] };
 
324
 
 
325
  key <LSGT> { [ Ukrainian_yi, Ukrainian_YI ] };
 
326
  key <AB08> { [ comma, semicolon ] };
 
327
  key <AB09> { [ period, colon ] };
 
328
};