diff options
author | Gatis Paeglis <gatis.paeglis@qt.io> | 2018-10-16 12:09:10 +0200 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@qt.io> | 2018-10-17 08:49:53 +0000 |
commit | 76c762558a4f31d030cf55dacf0e1913db5c6d60 (patch) | |
tree | b97b13a026bd798706a820d5fa4d90ee5408cc79 /src/3rdparty/xkbcommon.pri | |
parent | aa633ff276e593af227d7c4a84db230382185490 (diff) |
3rdparty/xkbcommon: update bundled version 0.4.1 -> 0.8.2
0.8.2 + subsequent commits up to 31f1f355700870c6615399fbfa7934934b3a9a57.
There were couple commits after 0.8.2. Mostly minor stuff, with 2 exceptions:
fix off-by-one error in xkb_file_type_to_string() and undefined behavior in src/x11/keymap.c
We currently don't use any of the features added in later releases of
libxkbcommon, therefore the minimal required version in src/gui/configure.json
remains the same.
[ChangeLog][Third-Party Code] updated bundled libxkbcommon 0.4.1 -> 0.8.2 (up to 31f1f355700870c6615399fbfa7934934b3a9a57)
Task-number: QTBUG-71109
Change-Id: Ia03c3dc31c5f39e78dcb5915a45e82797b065ccb
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/3rdparty/xkbcommon.pri')
-rw-r--r-- | src/3rdparty/xkbcommon.pri | 58 |
1 files changed, 32 insertions, 26 deletions
diff --git a/src/3rdparty/xkbcommon.pri b/src/3rdparty/xkbcommon.pri index 8259a8b8bd..63c8e687ec 100644 --- a/src/3rdparty/xkbcommon.pri +++ b/src/3rdparty/xkbcommon.pri @@ -8,47 +8,53 @@ INCLUDEPATH += $$PWD/xkbcommon \ include($$shadowed($$PWD/../gui/qtgui-config.pri)) -DEFINES += DFLT_XKB_CONFIG_ROOT='\\"/usr/share/X11/xkb\\"' # unused, but needs to be set to something +# Unused (but needs to be set to something) - we don't use APIs that read xkb +# config files from file system. We use APIs that fetch the necessary keymap +# details directly from X server. +DEFINES += DFLT_XKB_CONFIG_ROOT='\\"/usr/share/X11/xkb\\"' +# Unused (but needs to be set to something) - After QTBUG-42181, this needs to +# be become a configure switch. +DEFINES += XLOCALEDIR='\\"/usr/share/X11/locale/\\"' ### RMLVO names can be overwritten with environmental variables (see libxkbcommon documentation) DEFINES += DEFAULT_XKB_RULES='\\"evdev\\"' DEFINES += DEFAULT_XKB_MODEL='\\"pc105\\"' DEFINES += DEFAULT_XKB_LAYOUT='\\"us\\"' + # Need to rename several files, qmake has problems processing a project when # sub-directories contain files with an equal names. -# libxkbcommon generates some of these files while executing "./autogen.sh" -# and some while executing "make" (actually YACC) SOURCES += \ - $$PWD/xkbcommon/src/atom.c \ - $$PWD/xkbcommon/src/xkb-compat.c \ # renamed: compat.c -> xkb-compat.c - $$PWD/xkbcommon/src/context.c \ - $$PWD/xkbcommon/src/xkb-keymap.c \ # renamed: keymap.c -> xkb-keymap.c - $$PWD/xkbcommon/src/keysym.c \ $$PWD/xkbcommon/src/keysym-utf.c \ - $$PWD/xkbcommon/src/state.c \ - $$PWD/xkbcommon/src/text.c \ - $$PWD/xkbcommon/src/context-priv.c \ + $$PWD/xkbcommon/src/keymap.c \ $$PWD/xkbcommon/src/keymap-priv.c \ $$PWD/xkbcommon/src/utils.c \ - $$PWD/xkbcommon/src/utf8.c - -SOURCES += \ - $$PWD/xkbcommon/src/xkbcomp/action.c \ - $$PWD/xkbcommon/src/xkbcomp/ast-build.c \ - $$PWD/xkbcommon/src/xkbcomp/compat.c \ - $$PWD/xkbcommon/src/xkbcomp/expr.c \ - $$PWD/xkbcommon/src/xkbcomp/include.c \ - $$PWD/xkbcommon/src/xkbcomp/keycodes.c \ + $$PWD/xkbcommon/src/atom.c \ + $$PWD/xkbcommon/src/compose/paths.c \ + $$PWD/xkbcommon/src/compose/parser.c \ + $$PWD/xkbcommon/src/compose/compose-state.c \ # renamed: keymap.c -> compose-state.c + $$PWD/xkbcommon/src/compose/table.c \ + $$PWD/xkbcommon/src/xkbcomp/xkbcomp-keymap.c \ # renamed: keymap.c -> xkbcomp-keymap.c + $$PWD/xkbcommon/src/xkbcomp/xkbcomp.c \ $$PWD/xkbcommon/src/xkbcomp/keymap-dump.c \ - $$PWD/xkbcommon/src/xkbcomp/keymap.c \ - $$PWD/xkbcommon/src/xkbcomp/keywords.c \ $$PWD/xkbcommon/src/xkbcomp/rules.c \ - $$PWD/xkbcommon/src/xkbcomp/scanner.c \ - $$PWD/xkbcommon/src/xkbcomp/symbols.c \ + $$PWD/xkbcommon/src/xkbcomp/expr.c \ + $$PWD/xkbcommon/src/xkbcomp/action.c \ + $$PWD/xkbcommon/src/xkbcomp/compat.c \ $$PWD/xkbcommon/src/xkbcomp/types.c \ + $$PWD/xkbcommon/src/xkbcomp/scanner.c \ + $$PWD/xkbcommon/src/xkbcomp/xkbcomp-parser.c \ # renamed: parser.c -> xkbcomp-parser.c + $$PWD/xkbcommon/src/xkbcomp/ast-build.c \ + $$PWD/xkbcommon/src/xkbcomp/keywords.c \ + $$PWD/xkbcommon/src/xkbcomp/keycodes.c \ $$PWD/xkbcommon/src/xkbcomp/vmod.c \ - $$PWD/xkbcommon/src/xkbcomp/xkbcomp.c \ - $$PWD/xkbcommon/src/xkbcomp/parser.c + $$PWD/xkbcommon/src/xkbcomp/include.c \ + $$PWD/xkbcommon/src/xkbcomp/symbols.c \ + $$PWD/xkbcommon/src/context-priv.c \ + $$PWD/xkbcommon/src/text.c \ + $$PWD/xkbcommon/src/context.c \ + $$PWD/xkbcommon/src/keysym.c \ + $$PWD/xkbcommon/src/utf8.c \ + $$PWD/xkbcommon/src/state.c TR_EXCLUDE += $$PWD/* |