Bring up SSD2092 display/touch, USB NCM, HiDPI XLibre/DWM, and USB charging
This commit is contained in:
1 parent
034c1f61b1
commit
9db15e30ce
150 files changed
+2356
-446
No files matched your search
+11
-2
@@ -50,9 +50,18 @@ EOF
|
||||
echo "[1b/5] Cloning X11Libre/xserver..."
|
||||
rm -rf "$XLIBRE_SRC"
|
||||
git clone --depth 1 https://github.com/X11Libre/xserver.git "$XLIBRE_SRC"
|
||||
fi
|
||||
XLIBRE_STAMP="$XLIBRE_SRC/.geminux-patches-sha"
|
||||
XLIBRE_PATCH_SHA="$( { sha256sum /geminux/patches/xlibre/*.patch 2>/dev/null || echo "no-patches"; } | sha256sum | awk "{print \$1}" )"
|
||||
if [ "${FORCE_REBUILD:-0}" = "1" ] || [ ! -f "$XLIBRE_STAMP" ] || [ "$(cat "$XLIBRE_STAMP" 2>/dev/null || true)" != "$XLIBRE_PATCH_SHA" ]; then
|
||||
echo "[1b-2/5] Applying XLibre patch series..."
|
||||
if [ -d "$XLIBRE_SRC/.git" ]; then
|
||||
git -c safe.directory="$XLIBRE_SRC" -C "$XLIBRE_SRC" checkout -- .
|
||||
fi
|
||||
for p in /geminux/patches/xlibre/*.patch; do
|
||||
[ -f "$p" ] && patch -d "$XLIBRE_SRC" -p1 < "$p"
|
||||
done
|
||||
printf "%s\n" "$XLIBRE_PATCH_SHA" > "$XLIBRE_STAMP"
|
||||
fi
|
||||
|
||||
XF86_LIBINPUT_SRC="/geminux/build-cache/xf86-input-libinput"
|
||||
@@ -157,7 +166,7 @@ EOF
|
||||
-Dgbm=true \
|
||||
-Dudev=true \
|
||||
-Dudev_kms=true \
|
||||
-Dsystemd_logind=true \
|
||||
-Dsystemd_logind=false \
|
||||
-Dseatd_libseat=false \
|
||||
-Dsuid_wrapper=false \
|
||||
-Dpciaccess=true \
|
||||
@@ -186,7 +195,7 @@ EOF
|
||||
-Dxkb_dir=/usr/share/X11/xkb \
|
||||
-Dxkb_output_dir=/tmp \
|
||||
-Dxkb_bin_dir=/usr/bin \
|
||||
-Dlog_dir=/tmp
|
||||
-Dlog_dir=/var/log
|
||||
|
||||
ninja -C /tmp/build-xlibre -j"$(nproc)"
|
||||
rm -rf /geminux/prebuilt/xlibre
|
||||
|
||||
Reference in new issue
Block a user