[ Building Xorg KDrive and NetBSD for embedded systems ]



Building KDrive on NetBSD

My install dir is: /disks/disk2/xorg/kdrive-install
First make some links so build process does not stop with errors

cd /disks/disk2/xorg/kdrive-install/lib/pkgconfig
ln -s randr.pc randrproto.pc
ln -s render.pc renderproto.pc
ln -s fixesext.pc fixesproto.pc
ln -s damageext.pc damageproto.pc
ln -s xext.pc xextproto.pc
ln -s compositeext.pc compositeproto.pc
ln -s resourceext.pc resourceproto.pc
ln -s recordext.pc recordproto.pc

Get all stuff from http://xorg.freedesktop.org/releases/X11R7.0/src/everything/

Here is a script to build every package:

#!/bin/sh

if [ -z "$PKG_CONFIG_PATH" ]; then
export PKG_CONFIG_PATH=/disks/disk2/samba/xorg/kdrive-install/lib/pkgconfig
else
export PKG_CONFIG_PATH="/disks/disk2/samba/xorg/kdrive-install/lib/pkgconfig:$PKG_CONFIG_PATH"
fi

./configure --prefix=/disks/disk2/xorg/kdrive-install
make
make install

for all the packages in following order:

xproto
libXdmcp
xextproto
bigreqsproto
xcmiscproto
libXau
xtrans
kbproto
inputproto
libX11
libXext
randr
render
libXrender
libXranr
fixesproto
damageproto
fontcacheproto
fontsproto
libfontenc
libXfontcache
libXfont
compositeproto ....
libXext


NetBSD