You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xserver110.patch 3.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. diff -up xserver/configure.ac.vnc xserver/configure.ac
  2. --- xserver/configure.ac.vnc 2011-05-11 11:19:24.410708163 +0200
  3. +++ xserver/configure.ac 2011-05-11 11:19:26.409635824 +0200
  4. @@ -30,7 +30,6 @@ AC_INIT([xorg-server], 1.10.1.901, [http
  5. RELEASE_DATE="2011-05-06"
  6. AC_CONFIG_SRCDIR([Makefile.am])
  7. AM_INIT_AUTOMAKE([foreign dist-bzip2])
  8. -AM_MAINTAINER_MODE
  9. # Require xorg-macros minimum of 1.10 for XORG_CHECK_SGML_DOCTOOLS
  10. m4_ifndef([XORG_MACROS_VERSION],
  11. @@ -65,6 +64,7 @@ dnl forcing an entire recompile.x
  12. AC_CONFIG_HEADERS(include/version-config.h)
  13. AM_PROG_AS
  14. +AC_PROG_CXX
  15. AC_PROG_LN_S
  16. AC_LIBTOOL_WIN32_DLL
  17. AC_DISABLE_STATIC
  18. @@ -1513,6 +1513,10 @@ if test "x$XVFB" = xyes; then
  19. AC_SUBST([XVFB_SYS_LIBS])
  20. fi
  21. +dnl Xvnc DDX
  22. +AC_SUBST([XVNC_CPPFLAGS], ["-DHAVE_DIX_CONFIG_H $XEXT_INC $FB_INC $MI_INC $RENDER_INC $RANDR_INC"])
  23. +AC_SUBST([XVNC_LIBS], ["$FB_LIB $FIXES_LIB $XEXT_LIB $CONFIG_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $MAIN_LIB"])
  24. +AC_SUBST([XVNC_SYS_LIBS], ["$GLX_SYS_LIBS"])
  25. dnl Xnest DDX
  26. @@ -1551,6 +1555,8 @@ xorg_bus_linuxpci=no
  27. xorg_bus_bsdpci=no
  28. xorg_bus_sparc=no
  29. +AC_DEFINE_UNQUOTED(XORG_VERSION_CURRENT, [$VENDOR_RELEASE], [Current Xorg version])
  30. +
  31. if test "x$XORG" = xyes; then
  32. XORG_DDXINCS='-I$(top_srcdir)/hw/xfree86 -I$(top_srcdir)/hw/xfree86/include -I$(top_srcdir)/hw/xfree86/common'
  33. XORG_OSINCS='-I$(top_srcdir)/hw/xfree86/os-support -I$(top_srcdir)/hw/xfree86/os-support/bus -I$(top_srcdir)/os'
  34. @@ -1797,7 +1803,6 @@ if test "x$XORG" = xyes; then
  35. AC_DEFINE(XORGSERVER, 1, [Building Xorg server])
  36. AC_DEFINE(XFree86Server, 1, [Building XFree86 server])
  37. AC_DEFINE(XFree86LOADER, 1, [Building loadable XFree86 server])
  38. - AC_DEFINE_UNQUOTED(XORG_VERSION_CURRENT, [$VENDOR_RELEASE], [Current Xorg version])
  39. AC_DEFINE(NEED_XF86_TYPES, 1, [Need XFree86 typedefs])
  40. AC_DEFINE(NEED_XF86_PROTOTYPES, 1, [Need XFree86 helper functions])
  41. AC_DEFINE(__XSERVERNAME__, "Xorg", [Name of X server])
  42. @@ -2259,6 +2264,7 @@ hw/dmx/Makefile
  43. hw/dmx/man/Makefile
  44. hw/vfb/Makefile
  45. hw/vfb/man/Makefile
  46. +hw/vnc/Makefile
  47. hw/xnest/Makefile
  48. hw/xnest/man/Makefile
  49. hw/xwin/Makefile
  50. diff -up xserver/hw/Makefile.am.vnc xserver/hw/Makefile.am
  51. --- xserver/hw/Makefile.am.vnc 2011-05-11 11:19:24.476705776 +0200
  52. +++ xserver/hw/Makefile.am 2011-05-11 11:19:26.409635824 +0200
  53. @@ -33,7 +33,8 @@ SUBDIRS = \
  54. $(XNEST_SUBDIRS) \
  55. $(DMX_SUBDIRS) \
  56. $(KDRIVE_SUBDIRS) \
  57. - $(XQUARTZ_SUBDIRS)
  58. + $(XQUARTZ_SUBDIRS) \
  59. + vnc
  60. DIST_SUBDIRS = dmx xfree86 vfb xnest xwin xquartz kdrive
  61. diff -up xserver/mi/miinitext.c.vnc xserver/mi/miinitext.c
  62. --- xserver/mi/miinitext.c.vnc 2011-05-11 11:19:24.549703133 +0200
  63. +++ xserver/mi/miinitext.c 2011-05-11 11:19:42.022070885 +0200
  64. @@ -263,6 +263,9 @@ extern void DamageExtensionInit(INITARGS
  65. extern void CompositeExtensionInit(INITARGS);
  66. #endif
  67. extern void GEExtensionInit(INITARGS);
  68. +#ifdef TIGERVNC
  69. +extern void vncExtensionInit(INITARGS);
  70. +#endif
  71. /* The following is only a small first step towards run-time
  72. * configurable extensions.
  73. @@ -433,6 +436,9 @@ InitExtensions(int argc, char *argv[])
  74. #ifdef XF86BIGFONT
  75. if (!noXFree86BigfontExtension) XFree86BigfontExtensionInit();
  76. #endif
  77. +#ifdef TIGERVNC
  78. + vncExtensionInit();
  79. +#endif
  80. #if !defined(NO_HW_ONLY_EXTS)
  81. #if defined(XF86VIDMODE)
  82. if (!noXFree86VidModeExtension) XFree86VidModeExtensionInit();