diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-23 10:29:06 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-23 10:29:06 +0000 |
commit | ff2e381fd7fb8db0c13382ecf968bb6cb100e88a (patch) | |
tree | 240178210ae87b5987ec4250ec511316678fb6bc /meta/packages/xorg-xserver/xserver-kdrive-1.4.99.901/optional-xkb.patch | |
parent | 6543b12207ff258e65429665198677e2130351c8 (diff) | |
download | poky-ff2e381fd7fb8db0c13382ecf968bb6cb100e88a.tar.gz |
xserver-kdrive: added 1.4.99.901 (1.5-rc) from OE
- moved common (1.3.0.0/1.4.99.901) patches to xserver-kdrive
TODO: merge xmodmap and "-mouse tslib" from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4317 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/xorg-xserver/xserver-kdrive-1.4.99.901/optional-xkb.patch')
-rw-r--r-- | meta/packages/xorg-xserver/xserver-kdrive-1.4.99.901/optional-xkb.patch | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/packages/xorg-xserver/xserver-kdrive-1.4.99.901/optional-xkb.patch b/meta/packages/xorg-xserver/xserver-kdrive-1.4.99.901/optional-xkb.patch new file mode 100644 index 0000000000..22d8c94c78 --- /dev/null +++ b/meta/packages/xorg-xserver/xserver-kdrive-1.4.99.901/optional-xkb.patch | |||
@@ -0,0 +1,58 @@ | |||
1 | Index: xorg-server-1.4/Makefile.am | ||
2 | =================================================================== | ||
3 | --- xorg-server-1.4.orig/Makefile.am 2007-08-23 21:04:52.000000000 +0200 | ||
4 | +++ xorg-server-1.4/Makefile.am 2007-09-06 23:19:59.000000000 +0200 | ||
5 | @@ -26,6 +26,10 @@ | ||
6 | GLX_DIR=GL | ||
7 | endif | ||
8 | |||
9 | +if XKB | ||
10 | +XKB_DIR=xkb | ||
11 | +endif | ||
12 | + | ||
13 | if DBE | ||
14 | DBE_DIR=dbe | ||
15 | endif | ||
16 | @@ -42,7 +46,7 @@ | ||
17 | randr \ | ||
18 | render \ | ||
19 | Xi \ | ||
20 | - xkb \ | ||
21 | + $(XKB_DIR) \ | ||
22 | $(DBE_DIR) \ | ||
23 | $(MFB_DIR) \ | ||
24 | $(AFB_DIR) \ | ||
25 | Index: xorg-server-1.4/configure.ac | ||
26 | =================================================================== | ||
27 | --- xorg-server-1.4.orig/configure.ac 2007-09-06 07:59:00.000000000 +0200 | ||
28 | +++ xorg-server-1.4/configure.ac 2007-09-06 23:19:19.000000000 +0200 | ||
29 | @@ -514,6 +514,7 @@ | ||
30 | AC_ARG_ENABLE(config-dbus, AS_HELP_STRING([--enable-config-dbus], [Build D-BUS API support (default: no)]), [CONFIG_DBUS_API=$enableval], [CONFIG_DBUS_API=no]) | ||
31 | AC_ARG_ENABLE(config-hal, AS_HELP_STRING([--disable-config-hal], [Build HAL support (default: auto)]), [CONFIG_HAL=$enableval], [CONFIG_HAL=auto]) | ||
32 | AC_ARG_ENABLE(xfree86-utils, AS_HELP_STRING([--enable-xfree86-utils], [Build xfree86 DDX utilities (default: enabled)]), [XF86UTILS=$enableval], [XF86UTILS=yes]) | ||
33 | +AC_ARG_ENABLE(xkb, AS_HELP_STRING([--disable-xkb], [Build XKB (default: enabled)]), [XKB=$enableval], [XKB=yes]) | ||
34 | |||
35 | dnl DDXes. | ||
36 | AC_ARG_ENABLE(xorg, AS_HELP_STRING([--enable-xorg], [Build Xorg server (default: auto)]), [XORG=$enableval], [XORG=auto]) | ||
37 | @@ -889,12 +890,15 @@ | ||
38 | |||
39 | AC_DEFINE(SHAPE, 1, [Support SHAPE extension]) | ||
40 | |||
41 | -AC_DEFINE(XKB, 1, [Build XKB]) | ||
42 | -AC_DEFINE(XKB_IN_SERVER, 1, [Build XKB server]) | ||
43 | -AC_DEFINE(XKB_DFLT_DISABLED, 0, [Disable XKB per default]) | ||
44 | -REQUIRED_MODULES="$REQUIRED_MODULES xkbfile" | ||
45 | -XKB_LIB='$(top_builddir)/xkb/libxkb.la' | ||
46 | -XKB_STUB_LIB='$(top_builddir)/xkb/libxkbstubs.la' | ||
47 | +AM_CONDITIONAL(XKB, [test "x$XKB" = xyes]) | ||
48 | +if test "x$XKB" = xyes; then | ||
49 | + AC_DEFINE(XKB, 1, [Build XKB]) | ||
50 | + AC_DEFINE(XKB_IN_SERVER, 1, [Build XKB server]) | ||
51 | + AC_DEFINE(XKB_DFLT_DISABLED, 0, [Disable XKB per default]) | ||
52 | + REQUIRED_MODULES="$REQUIRED_MODULES xkbfile" | ||
53 | + XKB_LIB='$(top_builddir)/xkb/libxkb.la' | ||
54 | + XKB_STUB_LIB='$(top_builddir)/xkb/libxkbstubs.la' | ||
55 | +fi | ||
56 | |||
57 | AC_CHECK_FUNC(strcasecmp, [], AC_DEFINE([NEED_STRCASECMP], 1, | ||
58 | [Do not have 'strcasecmp'.])) | ||