Files
samios/packaging/packages/samios-branding/fetch-assets.sh
T
Sami Ahmed 658a8541e9
SamiOS CI / lint-and-test (push) Successful in 14s
v0.2.0: WSL desktop, branding, GRUB theme, CI, installer, fonts, voice architecture
Major update adding full desktop environment support, complete branding suite,
and project infrastructure:

Desktop (WSL):
- KDE Plasma + SDDM + Dolphin/Konsole/Kate/Firefox setup script
- Windows 11 dark/light color schemes
- PipeWire audio stack
- WSLg-compatible launch script
- SamiOS CLI tool (v0.2.0) with desktop command

Branding:
- Logos: face-on-pyramid with and without text (500px)
- Icons: square + launcher (256/512/1024px) + SVG vector
- Wallpapers: 1920x1080, 4K, clean variant (PIL-generated)
- GRUB theme: full cobalt blue (#1424CE) theme with pyramid background
- SDDM theme: SamiOS login screen configuration
- Branding README with palette, typography, usage guidelines

Fonts:
- Sami Grotesk (Helvetica-like) as default system/UI font
- Sami Sans as secondary
- Full Sami font family support (excluding 7777 personal branding)
- fontconfig rules mapping Helvetica/Arial → Sami Grotesk
- Font policy enforcement in samios CLI

Infrastructure:
- Automated installer (samios-installer.sh): partition, format, pacstrap, bootloader
- PKGBUILD for samios-branding package
- Test suite: shell tests for profiledef, packages, pacman.conf, CLI, font policy
- Makefile: test, lint, check, build, clean targets
- Gitea Actions CI workflow
- Voice integration architecture document (SamiType × SamiOS)
- Updated roadmap reflecting completed phases
2026-08-11 03:39:47 -07:00

38 lines
1.4 KiB
Bash

#!/bin/bash
# fetch-assets.sh — copy branding assets from the repo branding/ tree
# into this directory so makepkg can find them as local sources.
#
# Usage: cd into this directory and run ./fetch-assets.sh
set -euo pipefail
# Resolve the repo root (../../.. from packaging/packages/samios-branding/)
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
REPO_ROOT="$(cd "$SCRIPT_DIR/../../.." && pwd)"
BRANDING_DIR="$REPO_ROOT/branding"
if [ ! -d "$BRANDING_DIR" ]; then
echo "ERROR: branding directory not found at $BRANDING_DIR" >&2
exit 1
fi
echo "Copying branding assets from $BRANDING_DIR ..."
# Logos
cp "$BRANDING_DIR/logos/samios-logo.png" "$SCRIPT_DIR/samios-logo.png"
cp "$BRANDING_DIR/logos/samios-logo-text.png" "$SCRIPT_DIR/samios-logo-text.png"
# Square icons
cp "$BRANDING_DIR/icons/samios-icon-256.png" "$SCRIPT_DIR/samios-icon-256.png"
cp "$BRANDING_DIR/icons/samios-icon-512.png" "$SCRIPT_DIR/samios-icon-512.png"
cp "$BRANDING_DIR/icons/samios-icon-1024.png" "$SCRIPT_DIR/samios-icon-1024.png"
# Launcher icons
cp "$BRANDING_DIR/icons/samios-icon-launcher-256.png" "$SCRIPT_DIR/samios-icon-launcher-256.png"
cp "$BRANDING_DIR/icons/samios-icon-launcher-512.png" "$SCRIPT_DIR/samios-icon-launcher-512.png"
cp "$BRANDING_DIR/icons/samios-icon-launcher-1024.png" "$SCRIPT_DIR/samios-icon-launcher-1024.png"
# SVG
cp "$BRANDING_DIR/icons/samios-icon.svg" "$SCRIPT_DIR/samios-icon.svg"
echo "Done. You can now run: makepkg -f"