Files
euri-packages/packages/calamares/PKGBUILD
T
c-ludenberg b171015d7b feat: major Calamares overhaul — dracut migration, branding polish, online/offline installer split
=== Calamares (core) ===
- Unskip packagechooserq from _skip_modules so it compiles in
- pkgrel 2→3

=== Calamares Branding ===
branding.desc:
- Blue Antergos color scheme (#4A9EFF accent, #20252B sidebar)
- New Antergos logo/icon PNGs from cnchi assets
- Larger window (860x540)
- Fix sidebar/navigation to widget mode

stylesheet.qss:
- Blue-themed QSS with gradients, styled buttons/inputs/sidebar

show.qml:
- 6-slide Calamares slideshow: welcome, EndeavourOS base, DE list,
  Antergos tools, finishing, thank-you (dark slide)

dracut migration:
- dracut.conf (NEW): initramfsName for dracut module compatibility
- Remove mkinitcpio reference, dracut handles initramfs generation

=== Online/Offline Installer Split ===
Problem: unpackfs (GNOME squashfs) + netinstall (selected DE) installs
two DEs — wasteful and messy.
Solution: Two entirely separate Calamares configurations.

settings_offline.conf (NEW):
- Traditional unpackfs path, no netinstall steps
- Installs GNOME from pre-built squashfs (current behavior)
- Used by default `calamares` or via `calamares -c /etc/calamares-offline`

settings_online.conf (NEW):
- No unpackfs — everything installed from internet via netinstall
- netinstall in both show (DE selection) and exec (package install)
- Base system + Antergos packages as hidden/immutable groups
- Used via `calamares -c /etc/calamares-online`

netinstall.yaml (NEW):
- Base System (hidden, immutable): kernel, base, firmware, network
- Antergos Packages (hidden, immutable): wallpapers, welcome, yay, calamares
- 8 Desktop Environments: KDE, GNOME, Xfce, Budgie, Cinnamon, MATE, LXQt, i3/Sway
- Hardware Support group: GPU drivers, vulkan, pipewire

netinstall.conf (NEW): groupsUrl pointing to netinstall.yaml

welcome.conf (NEW): internet check (informational), 8GB storage/2GB RAM/power required

calamares-next.sh (NEW): Launcher script — zenity/kdialog/dialog
choice between Offline and Online, runs Calamares with the right config.
Checks internet connectivity before starting online install.

PKGBUILD install layout:
- Branding shared at /usr/share/calamares/branding/antergos-next/
- Modules shared at /etc/calamares/modules/
- /etc/calamares-offline/  — settings.conf for offline
- /etc/calamares-online/   — settings.conf for online
- /etc/calamares/settings.conf → symlink to offline (default)
- /usr/bin/calamares-next  — launcher script

=== Antergos Welcome ===
PKGBUILD: copy data/preferences.json to package root (fixes
runtime preferences loading in subdirectory layout)
2026-06-23 01:18:22 +02:00

83 lines
1.8 KiB
Bash

# Maintainer: Celestia Ludenberg <ash8820@proton.me>
# Contributor: Antergos NeXT Team
# Upstream: Calamares team
_pkgname="calamares"
pkgname="$_pkgname"
pkgver=3.4.2
pkgrel=3
pkgdesc="Distribution-independent installer framework"
url="https://codeberg.org/Calamares/calamares"
license=("GPL-3.0-or-later")
arch=('x86_64')
depends=(
'kcoreaddons'
'kpmcore'
'libpwquality'
'qt6-declarative'
'qt6-svg'
'yaml-cpp'
)
makedepends=(
'extra-cmake-modules'
'libglvnd'
'ninja'
'qt6-tools'
'qt6-translations'
)
_pkgext="tar.gz"
source=("$_pkgname-$pkgver.$_pkgext"::"$url/releases/download/v$pkgver/$_pkgname-$pkgver.$_pkgext")
sha256sums=('733bbbb00dc9f84874bd5c22960952f317ea2537565431179fa2152b2fbfdccc')
build() {
local _skip_modules=(
dummycpp
dummyprocess
dummypython
dummypythonqt
initramfs
initramfscfg
interactiveterminal
packagechooser
services-openrc
)
local _pkgsrc_dir="$srcdir/$_pkgname-$pkgver"
local _cmake_options=(
-B build
-S "$_pkgsrc_dir"
-G Ninja
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX='/usr'
-DCMAKE_INSTALL_LIBDIR='lib'
-DWITH_QT6=ON
-DINSTALL_CONFIG=ON
-DSKIP_MODULES="${_skip_modules[*]}"
-DBUILD_TESTING=OFF
-DKDE_INSTALL_BINDIR=/usr/bin
-DKDE_INSTALL_SBINDIR=/usr/sbin
-DKDE_INSTALL_LIBDIR=/usr/lib
-DKDE_INSTALL_LIBEXECDIR=/usr/libexec
-DKDE_INSTALL_INCLUDEDIR=/usr/include
-DKDE_INSTALL_LOCALSTATEDIR=/var
-DKDE_INSTALL_SHAREDSTATEDIR=/usr/share
-DKDE_INSTALL_DATAROOTDIR=/usr/share
-DKDE_INSTALL_DATADIR=/usr/share
-DKDE_INSTALL_LOCALEDIR=/usr/share/locale
-DKDE_INSTALL_MANDIR=/usr/share/man
-DKDE_INSTALL_INFODIR=/usr/share/info
-DKDE_INSTALL_SYSCONFDIR=/etc
-Wno-dev
)
cmake "${_cmake_options[@]}"
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}