File: update-keysyms

package info (click to toggle)
libxkbcommon 1.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,184 kB
  • sloc: ansic: 57,023; xml: 8,785; python: 7,449; yacc: 913; sh: 253; makefile: 23
file content (12 lines) | stat: -rwxr-xr-x 561 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# Run this to regenerate xkbcommon-keysyms.h from the X11 headers
# defining the keysyms, update the name <-> keysym mapping and various
# derived headers.
export LC_CTYPE=C.UTF-8
export LC_COLLATE=C.UTF-8
KEYSYMS_HEADER="include/xkbcommon/xkbcommon-keysyms.h"
scripts/update-keysyms-definitions.py > "$KEYSYMS_HEADER"
scripts/update-keysyms-names-handling.py "$KEYSYMS_HEADER" \
                                         src/xkbcomp/keywords.gperf > \
                                         src/ks_tables.h
scripts/update-keysyms-derived-headers.py