Pull in a few #defines from libxkbfile and lower kbproto requirement
parent
351f8c6587
commit
be2bd66181
|
@ -62,7 +62,7 @@ if test "x$GCC" = xyes ; then
|
|||
CFLAGS="$CFLAGS -fvisibility=hidden"
|
||||
fi
|
||||
|
||||
PKG_CHECK_MODULES([X11], [xproto kbproto >= 1.0.99.1])
|
||||
PKG_CHECK_MODULES([X11], [xproto kbproto >= 1.0.5])
|
||||
PKG_CHECK_MODULES([XLIB], [x11])
|
||||
|
||||
dnl Ensure we have keysym headers
|
||||
|
|
|
@ -64,6 +64,24 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
typedef unsigned char KeyCode;
|
||||
#endif
|
||||
|
||||
#define XkmFileVersion 15
|
||||
|
||||
#define XkmIllegalFile -1
|
||||
#define XkmSemanticsFile 20
|
||||
#define XkmLayoutFile 21
|
||||
#define XkmKeymapFile 22
|
||||
#define XkmGeometryFile 23
|
||||
#define XkmRulesFile 24
|
||||
|
||||
#define XkmTypesIndex 0
|
||||
#define XkmCompatMapIndex 1
|
||||
#define XkmSymbolsIndex 2
|
||||
#define XkmIndicatorsIndex 3
|
||||
#define XkmKeyNamesIndex 4
|
||||
#define XkmGeometryIndex 5
|
||||
#define XkmVirtualModsIndex 6
|
||||
#define XkmLastIndex XkmVirtualModsIndex
|
||||
|
||||
struct xkb_rule_names {
|
||||
char * rules;
|
||||
char * model;
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "xkbmisc.h"
|
||||
#include "X11/extensions/XKBcommon.h"
|
||||
#include "XKBcommonint.h"
|
||||
#include <X11/extensions/XKM.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
|
|
@ -28,7 +28,6 @@ authorization from the authors.
|
|||
#include "xkbcomp.h"
|
||||
#include "xkballoc.h"
|
||||
#include "xkbrules.h"
|
||||
#include <X11/extensions/XKM.h>
|
||||
#include "xkbpath.h"
|
||||
#include "parseutils.h"
|
||||
#include "utils.h"
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
#define DEBUG_VAR debugFlags
|
||||
#include "utils.h"
|
||||
#include <stdlib.h>
|
||||
#include <X11/extensions/XKM.h>
|
||||
#include "xkbpath.h"
|
||||
#include "X11/extensions/XKBcommon.h"
|
||||
#include "XKBcommonint.h"
|
||||
|
||||
#ifndef DFLT_XKB_CONFIG_ROOT
|
||||
|
|
|
@ -6,6 +6,6 @@ includedir=@includedir@
|
|||
Name: xkbcommon
|
||||
Description: XKB API common to servers and clients
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xproto kbproto >= 1.0.99.1
|
||||
Requires: xproto kbproto >= 1.0.5
|
||||
Cflags: -I${includedir}
|
||||
Libs: -L${libdir} -lxkbcommon
|
||||
|
|
Loading…
Reference in New Issue