From 553803c6b30b90bd3ed036122a05f1e70730a278 Mon Sep 17 00:00:00 2001 From: DRC Date: Sat, 1 Oct 2011 19:13:12 +0000 Subject: [PATCH] Disable Composite extension by default in the legacy-friendly TigerVNC build. Justification: Some older versions of Gnome do not work properly when Composite is enabled. This is known to be a problem with RHEL 4 (Gnome 2.8), and it causes the legacy-friendly build to be unusable on that platform. Newer Gnome versions, such as 2.16.0 (the version in RHEL 5), work properly with Composite enabled, but those versions don't support compositing anyhow, so it doesn't matter if we remove the extension. Typically, platforms that are new enough to support compositing are also new enough to not require the legacy-friendly build of TigerVNC. Further, Composite can be re-enabled by simply adding --enable-composite to the XORGCFGFLAGS env. variable prior to executing 'build-xorg build'. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4686 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/build-xorg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/build-xorg b/unix/build-xorg index 95e7134f..0e33da4a 100755 --- a/unix/build-xorg +++ b/unix/build-xorg @@ -189,7 +189,7 @@ build () echo "*** Building xserver ***" pushd xorg/xserver autoreconf -fiv - XORGCFGFLAGS="--disable-xinerama --disable-xvfb --disable-xnest --disable-xorg --disable-dmx --disable-xwin --disable-xephyr --disable-kdrive --disable-config-dbus --disable-config-hal --disable-config-udev --with-sha1=libgcrypt SHA1_LIB=-lcrypto --disable-shared --enable-static ${XORGCFGFLAGS}" + XORGCFGFLAGS="--disable-composite --disable-xinerama --disable-xvfb --disable-xnest --disable-xorg --disable-dmx --disable-xwin --disable-xephyr --disable-kdrive --disable-config-dbus --disable-config-hal --disable-config-udev --with-sha1=libgcrypt SHA1_LIB=-lcrypto --disable-shared --enable-static ${XORGCFGFLAGS}" ./configure ${CFGHOST} --prefix=${PREFIX} ${XORGCFGFLAGS} if [ $? -ne 0 ]; then echo "Failed to configure X server." -- 2.39.5