rules: remove support for keymap rule
authorRan Benita <ran234@gmail.com>
Fri, 29 Jun 2012 21:49:41 +0000 (00:49 +0300)
committerRan Benita <ran234@gmail.com>
Sat, 30 Jun 2012 21:51:56 +0000 (00:51 +0300)
commit37f4384947939784d1eb4b29bb201974b14f95bb
treee27c861fa9973dc2d762040c8c14133a7174b853
parent337c3007acf83eb818d6737fbb1c8e87758f7d86
rules: remove support for keymap rule

This commit removes the ability to specify a keymap *in a rules file*,
e.g. in /usr/share/X11/xkb/rules/evdev or somesuch. This is unused in
xkeyboard-data, and the current code has never even supported it,
because xkb_map_new_from_kccgst (which is no longer exposed in the API)
checks to see that one of the usual components (e.g. symbols, types, ..)
has been filled, while the rules parser, on the other hand,  doesn't
allow to specify a keymap and other stuff at the same time.

( The idea was to remove xkb_map_new_from_kccgst entirely, but it's used
  by a test so it can stay. )

tl;dr: dead code. Of course passing a keymap file to
xkb_map_new_from_file still works.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkb-priv.h
src/xkbcomp/rules.c
src/xkbcomp/xkbcomp.c
test/namescomp.c
test/rules-file.c