Add xara, a VARA-compatible modem, alongside VARA under Wine

- compile.conf: build xara 0.1.3 with cargo, without the "registered"
  feature; stage-install xara, xara-monitor, man pages, the user
  service (pointed at ~/.local/bin) and the CM108/AIOC PTT udev rule;
  copy the config template to ~/.config/xara/xara.conf if it's not
  there. The service isn't enabled: it needs a callsign, and shares
  port 8300 with VARA
- packages.conf: alsa-lib and libpulse; rust only when there's no cargo
  yet, since it conflicts with rustup
- hampackremove: stop and disable the xara service, keep the user's
  settings and say where they are
- README: how to set up xara and use it with Pat
- tests for the xara build, the rust/cargo check and removal

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Young
2026-11-08 10:16:08 -07:00
co-authored by Claude Opus 5.5
parent 6e100ba7d2
commit cdba8b45e7
8 changed files with 158 additions and 0 deletions
+11
View File
@@ -96,3 +96,14 @@ version=0.14.14
git=https://github.com/chrissnell/graywolf.git
install=$HOME/.local/bin/graywolf
steps=make all, install -m 755 bin/graywolf $HOME/.local/bin/graywolf, install -m 755 bin/graywolf-modem $HOME/.local/bin/graywolf-modem
# VARA-compatible HF/FM modem, native on Linux; an alternative to VARA under
# Wine (both use port 8300, so run one at a time). Built without the
# "registered" feature, which unlocks paid-VARA speeds without a license.
# Installs the user service but doesn't enable it: set up
# ~/.config/xara/xara.conf first (see the README)
[xara]
version=0.1.3
git=https://github.com/x0rro/xara.git
install=$HOME/.local/bin/xara
steps=cargo build --release --locked -p xara, mkdir -p stage$HOME/.local/bin stage$HOME/.local/share/man/man1 stage$HOME/.config/systemd/user stage/etc/udev/rules.d, install -m 755 target/release/xara target/release/xara-monitor stage$HOME/.local/bin/, install -m 644 dist/man/xara.1 dist/man/xara-monitor.1 stage$HOME/.local/share/man/man1/, sed "s|/usr/bin/xara|$HOME/.local/bin/xara|" dist/systemd/xara.service > stage$HOME/.config/systemd/user/xara.service, install -m 644 dist/udev/60-xara-ptt.rules stage/etc/udev/rules.d/, install_staged stage, sudo udevadm control --reload-rules, systemctl --user daemon-reload || true, mkdir -p $HOME/.config/xara, cp -n dist/xara.conf.example $HOME/.config/xara/xara.conf