fix: update branding package with correct DE list, initcpio, and launcher fixes

calamares-branding-antergos-next (pkgrel 19):
- calamares-next.sh: fix SetConfig() symlink clobber — rm symlink
  before cp so config is written as standalone file
- show.qml: remove squished logo slider, clean background overlay
  layout, remove Budgie references
- settings_offline.conf: dracut/dracutlukscfg -> initcpiocfg/initcpio/
  luksopenswaphookcfg; services-openrc -> services-artix;
  removeuser -> postcfg
- settings_online.conf: same initcpio/service fixes; netinstall ->
  packagechooser + unpackfs; remove removeuser
- packagechooser.conf: full DE selector with valid Artix groups
  (Plasma, Xfce, Cinnamon, MATE, LXQt, i3, Sway, Hyprland)
  + No Desktop option
This commit is contained in:
2026-06-29 21:28:18 +02:00
parent 9de9ca1feb
commit fff260cd52
6 changed files with 174 additions and 155 deletions
@@ -2,7 +2,7 @@
pkgname=calamares-branding-antergos-next pkgname=calamares-branding-antergos-next
pkgver=1.0 pkgver=1.0
pkgrel=17 pkgrel=19
pkgdesc="Calamares branding for Antergos NeXT with offline/online installer support" pkgdesc="Calamares branding for Antergos NeXT with offline/online installer support"
arch=('any') arch=('any')
url="https://github.com/Antergos-NeXT" url="https://github.com/Antergos-NeXT"
@@ -140,10 +140,12 @@ InstallWithLogs() {
SetConfig() { SetConfig() {
case "$mode" in case "$mode" in
online) online)
sudo rm -f "/etc/calamares/settings.conf"
sudo cp "/etc/calamares-online/settings.conf" "/etc/calamares/settings.conf" sudo cp "/etc/calamares-online/settings.conf" "/etc/calamares/settings.conf"
PreLog "Using online settings" PreLog "Using online settings"
;; ;;
offline) offline)
sudo rm -f "/etc/calamares/settings.conf"
sudo cp "/etc/calamares-offline/settings.conf" "/etc/calamares/settings.conf" sudo cp "/etc/calamares-offline/settings.conf" "/etc/calamares/settings.conf"
PreLog "Using offline settings" PreLog "Using offline settings"
;; ;;
@@ -1,22 +1,55 @@
# SPDX-FileCopyrightText: no
# SPDX-License-Identifier: CC0-1.0
--- ---
mode: required mode: required
method: legacy method: legacy
labels: labels:
step: "Packages" step: "Desktop Environment"
items: items:
- id: "" - id: ""
name: "No Desktop" name: "No Desktop"
description: "Please pick a desktop environment from the list." description: "Install without a desktop environment — not recommended. You'll only get a TTY; screen recording won't work without a capture card."
screenshot: ":/images/no-selection.png" - id: plasma
- id: kde packages: [ plasma ]
packages: [ kde-frameworks, kde-plasma, kde-gear ] name: "Plasma"
name: Plasma Desktop description: "KDE Plasma Desktop — modern, feature-rich, highly customizable"
description: "KDE Plasma Desktop, simple by default." - id: xfce
screenshot: ":/images/kde.png" packages: [ xfce4, xfce4-goodies ]
- id: calamares name: "Xfce"
appdata: ../io.calamares.calamares.appdata.xml description: "Xfce — lightweight, classic desktop"
screenshot: ":/images/calamares.png" - id: cinnamon
- id: kate packages:
appstream: org.kde.kwrite.desktop - cinnamon
- cinnamon-control-center
- cinnamon-desktop
- cinnamon-menus
- cinnamon-screensaver
- cinnamon-session
- cinnamon-settings-daemon
- cinnamon-translations
name: "Cinnamon"
description: "Cinnamon — traditional desktop with modern conventions"
- id: mate
packages: [ mate, mate-extra ]
name: "MATE"
description: "MATE — continuation of GNOME 2"
- id: lxqt
packages: [ lxqt ]
name: "LXQt"
description: "LXQt — lightweight Qt desktop"
- id: i3
packages: [ i3 ]
name: "i3"
description: "i3 — tiling window manager"
- id: sway
packages:
- sway
- swaybg
- swayidle
- swaylock
name: "Sway"
description: "Sway — i3-compatible Wayland compositor"
- id: hyprland
packages:
- hyprland
- xdg-desktop-portal-hyprland
name: "Hyprland"
description: "Hyprland — dynamic tiling Wayland compositor"
@@ -2,14 +2,14 @@
modules-search: [ /usr/lib/calamares/modules, /etc/calamares/modules ] modules-search: [ /usr/lib/calamares/modules, /etc/calamares/modules ]
sequence: sequence:
- show: - show:
- welcome - welcome
- locale - locale
- keyboard - keyboard
- partition - partition
- users - users
- summary - summary
- exec: - exec:
- partition - partition
- mount - mount
- unpackfs - unpackfs
@@ -18,28 +18,34 @@ sequence:
- locale - locale
- keyboard - keyboard
- localecfg - localecfg
- luksopenswaphookcfg
- luksbootkeyfile - luksbootkeyfile
- dracutlukscfg - initcpiocfg
- dracut - initcpio
- users - users
- displaymanager - displaymanager
- networkcfg - networkcfg
- hwclock - hwclock
- services-openrc - services-artix
- grubcfg - grubcfg
- bootloader - bootloader
- packages - postcfg
- removeuser
- umount - umount
- show: - show:
- finished - finished
branding: antergos-next branding: antergos-next
prompt-install: false prompt-install: false
dont-chroot: false dont-chroot: false
oem-setup: false oem-setup: false
disable-cancel: false disable-cancel: false
disable-cancel-during-exec: false disable-cancel-during-exec: false
hide-back-and-next-during-exec: false hide-back-and-next-during-exec: false
quit-at-end: false quit-at-end: false
@@ -2,44 +2,53 @@
modules-search: [ /usr/lib/calamares/modules, /etc/calamares/modules ] modules-search: [ /usr/lib/calamares/modules, /etc/calamares/modules ]
sequence: sequence:
- show: - show:
- welcome - welcome
- locale - locale
- keyboard - keyboard
- packagechooser
- netinstall - netinstall
- partition - partition
- users - users
- summary - summary
- exec: - exec:
- partition - partition
- mount - mount
- netinstall - basestrap
- machineid - machineid
- packages
- fstab - fstab
- locale - locale
- keyboard - keyboard
- localecfg - localecfg
- luksopenswaphookcfg
- luksbootkeyfile - luksbootkeyfile
- dracutlukscfg - initcpiocfg
- dracut - initcpio
- users - users
- displaymanager - displaymanager
- networkcfg - networkcfg
- hwclock - hwclock
- services-openrc - services-artix
- grubcfg - grubcfg
- bootloader - bootloader
- removeuser - postcfg
- umount - umount
- show: - show:
- finished - finished
branding: antergos-next branding: antergos-next
prompt-install: false prompt-install: false
dont-chroot: false dont-chroot: false
oem-setup: false oem-setup: false
disable-cancel: false disable-cancel: false
disable-cancel-during-exec: false disable-cancel-during-exec: false
hide-back-and-next-during-exec: false hide-back-and-next-during-exec: false
quit-at-end: false quit-at-end: false
@@ -7,7 +7,6 @@ Item {
console.log("Slideshow) activated"); console.log("Slideshow) activated");
timer.restart(); timer.restart();
slider.reset(); slider.reset();
img.reset();
} }
function onLeave(){ function onLeave(){
@@ -22,7 +21,7 @@ Item {
interval: 10000 interval: 10000
running: true running: true
repeat: true repeat: true
onTriggered: slider.currentSlideIndex++,img.currentSlideIndex++ onTriggered: slider.currentSlideIndex++
} }
MouseArea { MouseArea {
@@ -30,30 +29,31 @@ Item {
onClicked: { onClicked: {
timer.restart(); timer.restart();
slider.currentSlideIndex++; slider.currentSlideIndex++;
img.currentSlideIndex++;
} }
} }
Item {
anchors.fill: parent
Image { Image {
id: background id: background
anchors { anchors.fill: parent
fill: parent
margins: -10
bottomMargin: 0
}
source: "background.jpg" source: "background.jpg"
sourceSize.width: width fillMode: Image.PreserveAspectCrop
sourceSize.height: height
} }
Rectangle {
anchors {
left: parent.left
right: parent.right
bottom: parent.bottom
} }
height: 200
color: Qt.rgba(0, 0, 0, 0.6)
Slider { Slider {
id: slider id: slider
height: 50 anchors {
fill: parent
margins: 20
}
slides: [ slides: [
Dia { Dia {
@@ -63,7 +63,7 @@ Item {
}, },
Dia { Dia {
title: qsTr("Desktop Environments") title: qsTr("Desktop Environments")
body: qsTr("Select from KDE Plasma, Xfce, Budgie, Cinnamon, MATE, LXQt, or i3/Sway") body: qsTr("Select from KDE Plasma, Xfce, Cinnamon, MATE, LXQt, i3, Sway, or Hyprland")
footer: qsTr("Each desktop is fully configured and ready to use") footer: qsTr("Each desktop is fully configured and ready to use")
}, },
Dia { Dia {
@@ -82,37 +82,6 @@ Item {
footer: qsTr("Reboot and enjoy Antergos NeXT") footer: qsTr("Reboot and enjoy Antergos NeXT")
} }
] ]
anchors {
centerIn: parent
horizontalCenterOffset: 50
verticalCenterOffset: 10
}
}
Slider {
id: img
height: 50
slides: [
Dia {
image: "antergos-logo.png"
},
Dia {
image: "antergos-logo.png"
},
Dia {
image: "antergos-logo.png"
},
Dia {
image: "antergos-logo.png"
},
Dia {
image: "antergos-logo.png"
}
]
anchors {
centerIn: parent
horizontalCenterOffset: -400
verticalCenterOffset: -100
} }
} }
} }