xorg-server kdrive xfbdev compiles ok for me. Slightly different
pkg_xorg-server.conf from that in raspberrypi target:

[ -e $confdir/$pkg.conf ] && . $confdir/$pkg.conf
var_append extraconfopt ' ' '--enable-kdrive --disable-dri
--disable-xorg --disable-xorgcfg --enable-xfbdev'
#var_append extraconfopt ' ' '--enable-kdrive --disable-dri
--disable-dri2 --disable-xorgcfg'
#var_append extraconfopt ' ' '--disable-xvfb --disable-xephyr
--disable-aiglx --disable-glx --disable-xnest --disable-registry
--disable-xv --disable-xvmc --disable-dga --disable-xace --enable-xaa
--enable-libdrm --disable-clientids --disable-dmx'
var_append extraconfopt ' ' '--disable-xvfb --disable-xephyr
--disable-aiglx --disable-glx --disable-xnest'

# the base package links Xorg by default ...
hook_add postmake 9 'ln -sfv Xfbdev $root$bindir/X'
hook_add postmake 9 'chmod u+s $root$bindir/Xfbdev'

...it would probably be appropriate to make the raspberrypi target
pkg_xorg-server.conf the same as above.

xorg-server complains that 'mesa' package is missing, though it is not
actually needed. I created pkg_mesa.conf:

mesa_compat_symlinks() {
        # some compat symlinks (needed e.g. for (free)glut)
        (
        cd $root/usr/lib
        ln -sdfv ../X11/include/GL $root/usr/include/GL
        ln -sfv ../X11/${libdir##*/}/libGL.* .
        #ln -sfv ../X11/${libdir##*/}/libGLU.* .
        )
}
hook_add postmake 5 mesa_compat_symlinks

# var_append extraconfopt ' '
'--with-dri-drivers="i915,i965,r200,radeon,swrast"'
# var_append extraconfopt ' '
'--with-gallium-drivers="i915,r300,r600,svga,swrast"'
#BK hmmm, this creates a virtually empty binary pkg, no libGL*, but it
does allow xorg-server to compile...
var_append extraconfopt ' ' '--disable-dri --disable-glx
--disable-osmesa --disable-egl --disable-gbm --disable-xvmc
--disable-vdpau --disable-va --disable-glu --disable-gallium-llvm
--with-gallium-drivers=""'

var_append GCC_WRAPPER_INSERT ' ' "-c?:-L`pkgprefix libdir libx11`
-lX11 -lXrender"

...this creates a useless mesa binary, with virtually nothing in it,
but it satisfies the xorg-server configure script, and xorg-server
compiles ok.

...probably it would be neater to hack the configure script.

This would also apply to the raspberrypi target, so add 'mesa' to the
pkg list, with the above 'pkg_mesa.conf'.

Note, for anyone who has not read my recent posts, I am building for a
x86 target, and got the pkg_xorg-server.conf out of the raspberrypi
target, then modified it slightly.

Regards,
Barry Kauler



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to