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.

xserver119.patch 3.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. diff -up xserver/configure.ac.xserver116-rebased xserver/configure.ac
  2. --- xserver/configure.ac.xserver116-rebased 2016-09-29 13:14:45.595441590 +0200
  3. +++ xserver/configure.ac 2016-09-29 13:14:45.631442006 +0200
  4. @@ -74,6 +74,7 @@ dnl forcing an entire recompile.x
  5. AC_CONFIG_HEADERS(include/version-config.h)
  6. AM_PROG_AS
  7. +AC_PROG_CXX
  8. AC_PROG_LN_S
  9. LT_PREREQ([2.2])
  10. LT_INIT([disable-static win32-dll])
  11. @@ -1863,6 +1864,10 @@ if test "x$XVFB" = xyes; then
  12. AC_SUBST([XVFB_SYS_LIBS])
  13. fi
  14. +dnl Xvnc DDX
  15. +AC_SUBST([XVNC_CPPFLAGS], ["-DHAVE_DIX_CONFIG_H $XSERVER_CFLAGS"])
  16. +AC_SUBST([XVNC_LIBS], ["$FB_LIB $FIXES_LIB $XEXT_LIB $CONFIG_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $DRI3_LIB $PRESENT_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $MAIN_LIB"])
  17. +AC_SUBST([XVNC_SYS_LIBS], ["$GLX_SYS_LIBS"])
  18. dnl Xnest DDX
  19. @@ -1898,6 +1903,8 @@ if test "x$XORG" = xauto; then
  20. fi
  21. AC_MSG_RESULT([$XORG])
  22. +AC_DEFINE_UNQUOTED(XORG_VERSION_CURRENT, [$VENDOR_RELEASE], [Current Xorg version])
  23. +
  24. if test "x$XORG" = xyes; then
  25. XORG_DDXINCS='-I$(top_srcdir)/hw/xfree86 -I$(top_srcdir)/hw/xfree86/include -I$(top_srcdir)/hw/xfree86/common'
  26. XORG_OSINCS='-I$(top_srcdir)/hw/xfree86/os-support -I$(top_srcdir)/hw/xfree86/os-support/bus -I$(top_srcdir)/os'
  27. @@ -2116,7 +2123,6 @@ if test "x$XORG" = xyes; then
  28. AC_DEFINE(XORG_SERVER, 1, [Building Xorg server])
  29. AC_DEFINE(XORGSERVER, 1, [Building Xorg server])
  30. AC_DEFINE(XFree86Server, 1, [Building XFree86 server])
  31. - AC_DEFINE_UNQUOTED(XORG_VERSION_CURRENT, [$VENDOR_RELEASE], [Current Xorg version])
  32. AC_DEFINE(NEED_XF86_TYPES, 1, [Need XFree86 typedefs])
  33. AC_DEFINE(NEED_XF86_PROTOTYPES, 1, [Need XFree86 helper functions])
  34. AC_DEFINE(__XSERVERNAME__, "Xorg", [Name of X server])
  35. @@ -2691,6 +2697,7 @@ hw/dmx/Makefile
  36. hw/dmx/man/Makefile
  37. hw/vfb/Makefile
  38. hw/vfb/man/Makefile
  39. +hw/vnc/Makefile
  40. hw/xnest/Makefile
  41. hw/xnest/man/Makefile
  42. hw/xwin/Makefile
  43. diff -up xserver/hw/Makefile.am.xserver116-rebased xserver/hw/Makefile.am
  44. --- xserver/hw/Makefile.am.xserver116-rebased 2016-09-29 13:14:45.601441659 +0200
  45. +++ xserver/hw/Makefile.am 2016-09-29 13:14:45.631442006 +0200
  46. @@ -38,7 +38,8 @@ SUBDIRS = \
  47. $(DMX_SUBDIRS) \
  48. $(KDRIVE_SUBDIRS) \
  49. $(XQUARTZ_SUBDIRS) \
  50. - $(XWAYLAND_SUBDIRS)
  51. + $(XWAYLAND_SUBDIRS) \
  52. + vnc
  53. DIST_SUBDIRS = dmx xfree86 vfb xnest xwin xquartz kdrive xwayland
  54. diff -up xserver/mi/miinitext.c.xserver116-rebased xserver/mi/miinitext.c
  55. --- xserver/mi/miinitext.c.xserver116-rebased 2016-09-29 13:14:45.618441855 +0200
  56. +++ xserver/mi/miinitext.c 2016-09-29 13:14:45.631442006 +0200
  57. @@ -114,6 +114,10 @@ SOFTWARE.
  58. #include "micmap.h"
  59. #include "globals.h"
  60. +#ifdef TIGERVNC
  61. +extern void vncExtensionInit(void);
  62. +#endif
  63. +
  64. /* The following is only a small first step towards run-time
  65. * configurable extensions.
  66. */
  67. @@ -238,6 +242,9 @@ EnableDisableExtensionError(const char *
  68. /* List of built-in (statically linked) extensions */
  69. static const ExtensionModule staticExtensions[] = {
  70. +#ifdef TIGERVNC
  71. + {vncExtensionInit, "VNC-EXTENSION", NULL},
  72. +#endif
  73. {GEExtensionInit, "Generic Event Extension", &noGEExtension},
  74. {ShapeExtensionInit, "SHAPE", NULL},
  75. #ifdef MITSHM
  76. --- xserver/include/os.h~ 2016-10-03 09:07:29.000000000 +0200
  77. +++ xserver/include/os.h 2016-10-03 14:13:00.013654506 +0200
  78. @@ -621,7 +621,7 @@
  79. extern _X_EXPORT void
  80. LogClose(enum ExitCode error);
  81. extern _X_EXPORT Bool
  82. -LogSetParameter(LogParameter param, int value);
  83. +LogSetParameter(enum _LogParameter param, int value);
  84. extern _X_EXPORT void
  85. LogVWrite(int verb, const char *f, va_list args)
  86. _X_ATTRIBUTE_PRINTF(2, 0);