Stefan Dirsch
e5b1bdbcef
- Update to tigervnc 1.12.0 * The native viewer now supports full screen over a subset of monitors (e.g. 2 out of 3), and reacts properly to monitors being added or removed * Recent server history in the native viewer * The native viewer now has an option to reconnect if the connection is dropped * Translations are now enabled on Windows and macOS for the native viewer * The native viewer now respects the system security policy * Better handling of accented keys in the Java viewer * The Unix servers can now listen to both a Unix socket and a TCP port at the same time * The network code in both the servers and the native viewer has been restructured to give a more responsive experience * The vncserver service now correctly handles settings set to "0" * Fixed the clipboard Unicode handling in both the native viewer and the servers * Support for pointer "warping" in Xvnc and the native viewer, enabling e.g. FPS games - Update to tigervnc 1.11.0 * A security issue has been fixed in how the viewers handle TLS certificate exceptions * vncserver has gotten a major redesign to be compatible with modern distributions * The native viewer now has touch gestures to handle certain mouse actions (e.g. scroll wheel) * Middle mouse button emulation in the native viewer, for devices with only two mouse buttons * The Java viewer now supports Java 9+, but also now requires Java 8+ * Support for alpha cursors in the Java viewer (a feature already supported in the native viewer) * The password and username can now be specified via the environment for the native viewer * Support for building Xvnc/libvnc.so with Xorg 1.20.7+ and deprecate support for Xorg older than 1.16 * The official builds have been fixed to work on the upcoming macOS 11 * The Windows server (WinVNC) is now packaged separately as it is unmaintained and buggy - Removed patches (included in 1.12.0): * U_viewer-reset-ctrl-alt-to-menu-state-on-focus.patch * tigervnc-fix-saving-of-bad-server-certs.patch * u_xorg-server-1.20.7-ddxInputThreadInit.patch * U_0001-Properly-store-certificate-exceptions.patch * U_0002-Properly-store-certificate-exceptions-in-Java-viewer.patch * tigervnc-FIPS-use-RFC7919.patch OBS-URL: https://build.opensuse.org/request/show/955605 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=221
107 lines
3.3 KiB
Diff
107 lines
3.3 KiB
Diff
Index: xserver/configure.ac
|
|
===================================================================
|
|
--- xserver.orig/configure.ac
|
|
+++ xserver/configure.ac
|
|
@@ -72,6 +72,7 @@ dnl forcing an entire recompile.x
|
|
AC_CONFIG_HEADERS(include/version-config.h)
|
|
|
|
AM_PROG_AS
|
|
+AC_PROG_CXX
|
|
AC_PROG_LN_S
|
|
LT_PREREQ([2.2])
|
|
LT_INIT([disable-static win32-dll])
|
|
@@ -1713,6 +1714,10 @@ if test "x$XVFB" = xyes; then
|
|
AC_SUBST([XVFB_SYS_LIBS])
|
|
fi
|
|
|
|
+dnl Xvnc DDX
|
|
+AC_SUBST([XVNC_CPPFLAGS], ["-DHAVE_DIX_CONFIG_H $XSERVER_CFLAGS"])
|
|
+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"])
|
|
+AC_SUBST([XVNC_SYS_LIBS], ["$GLX_SYS_LIBS"])
|
|
|
|
dnl Xnest DDX
|
|
|
|
@@ -1748,6 +1753,8 @@ if test "x$XORG" = xauto; then
|
|
fi
|
|
AC_MSG_RESULT([$XORG])
|
|
|
|
+AC_DEFINE_UNQUOTED(XORG_VERSION_CURRENT, [$VENDOR_RELEASE], [Current Xorg version])
|
|
+
|
|
if test "x$XORG" = xyes; then
|
|
PKG_CHECK_MODULES([LIBXCVT], $LIBXCVT)
|
|
|
|
@@ -1956,7 +1963,6 @@ if test "x$XORG" = xyes; then
|
|
AC_DEFINE(XORG_SERVER, 1, [Building Xorg server])
|
|
AC_DEFINE(XORGSERVER, 1, [Building Xorg server])
|
|
AC_DEFINE(XFree86Server, 1, [Building XFree86 server])
|
|
- AC_DEFINE_UNQUOTED(XORG_VERSION_CURRENT, [$VENDOR_RELEASE], [Current Xorg version])
|
|
AC_DEFINE(NEED_XF86_TYPES, 1, [Need XFree86 typedefs])
|
|
AC_DEFINE(NEED_XF86_PROTOTYPES, 1, [Need XFree86 helper functions])
|
|
AC_DEFINE(__XSERVERNAME__, "Xorg", [Name of X server])
|
|
@@ -2339,6 +2345,7 @@ hw/xfree86/utils/man/Makefile
|
|
hw/xfree86/utils/gtf/Makefile
|
|
hw/vfb/Makefile
|
|
hw/vfb/man/Makefile
|
|
+hw/vnc/Makefile
|
|
hw/xnest/Makefile
|
|
hw/xnest/man/Makefile
|
|
hw/xwin/Makefile
|
|
Index: xserver/hw/Makefile.am
|
|
===================================================================
|
|
--- xserver.orig/hw/Makefile.am
|
|
+++ xserver/hw/Makefile.am
|
|
@@ -28,7 +28,8 @@ SUBDIRS = \
|
|
$(XVFB_SUBDIRS) \
|
|
$(XNEST_SUBDIRS) \
|
|
$(KDRIVE_SUBDIRS) \
|
|
- $(XQUARTZ_SUBDIRS)
|
|
+ $(XQUARTZ_SUBDIRS) \
|
|
+ vnc
|
|
|
|
DIST_SUBDIRS = xfree86 vfb xnest xwin xquartz kdrive
|
|
|
|
Index: xserver/mi/miinitext.c
|
|
===================================================================
|
|
--- xserver.orig/mi/miinitext.c
|
|
+++ xserver/mi/miinitext.c
|
|
@@ -106,8 +106,15 @@ SOFTWARE.
|
|
|
|
#include "miinitext.h"
|
|
|
|
+#ifdef TIGERVNC
|
|
+extern void vncExtensionInit(void);
|
|
+#endif
|
|
+
|
|
/* List of built-in (statically linked) extensions */
|
|
static const ExtensionModule staticExtensions[] = {
|
|
+#ifdef TIGERVNC
|
|
+ {vncExtensionInit, "VNC-EXTENSION", NULL},
|
|
+#endif
|
|
{GEExtensionInit, "Generic Event Extension", &noGEExtension},
|
|
{ShapeExtensionInit, "SHAPE", NULL},
|
|
#ifdef MITSHM
|
|
Index: xserver/hw/vnc/xvnc.c
|
|
===================================================================
|
|
--- xserver.orig/hw/vnc/xvnc.c
|
|
+++ xserver/hw/vnc/xvnc.c
|
|
@@ -69,7 +69,18 @@ extern char buildtime[];
|
|
#undef VENDOR_RELEASE
|
|
#undef VENDOR_STRING
|
|
#include "version-config.h"
|
|
-#include "site.h"
|
|
+
|
|
+#ifndef VENDOR_STRING
|
|
+#define VENDOR_STRING "The X.Org Foundation"
|
|
+#endif
|
|
+
|
|
+/* Default logging parameters. */
|
|
+#ifndef DEFAULT_LOG_VERBOSITY
|
|
+#define DEFAULT_LOG_VERBOSITY 0
|
|
+#endif
|
|
+#ifndef DEFAULT_LOG_FILE_VERBOSITY
|
|
+#define DEFAULT_LOG_FILE_VERBOSITY 3
|
|
+#endif
|
|
|
|
#define XVNCVERSION "TigerVNC 1.12.0"
|
|
#define XVNCCOPYRIGHT ("Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)\n" \
|