浏览代码

Fix legacy-friendly build (I hope). r4745 (enabling DPMS) removed -DNO_HW_ONLY_EXTS from Xvnc_CPPFLAGS in unix/xserver/hw/vnc/Makefile.am, which caused xorg-xserver 1.6.5 to attempt to build the XFree86-DRI extension, but the stub for

XFree86DRIExtensionInit() was missing, so Xvnc failed to link.  Adding --disable-dri (r4765) caused the GLX build to fail, because GLX needs either DRI or DRI2, and DRI2 was not being properly detected because the dri2proto module we were using was too old for our X server version.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4772 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.1.90
DRC 12 年前
父节点
当前提交
3aefcbea33
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      unix/build-xorg
  2. 1
    1
      unix/download-xorg-7.4

+ 1
- 1
unix/build-xorg 查看文件

@@ -189,7 +189,7 @@ build ()
echo "*** Building xserver ***"
pushd xorg/xserver
autoreconf -fiv
XORGCFGFLAGS="--disable-dri --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}"
XORGCFGFLAGS="--disable-dri --enable-dri2 --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."

+ 1
- 1
unix/download-xorg-7.4 查看文件

@@ -31,7 +31,7 @@ packages = {
"xcmiscproto": PROTO + "xcmiscproto-1.1.2.tar.bz2",
"xextproto": PROTO + "xextproto-7.0.3.tar.bz2",
"xf86driproto": PROTO + "xf86driproto-2.0.4.tar.bz2",
"dri2proto": PROTO + "dri2proto-1.1.tar.bz2",
"dri2proto": PROTO + "dri2proto-2.1.tar.bz2",
"compositeproto": PROTO + "compositeproto-0.4.tar.bz2",
"xf86vidmodeproto": PROTO + "xf86vidmodeproto-2.2.2.tar.bz2",
"videoproto": PROTO + "videoproto-2.2.2.tar.bz2",

正在加载...
取消
保存