site  contact  subhomenews

Xlibre input drivers compiled in EasyOS

June 05, 2026 — BarryK

Previous blog post, explains how compiled the Xlibre server:

For the input drivers, created script '2xinput':

#!/bin/sh

mkdir -p input

export XLIBRE_SRC="$(pwd)"
export XLIBRE_BUILD="${XLIBRE_SRC}/build"
export XLIBRE_PREFIX="${XLIBRE_SRC}/image"
#export XLIBRE_PREFIX="/usr"

cd input
#rem:  egalax elographics
In="evdev joystick vmmouse wacom libinput void synaptics keyboard mouse"

for aI in ${In}
do
 -d xf86-input-${aI} ] && rm -rf xf86-input-${aI}
 git clone https://github.com/X11Libre/xf86-input-${aI}.git --depth=1
 sync
 cd xf86-input-${aI}
 case "$aI" in
  joystickEx="--disable-debug" ;;
  synapticsEx="--disable-unit-tests" ;;
  voidEx="" ;;
  wacomEx="--disable-unit-tests --disable-debug --with-systemd-unit-dir=no" ;;
  *) Ex="" ;;
 esac
 NOCONFIGURE=./autogen.sh
 PKG_CONFIG_PATH="${XLIBRE_PREFIX}/usr/lib/pkgconfig" \
    ./configure --prefix=/usr --sysconfdir=/etc/X11 --localstatedir=/var ${Ex}
 make
 DESTDIR=${XLIBRE_PREFIX} make install
 cd ..
 #hack, avoid conflicting .h files...
 cp -a -f --remove-destination ${XLIBRE_PREFIX}/usr/include/xorg/* /usr/include/xorg/
 sync
 echo -n "ENTER: "read keepgoing
done

Not much explanation required, pretty straightforward. Perhaps could have figured a way around it, but to be sure that the correct header files are always seen, copied them to /usr/include/xorg, as mentioned in the previous blog post.

Notice the "--with-systemd-unit-dir=no" for the wacom driver. This is because EasyOS uses busybox init, with pup_event service management. Definitely no systemd!

The script '2xinput', with false ".gz" appended, uploaded here.

Next blog post will explain how the video drivers were compiled.   

Tags: easy