Bug fixes for Xlibre integration.

This commit is contained in:
Storm Dragon
2025-06-18 23:37:31 -04:00
parent 419522c475
commit 41f91fc610
2 changed files with 10 additions and 13 deletions

View File

@ -74,7 +74,7 @@ install_xlibre() {
# Build X11Libre server first
infobox "Building X11Libre server (this may take 10-15 minutes)..."
cd "$buildDir/xlibre-server-git"
if ! makepkg --noconfirm; then
if ! makepkg -crs --noconfirm; then
msgbox "Failed to build X11Libre server. Installation aborted."
cd / && rm -rf "$buildDir"
return 1
@ -88,7 +88,7 @@ install_xlibre() {
sed -i "s/makedepends=.*/makedepends=('xlibre-server-devel' 'X-ABI-XINPUT_VERSION=26.0')/" PKGBUILD
sed -i "s/conflicts=.*/conflicts=('xf86-input-libinput' 'xorg-server<1.19.0' 'X-ABI-XINPUT_VERSION<26' 'X-ABI-XINPUT_VERSION>=27')/" PKGBUILD
if ! makepkg --noconfirm; then
if ! makepkg -crs --noconfirm; then
msgbox "Failed to build X11Libre input driver. Installation aborted."
cd / && rm -rf "$buildDir"
return 1
@ -105,7 +105,7 @@ install_xlibre() {
sed -i "/'SKIP'/d" PKGBUILD
sed -i '/validpgpkeys=/s/^/#/' PKGBUILD
if ! makepkg --noconfirm; then
if ! makepkg -crs --noconfirm; then
msgbox "Failed to build X11Libre dummy video driver. Installation aborted."
cd / && rm -rf "$buildDir"
return 1
@ -161,7 +161,7 @@ install_xlibre() {
sed -i "s/makedepends=.*/makedepends=('xlibre-server-devel-git' 'X-ABI-VIDEODRV_VERSION=28.0')/" PKGBUILD
sed -i "s/conflicts=.*/conflicts=('xorg-server<21.1.1' 'X-ABI-VIDEODRV_VERSION<28' 'X-ABI-VIDEODRV_VERSION>=29')/" PKGBUILD
if ! makepkg --noconfirm; then
if ! makepkg -crs --noconfirm; then
msgbox "Failed to build fbdev driver for X11Libre."
cd / && rm -rf "$buildDir"
return 1