surpport seeking the recorded video
[vuplus_openembedded] / recipes / xorg-xserver / xserver-kdrive-1.5.3 / disable-xf86-dga-xorgcfg.patch
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],