#!/usr/bin/bash set -eoux pipefail ############################################################################### # Transaction: Umbriel Wayland-Compositor (aus Terra nightly) ############################################################################### # Umbriel ist ein Wayland-Compositor (wlroots >= 0.20) von noctalia-dev. # Paket `umbriel-nightly` + `xdg-desktop-portal-umbriel-nightly` aus Terra. # Noctalia Shell (Paket `noctalia`, v5) bleibt als Desktop-Shell (Bar, # Launcher, OSD) und wird hier ebenfalls installiert. # Doku: https://docs.noctalia.dev/umbriel/ ############################################################################### echo "Installing Umbriel compositor + Noctalia Shell..." FEDORA_VERSION="$(rpm -E %fedora)" # Terra-Hickup-Schutz (bekannte CDN-Incidents): Pruefen, ob die Pakete # verfuegbar sind. Wenn nicht, Metadata neu ziehen und einmal retry. for pkg in umbriel-nightly xdg-desktop-portal-umbriel-nightly; do if ! dnf5 list available "${pkg}" 2>/dev/null | grep -q "${pkg}"; then echo "Terra liefert ${pkg} gerade nicht - Metadata-Refresh + 1 Retry..." dnf5 clean all dnf5 list available "${pkg}" 2>/dev/null | grep -q "${pkg}" \ || { echo "FEHLER: ${pkg} nicht in Terra (CDN-Hickup? spaeter neu bauen)"; exit 1; } fi done # Umbriel + Portal aus dem Terra-Repo (konfiguriert in 10-repos.sh). # Signaturpruefung aktiv (terra-gpg-keys in 10-repos.sh installiert). dnf5 install -y \ --allowerasing \ umbriel-nightly \ xdg-desktop-portal-umbriel-nightly # Noctalia Shell + Desktop-Basis aus Fedora-Repos dnf5 install -y \ --allowerasing \ noctalia \ flatpak \ adw-gtk3-theme \ dconf \ gsettings-desktop-schemas \ "f${FEDORA_VERSION}-backgrounds-base" \ "f${FEDORA_VERSION}-backgrounds-gnome" \ fedora-workstation-backgrounds \ gnome-backgrounds dnf5 clean all # User-Service fuer Umbriel (systemd --user) aktivieren systemctl --global enable umbriel.service || true # Terra nach der Installation wieder entfernen (Atomic-Prinzip) rm -f /etc/yum.repos.d/terra*.repo /usr/share/dnf5/repos.d/terra*.repo dnf5 clean all