Preconfigure Abjects IRC, refresh status bar charge icon and clock, update live device
- Ship ~/.config/sxmo/irc_servers.tsv (home and /etc/skel) with Abjects (irc.abjects.net, TLS port 6697) auto-joining #bananarchy, and change the compiled irc.so defaults to the same network; rebuild and mirror irc.so. - Republish the charge icon together with a fresh clock on battery events, force the icon on state_change and forced battery refreshes, and add a lightweight refresh action called after an NTP clock step. - Update the connected phone: sync network time, apk update plus apk upgrade -a, deploy the overlay and restart xirc; verify the status bar clock and charge icon; rebuild the a1108 / dejavu image. - Guard the new IRC and status bar paths in check-rebuild.sh and sync README, MANUAL, AGENTS and the a1108 changelog.
This commit is contained in:
1 parent
8448b6465f
commit
fb091749f0
13 files changed
+139
-11
No files matched your search
@@ -14,6 +14,45 @@ Release versions follow the `<year-letter><MM><DD>` format (where `2026` is `a`,
|
||||
This build contains all previously unreleased changes below. The image and
|
||||
release metadata are generated by `scripts/version.sh` as `a1108` / `dejavu`.
|
||||
|
||||
### Abjects IRC default, status bar charge/time refresh and live device update
|
||||
|
||||
- **Abjects is now the preconfigured IRC network**: `xirc` / `irc.so` ships
|
||||
`~/.config/sxmo/irc_servers.tsv` (also in `/etc/skel`) with a single
|
||||
`Abjects` entry for `irc.abjects.net`, TLS enabled (`1`), port `6697`, and
|
||||
`#bananarchy` as the auto-join channel, with background mode on. The
|
||||
compiled fallback and the new-server draft in `irc_plugin.cpp` were changed
|
||||
from Libera.Chat to the same Abjects defaults, so a missing or reset config
|
||||
still connects to Abjects and joins `#bananarchy`. `prebuilt/sxmo-x11` was
|
||||
rebuilt for `irc.so` and mirrored into `overlay/rootfs` with
|
||||
`scripts/sync-prebuilt-overlay.sh`; `README.md` and `MANUAL.md` now
|
||||
document the default network. `scripts/check-rebuild.sh` guards the
|
||||
shipped TSV columns, the compiled defaults, and the documentation.
|
||||
- **Charge icon and clock are republished together**: a charger or capacity
|
||||
event now runs `set_time` and forces a root-name refresh in
|
||||
`sxmo_hook_statusbar.sh`, so the charge icon cannot be left on the bar with
|
||||
a stale clock. `state_change` refreshes the charge icon unconditionally
|
||||
instead of only when the panel is already bright, closing the unlock race
|
||||
where `is_screen_dark()` still reported a dark backlight. A forced battery
|
||||
refresh removes the old icon file first, so `sxmo_status.sh` cannot skip the
|
||||
write when the value is unchanged. `bananarchy-time-sync.sh` calls a new
|
||||
lightweight `sxmo_hook_statusbar.sh refresh` action as the X session user
|
||||
after a successful NTP burst, republishing the clock and charge icon
|
||||
immediately when `chronyd` steps the clock instead of waiting for the next
|
||||
300 s periodic tick. `scripts/check-rebuild.sh` guards all four paths.
|
||||
- **Live phone updated and verified**: network time was synced on the
|
||||
connected device (the RTC had fallen back to 1970, which also broke TLS
|
||||
certificate validation), all installed packages were refreshed with
|
||||
`apk update` followed by `apk upgrade -a` (165 upgrades, 2 installs, and
|
||||
9 purges; `951.4 MiB in 888 packages`), and the updated overlay, IRC
|
||||
config, and `irc.so` were deployed to the phone. The resident `xirc` daemon
|
||||
was restarted so it loaded the Abjects config. The status bar was refreshed
|
||||
with the new `refresh` action: `099-time` matches the local clock
|
||||
(`10:33 EET`), and `040-battery-icon-pm8916-bms-vm` was rewritten with the
|
||||
correct charging icon for the reported state and capacity. The `a1108` /
|
||||
`dejavu` image was rebuilt afterwards.
|
||||
|
||||
---
|
||||
|
||||
### Event-driven network status and no-tradeoff idle A/B sweep
|
||||
|
||||
- **Removed the `nmcli device monitor` poller**: `sxmo_networkmonitor.sh`
|
||||
|
||||
Reference in new issue
Block a user