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.

xserver21.1.1.patch 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. diff -urpN xorg-server-1.20.0/configure.ac xorg-server-1.20.0/configure.ac
  2. --- xorg-server-1.20.0/configure.ac 2018-05-10 09:32:34.000000000 -0700
  3. +++ xorg-server-1.20.0/configure.ac 2018-06-13 19:04:47.536413626 -0700
  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. @@ -1777,6 +1778,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. @@ -1812,6 +1817,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. @@ -2029,7 +2036,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. @@ -2565,6 +2571,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 -urpN xorg-server-1.20.0/hw/Makefile.am xorg-server-1.20.0/hw/Makefile.am
  44. --- xorg-server-1.20.0/hw/Makefile.am 2018-05-10 09:32:34.000000000 -0700
  45. +++ xorg-server-1.20.0/hw/Makefile.am 2018-06-13 19:04:47.536413626 -0700
  46. @@ -44,3 +44,5 @@
  47. relink:
  48. $(AM_V_at)for i in $(SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done
  49. +
  50. +SUBDIRS += vnc
  51. diff -urpN xorg-server-1.20.0/mi/miinitext.c xorg-server-1.20.0/mi/miinitext.c
  52. --- xorg-server-1.20.0/mi/miinitext.c 2018-05-10 09:32:37.000000000 -0700
  53. +++ xorg-server-1.20.0/mi/miinitext.c 2018-06-13 19:05:14.742200675 -0700
  54. @@ -107,8 +107,15 @@ SOFTWARE.
  55. #include "os.h"
  56. #include "globals.h"
  57. +#ifdef TIGERVNC
  58. +extern void vncExtensionInit(void);
  59. +#endif
  60. +
  61. /* List of built-in (statically linked) extensions */
  62. static const ExtensionModule staticExtensions[] = {
  63. +#ifdef TIGERVNC
  64. + {vncExtensionInit, "VNC-EXTENSION", NULL},
  65. +#endif
  66. {GEExtensionInit, "Generic Event Extension", &noGEExtension},
  67. {ShapeExtensionInit, "SHAPE", NULL},
  68. #ifdef MITSHM