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-ca57d06f2519tags/v1.1.90
@@ -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." |
@@ -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", |