As mentioned in the previous post, r4745 (activating the DPMS extension)
broke our official project build, because of the following scenario:

r4745 removes -DNO_HW_ONLY_EXTS from Xvnc_CPPFLAGS in
unix/xserver/hw/vnc/Makefile.am.  This causes xorg-xserver 1.6.5 to
attempt to build the XFree86-DRI extension, but the stub for
XFree86DRIExtensionInit() is missing, so the build fails.  Adding
--disable-dri to the Xorg config flags, as I attempted to do in r4765,
doesn't work, because DRI is necessary to provide software OpenGL rendering.

Attempting to add -UXD86DRI to Xvnc_CPPFLAGS in
unix/xserver/hw/vnc/Makefile.am does not work, either, because
xorg-config.h, which is included by miinitext.c, overrides it.

I am not a big fan of "faking" the extension, that is, of creating an
artificial stub for XFree86DRIExtensionInit(), because it would lead to
a situation in which the extension was listed as available but was
horribly broken.  However, the only other solution I can concoct is
patching the configure.ac file in the X server so that it avoids
#defining XF86DRI in xorg-config.h but keeps DRI alive otherwise.  Not a
huge fan of that, either, since we don't really know which versions of
the X server this affects.

Any ideas on how to resurrect our official project builds?

DRC

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to