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 | |
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')
3 files changed, 72 insertions, 0 deletions
diff --git a/meta/packages/xorg-xserver/xserver-kdrive/disable-apm.patch b/meta/packages/xorg-xserver/xserver-kdrive/disable-apm.patch new file mode 100644 index 0000000000..bd8842721b --- /dev/null +++ b/meta/packages/xorg-xserver/xserver-kdrive/disable-apm.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | --- xserver/hw/kdrive/linux/linux.c.orig 2005-04-23 15:56:13.988849232 +0000 | ||
2 | +++ xserver/hw/kdrive/linux/linux.c 2005-04-23 15:57:05.001094192 +0000 | ||
3 | @@ -342,7 +342,7 @@ | ||
4 | /* | ||
5 | * Open the APM driver | ||
6 | */ | ||
7 | - LinuxApmFd = open ("/dev/apm_bios", 2); | ||
8 | + /*LinuxApmFd = open ("/dev/apm_bios", 2); | ||
9 | if (LinuxApmFd < 0 && errno == ENOENT) | ||
10 | LinuxApmFd = open ("/dev/misc/apm_bios", 2); | ||
11 | if (LinuxApmFd >= 0) | ||
12 | @@ -352,7 +352,7 @@ | ||
13 | RegisterBlockAndWakeupHandlers (LinuxApmBlock, LinuxApmWakeup, 0); | ||
14 | AddEnabledDevice (LinuxApmFd); | ||
15 | } | ||
16 | - | ||
17 | + */ | ||
18 | /* | ||
19 | * now get the VT | ||
20 | */ | ||
diff --git a/meta/packages/xorg-xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch b/meta/packages/xorg-xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch new file mode 100644 index 0000000000..ccc19139c8 --- /dev/null +++ b/meta/packages/xorg-xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | Index: xorg-server-1.3.0.0/configure.ac | ||
2 | =================================================================== | ||
3 | --- xorg-server-1.3.0.0.orig/configure.ac 2007-04-20 03:23:40.000000000 +0200 | ||
4 | +++ xorg-server-1.3.0.0/configure.ac 2007-05-09 16:51:34.000000000 +0200 | ||
5 | @@ -520,7 +520,11 @@ | ||
6 | XEXTXORG_LIB='$(top_builddir)/Xext/libXextbuiltin.la' | ||
7 | |||
8 | dnl Core modules for most extensions, et al. | ||
9 | +if test "$KDRIVE" = yes; then | ||
10 | +REQUIRED_MODULES="[randrproto >= 1.2] renderproto [fixesproto >= 4.0] [damageproto >= 1.1] xcmiscproto xextproto xproto xtrans xf86bigfontproto [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto inputproto [kbproto >= 1.0.3]" | ||
11 | +else | ||
12 | REQUIRED_MODULES="[randrproto >= 1.2] renderproto [fixesproto >= 4.0] [damageproto >= 1.1] xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidmodeproto xf86bigfontproto [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto inputproto xf86dgaproto [kbproto >= 1.0.3]" | ||
13 | +fi | ||
14 | REQUIRED_LIBS="xfont xau fontenc" | ||
15 | |||
16 | AM_CONDITIONAL(XV, [test "x$XV" = xyes]) | ||
17 | @@ -1603,7 +1607,9 @@ | ||
18 | AC_SUBST(XKB_COMPILED_DIR) | ||
19 | |||
20 | dnl and the rest of these are generic, so they're in config.h | ||
21 | +if test ! x"$KDRIVE" = xyes; then | ||
22 | AC_DEFINE(XFreeXDGA, 1, [Build XDGA support]) | ||
23 | +fi | ||
24 | AC_DEFINE(XResExtension, 1, [Build XRes extension]) | ||
25 | |||
26 | AC_TRY_COMPILE([ | ||
27 | @@ -1616,10 +1622,12 @@ | ||
28 | |||
29 | AC_DEFINE_DIR(PROJECTROOT, prefix, [Overall prefix]) | ||
30 | |||
31 | +if test ! "x$KDRIVE" = xyes ; then | ||
32 | dnl xorgconfig CLI configuration utility | ||
33 | PKG_CHECK_MODULES([XORGCONFIG_DEP], [xkbfile x11]) | ||
34 | AC_SUBST(XORGCONFIG_DEP_CFLAGS) | ||
35 | AC_SUBST(XORGCONFIG_DEP_LIBS) | ||
36 | +fi | ||
37 | |||
38 | dnl xorgcfg GUI configuration utility | ||
39 | AC_ARG_ENABLE(xorgcfg, AS_HELP_STRING([--enable-xorgcfg], | ||
diff --git a/meta/packages/xorg-xserver/xserver-kdrive/no-serial-probing.patch b/meta/packages/xorg-xserver/xserver-kdrive/no-serial-probing.patch new file mode 100644 index 0000000000..35ccadaa8d --- /dev/null +++ b/meta/packages/xorg-xserver/xserver-kdrive/no-serial-probing.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | --- xserver/hw/kdrive/linux/mouse.c.orig 2004-05-13 14:25:51.000000000 -0700 | ||
2 | +++ xserver/hw/kdrive/linux/mouse.c 2005-09-22 12:20:47.000000000 -0700 | ||
3 | @@ -927,8 +927,10 @@ char *kdefaultMouse[] = { | ||
4 | "/dev/psaux", | ||
5 | "/dev/input/mice", | ||
6 | "/dev/adbmouse", | ||
7 | +#ifdef BREAK_MY_SERIAL_CONSOLE | ||
8 | "/dev/ttyS0", | ||
9 | "/dev/ttyS1", | ||
10 | +#endif | ||
11 | }; | ||
12 | |||
13 | #define NUM_DEFAULT_MOUSE (sizeof (kdefaultMouse) / sizeof (kdefaultMouse[0])) | ||