Commit Graph
19 Commits
Author SHA1 Message Date
David YoungandClaude Opus 5.5 c409a6cb17 Check HamPack's Flatpaks can open serial ports, in hampackcheck
`hampackcheck packages` (and so the weekly `make check-packages`) now
asks Flathub's API for each Flatpak's permissions, and fails if its
devices don't include all, without which it can't see /dev/ttyUSB0 to
control a radio itself, or if Flathub can't say. WSJT-X and QLog both
have it.

radio configure doesn't need it: it points them at rigctld over the
network.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 14:06:33 -07:00
David YoungandClaude Opus 5.5 774bceb74d Install rtl-sdr, which Dump1090 builds against
check / lint-and-test (push) Successful in 1m36s
check / packages (push) Successful in 24s
Dump1090 includes rtl-sdr.h, but packages.conf never listed rtl-sdr: it
built only when another package happened to pull rtl-sdr in. The
smoketest found it when that package failed to install.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 12:01:20 -07:00
David YoungandClaude Opus 5.5 bc536407c4 Name libappindicator and zim-tools, not the names they provide
check / lint-and-test (push) Successful in 1m48s
check / packages (push) Successful in 23s
libappindicator-gtk3 and zimwriterfs aren't packages any more; they
installed only because libappindicator and zim-tools provide them. But
hampackremove couldn't match those names with what's installed, so it
never removed them. zim-tools was already listed, so zimwriterfs goes.
Updates rename the old names in the record of installed packages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:47:43 -07:00
David YoungandClaude Opus 5.5 354a4cbe03 Stop installing xara, which its author has discontinued
On 2026-11-08 xara's author replaced its repository with a README saying
development and distribution have stopped, so it no longer builds and
every update failed trying (report CD-NTEU79). Remove its build entry,
the Rust toolchain and the libraries it alone needed, its tests and its
README section, which was also there twice.

hampackremove still stops xara's service and points to its settings,
for machines where an earlier HamPack built it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 09:06:01 -07:00
David YoungandClaude Opus 5.5 d5a64243d6 Install gpsd, not the nonexistent gpds package
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:50:03 -07:00
David YoungandClaude Opus 5.5 cdba8b45e7 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>
2026-11-08 10:16:08 -07:00
David YoungandClaude Opus 5.5 0b471c9771 Harden install, update and uninstall; add shared lib and tests
Updates
- install-compiled.sh never prompts: unknown versions rebuild, a missing
  version= fails
- Detect VARA Terminal by "VARA Terminal.exe" in drive_c/VARA, not by
  the folder VARA HF also uses
- install-windows-apps.sh checks first: nothing is downloaded and
  winetricks doesn't run unless a product is missing, and installers
  only run with a desktop session
- Flatpaks install system-wide from flathub and honor skip-packages
- Rewrite desktop files on every run so icon paths stay right; add the
  missing QtTermTCP desktop file
- Build steps can't read the rest of the conf through stdin

Uninstall
- update.sh records the packages and Flatpaks HamPack itself installed;
  hampackremove removes only those that nothing else needs, and lists
  the rest
- Read package lists from packages.conf instead of copies, remove
  files from install manifests, conf install paths and older builds,
  and revert the Wine Decorated setting

Security
- Replace the NOPASSWD sudoers file with a sudo keepalive, and delete a
  leftover /etc/sudoers.d/hampack
- Verify binaries.conf downloads against sha256=; pin dx.py to a commit
- Graywolf's web UI listens on 127.0.0.1; update.sh manages its unit
- Install direwolf and kiwix through a staging directory with
  install_staged, so nothing in ~/.local ends up owned by root; hand
  back any root-owned files left by older builds
- Use private temp directories instead of fixed /tmp paths

Code quality
- Shared lib.sh: conf parser, variable expansion, version records,
  install tracking, staged installs, sudo keepalive
- bats tests covering first install and update paths, Makefile with
  lint/test/hooks, pre-commit hook
- patch-potacat.sh uses jq; drop stale kiwix version entries

README: fill in what gets installed, uninstall and graywolf notes,
development section, typo and Matrix link fixes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 09:55:13 -07:00
David Young 1a8bdda0aa sibling requirements 2026-10-20 06:21:18 -06:00
David Young d479426826 bring windows windows forward 2026-06-05 15:51:42 -06:00
David Young 7c8e6db848 add libraries 2026-05-23 08:36:50 -06:00
David Young ba40228125 add boost 2026-05-19 08:32:53 -06:00
David Young 487ec122f1 add boost-libs 2026-05-19 08:31:09 -06:00
David Young fd20f3919d add JS8Call 2026-05-19 05:58:35 -06:00
David Young b474324d14 gridtracker2 2026-03-24 05:14:15 -06:00
David Young 408592bf22 block gridtracker 2026-03-23 14:33:28 -06:00
David Young 3add41f70b more compiled apps 2026-03-21 09:23:34 -06:00
David Young 3944ff0036 compile improvements 2026-03-17 15:48:58 -06:00
David Young 1ad311e87e fix flatpaks 2026-03-15 09:45:15 -06:00
David Young 00f6062377 continue to build 2026-03-13 19:26:29 -06:00