a radical and experimental distribution based on musl libc and busybox http://sabo.xyz
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
514 B

tarxf ftp://ftp.x.org/pub/individual/xserver/ xorg-server-1.9.5 .tar.bz2
sed -i 's/termio.h/termios.h/' hw/xfree86/os-support/xf86_OSlib.h
# XXX implement me, for now cast float to int.
sed -i 's/lroundf\?//' dix/getevents.c
CFLAGS="-D__gid_t=gid_t -D__uid_t=uid_t -DNOFILES_MAX=256 -D_GNU_SOURCE -I/include/pixman-1" \
./configure --prefix=/ --disable-shared \
--disable-glx --disable-dri \
--disable-xorg \
--enable-kdrive --enable-kdrive-evdev
make DESTDIR=$R install
ln -sf Xfbdev $R/bin/X