Commit Graph
2 Commits
Author SHA1 Message Date
raucao 5ff4d5d0f0 Add a nightly .Devel build profile and icon
A `-Dprofile=development` build is a separate application identity: the app
id carries a `.Devel` suffix, and the desktop file, AppStream id, icon,
GSettings schema id/path, GResource bundle name, D-Bus name and data
directories all follow, with a `regent-devel` binary so it installs beside
the stable one instead of replacing it. The Rust side switches `APP_ID` on
a cargo `devel` feature (a feature, not an env var, so the shared cargo
target dir cannot return a binary built for the other profile); the
metadata files become `.in` templates configured from `app_id`.

The nightly uses the banded nightly app icon and libadwaita's striped
`devel` header bar. The dev deploy selects it with
`REGENT_PROFILE=development`; the release `--pkg` build stays stable, and a
nightly install leaves the `nostrconnect://` scheme handler to the stable
build.

Two Meson details this depends on: the GResource prefix is fixed by
`resources.gresource.xml` (not the resource id) and is shared by both
profiles, and `gnome.compile_schemas()` scans the source directory, so the
generated schema is compiled by a `glib-compile-schemas` target instead.
2026-11-28 13:44:44 +04:00
raucao a41700d212 Add dev deploy scripts and a user-local install path
deploy-dev.sh (build host) stages an install tree, streams it as tar.zst or
builds the regent-git package. regent-deploy.sh (workstation) pulls a build
over an existing ssh connection, unpacks it into ~/.local and recompiles the
schema, warning first if the two machines' GTK/libadwaita versions differ.

The GResource lookup now also searches XDG_DATA_HOME so a user-local install
works, and --version prints the build without needing a display.
2026-11-13 14:33:34 +04:00