qLinux
… a distribution study
<< Prev Xorg-Server-21.1.3
Next >> Xorg Drivers
Xorg Drivers
        libevdev-1.12.1
        mtdev-1.1.6
        libudev-zero
        xf86-input-evdev-2.10.6
        libinput-1.20.0
        xf86-input-libinput-1.2.1
        xf86-input-synaptics-1.9.1
        xf86-video-fbdev-0.5.0
        xcb-util-0.4.0
        libXScrnSaver-1.2.3
        libXtst-1.2.3
        libpng-1.6.37
        xf86-video-intel-20210222
- downloads
https://www.freedesktop.org/software/libevdev/libevdev-1.12.1.tar.xz https://bitmath.org/code/mtdev/mtdev-1.1.6.tar.bz2 https://www.x.org/pub/individual/driver/xf86-input-evdev-2.10.6.tar.bz2 https://gitlab.freedesktop.org/libinput/libinput/-/archive/1.20.0/libinput-1.20.0.tar.gz https://www.x.org/pub/individual/driver/xf86-input-libinput-1.2.1.tar.xz https://www.x.org/pub/individual/driver/xf86-input-synaptics-1.9.1.tar.bz2 https://www.x.org/pub/individual/driver/xf86-video-fbdev-0.5.0.tar.bz2 https://xcb.freedesktop.org/dist/xcb-util-0.4.0.tar.bz2 https://www.x.org/archive//individual/lib/libXScrnSaver-1.2.3.tar.bz2 https://www.x.org/archive//individual/lib/libXtst-1.2.3.tar.bz2 https://downloads.sourceforge.net/libpng/libpng-1.6.37.tar.xz https://anduin.linuxfromscratch.org/BLFS/xf86-video-intel/xf86-video-intel-20210222.tar.xz
libevdev-1.12.1
Download: libevdev-1.12.1.tar.xz. Build and install it1):
sed -i '1s|/usr|/qlnx|' libevdev/make-event-names.py meson build --buildtype=release $MO \ -Dtests=disabled \ -Ddocumentation=disabled ninja -C build install
-Dtests=disabled
    The tests requires check which is not available yet.
-Ddocumentation=disabled
    This requires doxygen which is not available yet.
mtdev-1.1.6
Download: mtdev-1.1.6.tar.bz2. The package is required by xf86-input-evdev-2.10.6. Build and install it:
patch -Np1 -i mtdev-1.1.6-bld-20220409.patch ./configure $XC make make install
libudev-zero
The libudev-zero is a replacement of the one from systemd. It is required by xf86-input-evdev-2.10.6. Download the git repository:
git clone https://github.com/illiliti/libudev-zero.git
Fix the include path in the Makefile:
sed -i 's|/include|/inc|1' Makefile
Build and install libudev-zero
CC=gcc make make PREFIX=/libs install
xf86-input-evdev-2.10.6
Download: xf86-input-evdev-2.10.6.tar.bz2. Build and install it:
patch -Np1 -i xf86-input-evdev-2.10.6-bld-20220412.patch PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/libs/lib/pkgconfig" \ CFLAGS="-I/libs/inc" LDFLAGS="-L/libs/lib" \ ./configure $XC --with-xorg-conf-dir=/xsys/etc make make install
libinput-1.20.0
Download: libinput-1.20.0.tar.gz. Build and install it:
patch -Np1 -i libinput-1.20.0-src-20220412.patch PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/libs/lib/pkgconfig" \ meson build --buildtype=release $MO \ --libexecdir=/xsys/bin/libexec \ -Dlibwacom=false \ -Dtests=false \ -Ddebug-gui=false ninja -C build install
xf86-input-libinput-1.2.1
Download: xf86-input-libinput-1.2.1.tar.xz. Build and install it:
patch -Np1 -i xf86-input-libinput-1.2.1-bld-20220412.patch ./configure $XC CFLAGS="-I/libs/inc" --with-xorg-conf-dir=/xsys/etc make make install
xf86-input-synaptics-1.9.1
Download: xf86-input-synaptics-1.9.1.tar.bz2. Build and install it:
patch -Np1 -i xf86-input-synaptics-1.9.1-bld-20220412.patch patch -Np1 -i xf86-input-synaptics-1.9.1-src-20220412.patch ./configure $XC --with-xorg-conf-dir=/xsys/etc make make install
xf86-video-fbdev-0.5.0
Download: xf86-video-fbdev-0.5.0.tar.bz2. Build and install it:
patch -Np1 -i xf86-input-synaptics-1.9.1-bld-20220412.patch ./configure $XC make make install
xcb-util-0.4.0
Download: xcb-util-0.4.0.tar.bz2. Build and install it:
patch -Np1 -i xcb-util-0.4.0-bld-20220412.patch ./configure $XC make make install
libXScrnSaver-1.2.3
Download: libXScrnSaver-1.2.3.tar.bz2. Build and install it:
patch -Np1 -i libXScrnSaver-1.2.3-bld-20220412.patch ./configure $XC make make install
libXtst-1.2.3
Download: libXtst-1.2.3.tar.bz2. Build and install it:
patch -Np1 -i libXtst-1.2.3-bld-20220412.patch ./configure $XC make make install
libpng-1.6.37
Download: libpng-1.6.37.tar.xz. Build and install it:
patch -Np1 -i libpng-1.6.37-bld-20220412.patch patch -Np1 -i libpng-1.6.37-src-20220412.patch ./configure $XC make make install
xf86-video-intel-20210222
Download: xf86-video-intel-20210222.tar.xz. Build and install it:
patch -Np1 -i xf86-video-intel-20210222-src-20220412.patch PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/libs/lib/pkgconfig" \ CFLAGS="-I/xsys/inc" \ meson build $MO --libexecdir=/xsys/bin/libexec -Dvalgrind=false
The build system does link against  libXvMC.so 
, but 2 related functions are in  libXv.so 
. Fix the file  build.ninja 
:
sed -i '/libXvMC.so/s|/xsys/lib/libXvMC.so|/xsys/lib/libXv.so /xsys/lib/libXvMC.so|g' build/build.ninja
Build and install it:
ninja -C build install
<< Prev Xorg-Server-21.1.3
Next >> Xorg Drivers