Files
taninux/packaging/finish-tanin-repo.sh
T
karim c5b0848a50 tanin-icons: accent-reactive folder icon theme (replaces Papirus)
New package packaging/tanin-icons/ generating 5 thin themes Tanin-<accent>
that inherit Adwaita and recolour only the folder/place ramp to the muted
Fuji accent (HSL shift keeping per-stop lightness; 16px rasterised so the
size-exact inherited blue PNG can't win).

- style.py: _set_gsettings now also sets icon-theme=Tanin-<accent_key> so
  folders recolour live with the accent.
- desktop.py: hide Tanin-* from the manual icon picker (accent-driven, a
  manual pick would be overridden on the next accent change).
- panel.py: pin-add icon hint Papirus -> Adwaita.
- build/finish-tanin-repo.sh: tanin-icons in OWN_SIMPLE; AUR rebuilds add
  librewolf-bin, arch-update, timeshift-autosnap, xdg-terminal-exec, paru.
- camel.toml: icon_theme=Tanin-<accent>, icons=[adwaita], tanin-icons own
  package + the new rebuilt_aur entries.

Deliberately excludes unrelated in-flight work (calendar/gtklock/
online-accounts/overview-backdrop) still uncommitted in the tree.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-22 20:41:44 +02:00

40 lines
1.6 KiB
Bash
Executable File

#!/usr/bin/env bash
# Complete the [tanin] repo — the steps that need sudo + network:
# 1) build taninux (installs its python build deps)
# 2) rebuild the AUR-only deps into the repo: eww, tiramisu, waypaper
# (cliphist + cage are in extra -> not rebuilt)
# 3) refresh the DB
# Run as YOUR user (NOT root); it will sudo where needed:
# ./finish-tanin-repo.sh
set -uo pipefail
HERE="$(cd "$(dirname "$0")" && pwd)"
OUT="${TANIN_REPO_DIR:-$HOME/projects/tanin-repo}"
mkdir -p "$OUT"
echo "==> taninux (+ build deps)"
sudo pacman -S --needed --noconfirm python-build python-installer python-hatchling
( cd "$HERE/taninux" && makepkg -sf --noconfirm ) \
&& cp "$HERE/taninux/"*.pkg.tar.zst "$OUT/" && echo " ok" || echo " FAILED (taninux)"
AUR_PKGS="eww-git tiramisu-git waypaper calamares librewolf-bin arch-update timeshift-autosnap xdg-terminal-exec paru"
echo "==> AUR rebuilds: $AUR_PKGS"
tmp="$(mktemp -d)"
for p in $AUR_PKGS; do
echo " -- $p"
if git clone --depth=1 "https://aur.archlinux.org/$p.git" "$tmp/$p" >/dev/null 2>&1 \
&& ( cd "$tmp/$p" && makepkg -sf --noconfirm ); then
cp "$tmp/$p/"*.pkg.tar.zst "$OUT/" && echo " ok"
else
echo " FAILED ($p)"
fi
done
rm -rf "$tmp"
echo "==> refresh DB"
( cd "$OUT" && repo-add -q "$OUT/tanin.db.tar.zst" "$OUT"/*.pkg.tar.zst )
echo "== [tanin] now contains =="
ls -1 "$OUT" | grep -E '\.pkg\.tar\.zst$|tanin\.db$'
echo
echo "Next: host it. Gitea (1.26) has an Arch registry on git.openbureau.ch —"
echo "Claude can upload these with the existing token, or use a static dir behind taninux.kgva.ch."