diff --git a/CLAUDE.md b/CLAUDE.md index 3b0532e..495e636 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -48,7 +48,7 @@ Never modify: `PROMPT.md` (the user's brief), the user's other projects under `~ - **Theme**: `org.freedesktop.portal.Settings` → `org.freedesktop.appearance` `accent-color` (rgb doubles) and `color-scheme` (0 none, 1 dark, 2 light) via `zbus` blocking API, plus `SettingChanged` for live re-theme. Schemes from `material-colors` 0.5 (`ThemeBuilder::with_source`, tonal spot). Fixed fallback seed when no accent. - **Icons**: Material Symbols Rounded, from `/usr/share/fonts/TTF/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].ttf` (package `ttf-material-symbols-variable`, Apache-2.0; license in `/usr/share/licenses/ttf-material-symbols-variable/`). Copy font + license into `assets/fonts/`; draw glyphs by codepoint (folder `e2c7`, home `e88a`). App icon: `assets/tunal.svg` / `.png` / `.ico`. - **Crates already chosen**: `slint` 1.19, `zbus` (blocking), `material-colors` 0.5, `lofty` (tags), `russh` + `russh-sftp` (SFTP, preferred). Later option: `rusty-chromaprint` (AcoustID). -- **MusicBrainz / Cover Art Archive**: no API key; ≤ 1 request/s across the whole app; User-Agent `Tunal/ ( https://archlinux.tail7c4f5e.ts.net/git/astar76/Tunal )`. +- **MusicBrainz / Cover Art Archive**: no API key; ≤ 1 request/s across the whole app; User-Agent `Tunal/ ( https://astar76.com/git/astar76/Tunal )`. - **Native dependencies (decided, D-004–D-007, D-014, D-016, D-019)**: video frames via the `ffmpeg` CLI subprocess; audio `cpal` (alsa-lib) + symphonia; iOS `idevice` over system `usbmuxd`; MTP own pure-Rust client on `nusb`; native DnD via Slint's libwayland connection and `x11rb`; TLS/SSH crypto rustls + ring. No new system packages: optional tools missing → that feature off, no error. Any other non-Rust dependency: ask first. - **User validates personally (🧑)**, all in phase 12 (D-009): visual review (S035), the polkit password prompt, real iPhone/Android devices, native drag/clipboard with other apps, a real SFTP host (S036). Plans that need these stop at that step and report. - **Design references (read only, D-027, D-028)**: the user's own Material You apps — `~/Projects/Damson` (`src/theme.rs`, `src/motion.rs`, `src/ui/`), `~/Projects/Mulberry` (`src/theme.rs`, `src/ui/`), `~/Projects/Nacre` (`src/theme.rs`, `src/ui/widgets.rs`, `src/ui/chrome.rs`). They use egui, not Slint: borrow look and feel (colour roles, state layers, shapes, spacing, motion curves and timings) and port the idea to our Slint tokens; never change our stack, never edit them. Their code is the user's own, so copying is allowed where it fits. Also the user's old, buggy Tunal prototype in `/home/astar76/Documents/Apps/tunal-files/tunal/` (Python): look at its elements for ideas only, never copy its code — the new UI is meant to be new. A library default that looks off is not a reason to accept it: build the control ourselves on `Theme`/`Motion`. diff --git a/README.md b/README.md index 7cd0538..09e82d5 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Needs a recent stable Rust toolchain. ## Install a release -Downloads are on the [Releases page](https://astar76sites.parore-gila.ts.net/git/astar76/Tunal/releases): Linux x86_64 only. The binaries are built on Arch Linux and need +Downloads are on the [Releases page](https://astar76.com/git/astar76/Tunal/releases): Linux x86_64 only. The binaries are built on Arch Linux and need **glibc 2.43 or newer**, so they run on Arch and other up-to-date rolling distributions; older distributions (Debian, Ubuntu LTS, Fedora releases with an older glibc) cannot run them and should build from source. diff --git a/assets/polkit/org.tunal.Tunal.elevated-helper.policy b/assets/polkit/org.tunal.Tunal.elevated-helper.policy index ff633fb..3e29f50 100644 --- a/assets/polkit/org.tunal.Tunal.elevated-helper.policy +++ b/assets/polkit/org.tunal.Tunal.elevated-helper.policy @@ -4,7 +4,7 @@ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> Tunal - https://archlinux.tail7c4f5e.ts.net/git/astar76/Tunal + https://astar76.com/git/astar76/Tunal tunal Change files as administrator diff --git a/crates/tunal-tags/src/http.rs b/crates/tunal-tags/src/http.rs index c94a96e..3221828 100644 --- a/crates/tunal-tags/src/http.rs +++ b/crates/tunal-tags/src/http.rs @@ -71,7 +71,7 @@ impl Client { /// A client for other base URLs (no trailing slash), for mocks. pub fn with_bases(musicbrainz: &str, cover_art: &str) -> Client { let user_agent = format!( - "Tunal/{} ( https://archlinux.tail7c4f5e.ts.net/git/astar76/Tunal )", + "Tunal/{} ( https://astar76.com/git/astar76/Tunal )", env!("CARGO_PKG_VERSION") ); let agent: Agent = Agent::config_builder() diff --git a/crates/tunal-tags/tests/musicbrainz.rs b/crates/tunal-tags/tests/musicbrainz.rs index 7bea823..7057fae 100644 --- a/crates/tunal-tags/tests/musicbrainz.rs +++ b/crates/tunal-tags/tests/musicbrainz.rs @@ -174,7 +174,7 @@ fn searches_send_a_user_agent_and_escaped_lucene_query() { assert!( seen[0] .user_agent - .contains("archlinux.tail7c4f5e.ts.net/git/astar76/Tunal") + .contains("astar76.com/git/astar76/Tunal") ); let target = &seen[0].target; assert!( diff --git a/packaging/arch-bin/.SRCINFO b/packaging/arch-bin/.SRCINFO index f88be6b..0c601e2 100644 --- a/packaging/arch-bin/.SRCINFO +++ b/packaging/arch-bin/.SRCINFO @@ -2,7 +2,7 @@ pkgbase = tunal-bin pkgdesc = File manager with Material You styling, music tags, devices and SFTP pkgver = 0.1.0 pkgrel = 1 - url = https://archlinux.tail7c4f5e.ts.net/git/astar76/Tunal + url = https://astar76.com/git/astar76/Tunal arch = x86_64 license = GPL-3.0-or-later license = Apache-2.0 @@ -33,7 +33,7 @@ pkgbase = tunal-bin conflicts = tunal options = !strip options = !debug - source = Tunal-0.1.0-Linux-x86_64.tar.gz::https://archlinux.tail7c4f5e.ts.net/git/astar76/Tunal/releases/download/v0.1.0/Tunal-0.1.0-Linux-x86_64.tar.gz + source = Tunal-0.1.0-Linux-x86_64.tar.gz::https://astar76.com/git/astar76/Tunal/releases/download/v0.1.0/Tunal-0.1.0-Linux-x86_64.tar.gz sha256sums = 67f85852d52f5b1ddce1206ef03aa8a056d7f2b01837a2d1f944453e900c1e8f pkgname = tunal-bin diff --git a/packaging/arch-bin/PKGBUILD b/packaging/arch-bin/PKGBUILD index 1e3adfb..7555483 100644 --- a/packaging/arch-bin/PKGBUILD +++ b/packaging/arch-bin/PKGBUILD @@ -6,7 +6,7 @@ pkgver=0.1.0 pkgrel=1 pkgdesc='File manager with Material You styling, music tags, devices and SFTP' arch=('x86_64') -url='https://archlinux.tail7c4f5e.ts.net/git/astar76/Tunal' +url='https://astar76.com/git/astar76/Tunal' license=('GPL-3.0-or-later' 'Apache-2.0') # Linked: libc, libm, libgcc_s, libasound, libfontconfig. dlopened (strings of the binary): libEGL/libGL (libglvnd), libwayland-client/-egl, libxkbcommon(-x11), libX11, libX11-xcb, libxcb, libXcursor, libXi, libXrender. Runs xdg-open. depends=('glibc>=2.43' 'gcc-libs' 'alsa-lib' 'fontconfig' 'libglvnd' 'wayland' 'libxkbcommon' 'libxkbcommon-x11' 'libx11' 'libxcb' 'libxcursor' 'libxi' 'libxrender' 'xdg-utils' 'hicolor-icon-theme') diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD index b9d7c4d..215835c 100644 --- a/packaging/arch/PKGBUILD +++ b/packaging/arch/PKGBUILD @@ -7,7 +7,7 @@ pkgver="$(sed -n 's/^version = "\(.*\)"/\1/p' "$_root/Cargo.toml" | head -n1).r$ pkgrel=1 pkgdesc="File manager with Material You styling, music tags, devices and SFTP" arch=(x86_64 aarch64) -url="https://archlinux.tail7c4f5e.ts.net/git/astar76/Tunal" +url="https://astar76.com/git/astar76/Tunal" license=(GPL-3.0-or-later Apache-2.0) depends=( alsa-lib fontconfig glibc hicolor-icon-theme libgcc libglvnd libx11 libxcursor libxi