qLinux
… a distribution study
<< Prev XFonts
Next >> Xorg Drivers
Xorg-Server
First we install some more libraries. However, besides epoxy the xorg-server would build without them.
        libepoxy-1.5.10
        libXv-1.0.11
        libXvMC-1.0.13
        libXdamage-1.1.5
        libXcomposite-0.4.5
        libXres-1.2.1
        libdmx-1.1.4
        libXxf86misc-1.0.4
        libXxf86dga-1.1.5
        libXdmcp-1.1.3
        xkbcomp-1.4.5
        Xorg-Server-21.1.3
- downloads
https://ftp.acc.umu.se/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.10.tar.xz https://www.x.org/archive//individual/lib/libXv-1.0.11.tar.bz2 https://www.x.org/archive//individual/lib/libXvMC-1.0.13.tar.xz https://www.x.org/archive//individual/lib/libXdamage-1.1.5.tar.bz2 https://www.x.org/archive//individual/lib/libXcomposite-0.4.5.tar.bz https://www.x.org/archive//individual/lib/libXres-1.2.1.tar.bz2 https://www.x.org/archive//individual/lib/libdmx-1.1.4.tar.bz2 https://www.x.org/archive//individual/lib/libXxf86misc-1.0.4.tar.bz2 https://www.x.org/archive//individual/lib/libXxf86dga-1.1.5.tar.bz2 https://www.x.org/pub/individual/lib/libXdmcp-1.1.3.tar.bz2 https://www.x.org/archive/individual/app/xkbcomp-1.4.5.tar.bz2 https://www.x.org/pub/individual/xserver/xorg-server-21.1.3.tar.xz
libepoxy-1.5.10
Download: libepoxy-1.5.10.tar.xz. Fix the shebang of a python file:
sed -i '1s|usr|qlnx|' src/gen_dispatch.py
Configure the package:
PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/plng/lib/pkgconfig" \ meson build --prefix=/xsys \ --includedir=/xsys/inc \ --buildtype=release
The package refuses with constant evilness to link against  /libs/lib/libexpat.so.1 
. Thus we create a symlink before building it:
ln -sv /libs/lib/libexpat.so.1 /xsys/libs/libexpat.so.1
Build and install it:
ninja -C build ninja -C build install
libXv-1.0.11
Download: libXv-1.0.11.tar.bz2. Build and install it:
patch -Np1 -i libXv-1.0.11-bld-20220408.patch ./configure $XC make make install
libXvMC-1.0.13
Download: libXvMC-1.0.13.tar.xz. Build and install it:
patch -Np1 -i libXvMC-1.0.13-bld-20220408.patch ./configure $XC make make install
libXdamage-1.1.5
Download: libXdamage-1.1.5.tar.bz2. Build and install it:
patch -Np1 -i libXdamage-1.1.5-bld-20220408.patch ./configure $XC make make install
libXcomposite-0.4.5
Download: libXcomposite-0.4.5.tar.bz2. Build and install it:
patch -Np1 -i libXcomposite-0.4.5-bld-20220409.patch ./configure $XC make make install
libXres-1.2.1
Download: libXres-1.2.1.tar.bz2. Build and install it:
patch -Np1 -i libXres-1.2.1-bld-20220409.patch ./configure $XC make make install
libdmx-1.1.4
Download: libdmx-1.1.4.tar.bz2. Build and install it:
patch -Np1 -i libdmx-1.1.4-bld-20220408.patch ./configure $XC make make install
libXxf86misc-1.0.4
Download: libXxf86misc-1.0.4.tar.bz2. Build and install it:
patch -Np1 -i libXxf86misc-1.0.4-bld-20220408.patch ./configure $XC make make install
libXxf86dga-1.1.5
Download: libXxf86dga-1.1.5.tar.bz2.
patch -Np1 -i libXxf86dga-1.1.5-bld-20220407.patch ./configure $XC make make install
libXdmcp-1.1.3
Download: libXdmcp-1.1.3.tar.bz2. Build and install it:
patch -Np1 -i libXdmcp-1.1.3-bld-20220409.patch ./configure $XC make make install
xkbcomp-1.4.5
Download: xkbcomp-1.4.5.tar.bz2. Build and install it:
patch -Np1 -i xkbcomp-1.4.5-bld-20220409.patch ./configure $XC make make install
Xorg-Server-21.1.3
Download: xorg-server-21.1.3.tar.xz. Apply a patch to fix the sources:
patch -Np1 -i xorg-server-21.1.3-src-20220409.patch
The traditional configure - make doesn't work (anymore), thus we have to use meson:
meson build --prefix=/xsys \ --buildtype=release \ -Dudev=false -Dudev_kms=false \ --sysconfdir=/xsys/etc \ --datadir=/xsys/dat \ --includedir=/xsys/inc \ --mandir=/xsys/man \ -Dlog_dir=/xsys/log
-Dudev=false, -Dudev_kms=false
    This option is enabled by default, but we don't have udev at all.
Build and install it:
ninja -C build ninja -C build install
<< Prev XFonts
Next >> Xorg Drivers