Compare commits

...
Author SHA1 Message Date
05e911a24d Move Astar Hub links to astar76.com
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-02 16:26:03 -06:00
56d05eaca5 docs: Astar Hub moved to astar76sites.parore-gila.ts.net
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-02 12:15:10 -06:00
66797746bb docs: Astar Hub moved to astar76sites.tail7c4f5e.ts.net
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-02 12:07:37 -06:00
be6862648d package.sh: appimagetool now lives in ~/.local/opt/build-tools
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 18:27:08 -06:00
4189348567 Ignore releases/ (uploaded by hub-release-sync)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 17:32:16 -06:00
10 changed files with 12 additions and 11 deletions

1
.gitignore vendored
View file

@ -4,3 +4,4 @@ packaging/arch/src/
packaging/arch/pkg/ packaging/arch/pkg/
*.pkg.tar.zst *.pkg.tar.zst
/dist/ /dist/
/releases/

View file

@ -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. - **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`. - **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). - **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/<version> ( 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/<version> ( 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. - **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. - **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`. - **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`.

View file

@ -14,7 +14,7 @@ Needs a recent stable Rust toolchain.
## Install a release ## Install a release
Downloads are on the [Releases page](https://archlinux.tail7c4f5e.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 **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. (Debian, Ubuntu LTS, Fedora releases with an older glibc) cannot run them and should build from source.

View file

@ -4,7 +4,7 @@
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig> <policyconfig>
<vendor>Tunal</vendor> <vendor>Tunal</vendor>
<vendor_url>https://archlinux.tail7c4f5e.ts.net/git/astar76/Tunal</vendor_url> <vendor_url>https://astar76.com/git/astar76/Tunal</vendor_url>
<icon_name>tunal</icon_name> <icon_name>tunal</icon_name>
<action id="org.tunal.Tunal.elevated-helper"> <action id="org.tunal.Tunal.elevated-helper">
<description>Change files as administrator</description> <description>Change files as administrator</description>

View file

@ -71,7 +71,7 @@ impl Client {
/// A client for other base URLs (no trailing slash), for mocks. /// A client for other base URLs (no trailing slash), for mocks.
pub fn with_bases(musicbrainz: &str, cover_art: &str) -> Client { pub fn with_bases(musicbrainz: &str, cover_art: &str) -> Client {
let user_agent = format!( let user_agent = format!(
"Tunal/{} ( https://archlinux.tail7c4f5e.ts.net/git/astar76/Tunal )", "Tunal/{} ( https://astar76.com/git/astar76/Tunal )",
env!("CARGO_PKG_VERSION") env!("CARGO_PKG_VERSION")
); );
let agent: Agent = Agent::config_builder() let agent: Agent = Agent::config_builder()

View file

@ -174,7 +174,7 @@ fn searches_send_a_user_agent_and_escaped_lucene_query() {
assert!( assert!(
seen[0] seen[0]
.user_agent .user_agent
.contains("archlinux.tail7c4f5e.ts.net/git/astar76/Tunal") .contains("astar76.com/git/astar76/Tunal")
); );
let target = &seen[0].target; let target = &seen[0].target;
assert!( assert!(

View file

@ -2,7 +2,7 @@ pkgbase = tunal-bin
pkgdesc = File manager with Material You styling, music tags, devices and SFTP pkgdesc = File manager with Material You styling, music tags, devices and SFTP
pkgver = 0.1.0 pkgver = 0.1.0
pkgrel = 1 pkgrel = 1
url = https://archlinux.tail7c4f5e.ts.net/git/astar76/Tunal url = https://astar76.com/git/astar76/Tunal
arch = x86_64 arch = x86_64
license = GPL-3.0-or-later license = GPL-3.0-or-later
license = Apache-2.0 license = Apache-2.0
@ -33,7 +33,7 @@ pkgbase = tunal-bin
conflicts = tunal conflicts = tunal
options = !strip options = !strip
options = !debug 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 sha256sums = 67f85852d52f5b1ddce1206ef03aa8a056d7f2b01837a2d1f944453e900c1e8f
pkgname = tunal-bin pkgname = tunal-bin

View file

@ -6,7 +6,7 @@ pkgver=0.1.0
pkgrel=1 pkgrel=1
pkgdesc='File manager with Material You styling, music tags, devices and SFTP' pkgdesc='File manager with Material You styling, music tags, devices and SFTP'
arch=('x86_64') 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') 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. # 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') depends=('glibc>=2.43' 'gcc-libs' 'alsa-lib' 'fontconfig' 'libglvnd' 'wayland' 'libxkbcommon' 'libxkbcommon-x11' 'libx11' 'libxcb' 'libxcursor' 'libxi' 'libxrender' 'xdg-utils' 'hicolor-icon-theme')

View file

@ -7,7 +7,7 @@ pkgver="$(sed -n 's/^version = "\(.*\)"/\1/p' "$_root/Cargo.toml" | head -n1).r$
pkgrel=1 pkgrel=1
pkgdesc="File manager with Material You styling, music tags, devices and SFTP" pkgdesc="File manager with Material You styling, music tags, devices and SFTP"
arch=(x86_64 aarch64) 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) license=(GPL-3.0-or-later Apache-2.0)
depends=( depends=(
alsa-lib fontconfig glibc hicolor-icon-theme libgcc libglvnd libx11 libxcursor libxi alsa-lib fontconfig glibc hicolor-icon-theme libgcc libglvnd libx11 libxcursor libxi

View file

@ -22,7 +22,7 @@ stage() {
# $NAME-<v>-arch-x86_64.pkg.tar.zst (makepkg from that tar.gz, offline) and SHA256SUMS-<v>. # $NAME-<v>-arch-x86_64.pkg.tar.zst (makepkg from that tar.gz, offline) and SHA256SUMS-<v>.
# It also writes the tar.gz checksum and version into $PKGDIR/PKGBUILD and .SRCINFO, and the glibc floor read # It also writes the tar.gz checksum and version into $PKGDIR/PKGBUILD and .SRCINFO, and the glibc floor read
# from the binary into installer.sh and the PKGBUILD. Nothing is downloaded: appimagetool comes from # from the binary into installer.sh and the PKGBUILD. Nothing is downloaded: appimagetool comes from
# ~/Projects/Mulberry/dist and runs extracted (no FUSE, no runtime fetch). Never writes to releases/. # ~/.local/opt/build-tools and runs extracted (no FUSE, no runtime fetch). Never writes to releases/.
# SKIP_BUILD=1 packages the existing build. CARGO_TARGET_DIR is honoured. # SKIP_BUILD=1 packages the existing build. CARGO_TARGET_DIR is honoured.
cd "$root"; PKGDIR=${PKGDIR:-packaging/arch} cd "$root"; PKGDIR=${PKGDIR:-packaging/arch}
[ "${SKIP_BUILD:-}" = 1 ] || build [ "${SKIP_BUILD:-}" = 1 ] || build
@ -69,7 +69,7 @@ exec "\$here/usr/bin/${BINS[0]}" "\$@"
RUN RUN
chmod +x "$a/AppRun" chmod +x "$a/AppRun"
if declare -F appdir_hook >/dev/null; then appdir_hook "$a"; fi # project extras (bundled libraries) if declare -F appdir_hook >/dev/null; then appdir_hook "$a"; fi # project extras (bundled libraries)
cp ~/Projects/Mulberry/dist/appimagetool "$work/appimagetool" cp ~/.local/opt/build-tools/appimagetool "$work/appimagetool"
(cd "$work" && ./appimagetool --appimage-extract >/dev/null) (cd "$work" && ./appimagetool --appimage-extract >/dev/null)
ARCH=x86_64 "$work/squashfs-root/AppRun" --no-appstream "$a" "$out/$NAME-$ver-x86_64.AppImage" >"$work/ait.log" 2>&1 \ ARCH=x86_64 "$work/squashfs-root/AppRun" --no-appstream "$a" "$out/$NAME-$ver-x86_64.AppImage" >"$work/ait.log" 2>&1 \
|| { tail -20 "$work/ait.log"; exit 1; } || { tail -20 "$work/ait.log"; exit 1; }