Bug fixes for Xlibre integration.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -16,18 +16,15 @@ esac | ||||
|  | ||||
| ./.includes/toggle-screen.sh -n | ||||
|  | ||||
| # Install X11Libre instead of Xorg | ||||
| # Install X11Libre | ||||
| if ! install_xlibre; then | ||||
|     msgbox "X11Libre installation failed. Falling back to standard Xorg installation." | ||||
|     install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xorg-drivers xorg-server xorg-xinit | ||||
|     # replace xf86-video-dummy with xf86-video-dummy-with-vt for Xorg fallback | ||||
|     yay --noconfirm -Rdd xf86-video-dummy 2>/dev/null || true | ||||
|     url_install 'https://stormux.org/packages/xf86-video-dummy-with-vt-0.4.1-1-aarch64.pkg.tar.xz' | ||||
| else | ||||
|     # X11Libre installed successfully, install remaining packages | ||||
|     install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xorg-xinit | ||||
|     msgbox "X11Libre installation failed. Installation aborted." | ||||
|     return 1 | ||||
| fi | ||||
|  | ||||
| # X11Libre installed successfully, install remaining packages | ||||
| install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xorg-xinit | ||||
|  | ||||
| # GUI bluetooth manager | ||||
| if [[ "${architecture}" == "aarch64" ]]; then | ||||
|     install_package blueman | ||||
|   | ||||
		Reference in New Issue
	
	Block a user