chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

commit 649058290141a67fb39f46987005b0e6d28d9c6f
parent c11ca456b84ab5ea8e9371664e9a2a30e73463d7
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Tue, 27 Oct 2026 18:58:18 -0400

website: no break after 0.7

Diffstat:
Mdocs/about.html | 3+--
Mdocs/index.html | 2--
Mdocs/new.html | 2--
Atools/pkg/chamesle-drivers/files/usr/libexec/chamesle-nvidia-flatpak | 20++++++++++++++++++++
Mtools/pkg/chamesle-drivers/recipe | 2+-
Mtools/pkg/chamesle-store/files/usr/libexec/chamesle-store-helper | 2++
Mtools/pkg/chamesle-store/recipe | 2+-
Mtools/pkg/chamesle-updater/files/usr/libexec/chamesle-refresh | 6++++++
Mtools/pkg/chamesle-updater/recipe | 2+-
9 files changed, 32 insertions(+), 9 deletions(-)

diff --git a/docs/about.html b/docs/about.html @@ -62,8 +62,7 @@ know, has the drivers and apps already sorted, and stays out of the way.</p> <li class="done"><span class="ver">0.7</span><div><b>Be Kool: a look of our own.</b> Chamesle Glass on every edition except GNOME: glass frames and taskbar, glossy buttons, Oxygen icons and a new logo. A glass sign-in screen, and a better store: screenshots, ratings and reviews, updates in the background and firmware updates for your BIOS and SSD.</div></li> - <li class="next"><span class="ver">0.8</span><div><b>Late November to early December.</b> Until then, security updates and bug fixes only. - Chamesle's own apps in every language, and a pass on accessibility: screen reader, high + <li class="next"><span class="ver">0.8</span><div>Chamesle's own apps in every language, and a pass on accessibility: screen reader, high contrast and large text from the first boot.</div></li> <li class="next"><span class="ver">0.9</span><div>Release candidate: no new features, just fixes. Try it on your computer and tell us on the <a href="board.html">board</a> what breaks, so 1.0 works on as many machines as possible.</div></li> <li class="next"><span class="ver">1.0</span><div>Godrick.</div></li> diff --git a/docs/index.html b/docs/index.html @@ -52,8 +52,6 @@ <section class="box"> <h2>News</h2> <ul class="news-list"> - <li><b>A break until 0.8.</b> Chamesle gets security updates and bug fixes only for a while. 0.8 comes - around late November or early December. <a href="about.html#roadmap">Roadmap</a></li> <li><b>0.7 "Be Kool" is out.</b> Glass windows, taskbar and sign-in screen, Oxygen icons, a new logo, and a Store with screenshots, ratings, firmware and updates in the background. <a href="new.html">What's new</a></li> <li><b>0.6.0</b> brought one ISO for every desktop, the Jiggity installer, and Ranni, Play, diff --git a/docs/new.html b/docs/new.html @@ -29,8 +29,6 @@ <div class="wrap"> <h1>What's new</h1> <p class="lead">0.7 "Be Kool" is out. Already on Chamesle? Run <code>sudo apk upgrade</code>. New installs from the <a href="download.html">download page</a> get it straight away.</p> - <p>After 0.7 Chamesle takes a break: security updates and bug fixes only, nothing new, until 0.8 around late - November or early December.</p> </div> </section> diff --git a/tools/pkg/chamesle-drivers/files/usr/libexec/chamesle-nvidia-flatpak b/tools/pkg/chamesle-drivers/files/usr/libexec/chamesle-nvidia-flatpak @@ -0,0 +1,20 @@ +#!/bin/sh +# flatpak apps (steam...) need flathub's GL.nvidia-X-Y-Z that matches the installed driver to the digit, or they +# can't draw and quit. flatpak only adds it itself when the driver is loaded: here it follows the package. +# run as root by the driver manager and by chamesle-refresh, after driver updates too +command -v flatpak >/dev/null || exit 0 +flatpak remotes --system 2>/dev/null | grep -q '^flathub' || exit 0 +v=$(apk info -e nvidia nvidia580 nvidia470 nvidia390 2>/dev/null | head -n1) +[ -n "$v" ] || exit 0 +v=$(apk list -I "$v" 2>/dev/null | sed -n 's/^[a-z0-9]*-\([0-9.]*\)-r[0-9]*.*/\1/p' | tr . -) +[ -n "$v" ] || exit 0 +want="org.freedesktop.Platform.GL.nvidia-$v org.freedesktop.Platform.GL32.nvidia-$v" +have=$(flatpak list --system --runtime --columns=application 2>/dev/null) +for r in $want; do + echo "$have" | grep -qx "$r" || flatpak install --system -y --noninteractive flathub "$r//1.4" || exit 1 +done +# the ones for the driver that was there before +for r in $(echo "$have" | grep -E '^org\.freedesktop\.Platform\.GL(32)?\.nvidia-' | grep -v -- "-$v\$"); do + flatpak uninstall --system -y --noninteractive "$r" >/dev/null 2>&1 +done +exit 0 diff --git a/tools/pkg/chamesle-drivers/recipe b/tools/pkg/chamesle-drivers/recipe @@ -1,6 +1,6 @@ name=chamesle-drivers version=0.2.0 -rel=1 +rel=2 desc="Finds drivers your hardware needs (NVIDIA, Broadcom Wi-Fi, VM tools, HP printers) and installs them" url=https://chamesle.org license=GPL-3.0-or-later diff --git a/tools/pkg/chamesle-store/files/usr/libexec/chamesle-store-helper b/tools/pkg/chamesle-store/files/usr/libexec/chamesle-store-helper @@ -13,6 +13,8 @@ add|del|driver) if [ "$cmd" = driver ]; then # drivers: install, then a new initramfs so the right one (not nouveau) loads at boot apk add --no-interactive --progress-fd 1 "$@" + # nvidia: flatpak apps need their part of it too + [ -x /usr/libexec/chamesle-nvidia-flatpak ] && /usr/libexec/chamesle-nvidia-flatpak >&2 || true exec dracut --force --regenerate-all fi # --progress-fd 1: "done/total" lines on stdout, the store turns them into a progress bar diff --git a/tools/pkg/chamesle-store/recipe b/tools/pkg/chamesle-store/recipe @@ -1,6 +1,6 @@ name=chamesle-store version=0.3.0 -rel=0 +rel=1 desc="The Chamesle store: apps from Flathub and the Chamesle repo with screenshots and ratings, updates, firmware, .deb and .rpm files" url=https://chamesle.org license=GPL-3.0-or-later diff --git a/tools/pkg/chamesle-updater/files/usr/libexec/chamesle-refresh b/tools/pkg/chamesle-updater/files/usr/libexec/chamesle-refresh @@ -4,7 +4,13 @@ # nothing to do in the live session, but stay up so dinit doesn't keep restarting us [ -e /run/chamesle-live ] && exec sleep infinity sleep 120 +# the firmware the installer left for later (hardware this computer doesn't have), once +if [ -s /etc/chamesle/trimmed ] && [ -x /usr/libexec/chamesle-get ]; then + /usr/libexec/chamesle-get "fix --reinstall $(cat /etc/chamesle/trimmed)" >/dev/null 2>&1 && rm /etc/chamesle/trimmed +fi while :; do + # the nvidia driver got updated: flatpak's part of it follows + [ -x /usr/libexec/chamesle-nvidia-flatpak ] && /usr/libexec/chamesle-nvidia-flatpak >/dev/null 2>&1 apk update --quiet >/dev/null 2>&1 [ -x /usr/bin/fwupdmgr ] && fwupdmgr refresh --force >/dev/null 2>&1 /usr/libexec/chamesle-auto-update diff --git a/tools/pkg/chamesle-updater/recipe b/tools/pkg/chamesle-updater/recipe @@ -1,6 +1,6 @@ name=chamesle-updater version=0.3.0 -rel=1 +rel=2 desc="Installs updates in the background, or tells you when there are some and opens the store" url=https://chamesle.org license=GPL-3.0-or-later