FIND NEW SOFTWARE -- THE SOURCE
===============================
psionlx-software.c "Find new software": the catalogue app (GTK 2.4)
psionnet-find.c prints PsionNet's address, for shell scripts
psionnet-discover.h finding PsionNet by broadcast, shared by both
ipkg-run the root helper: runs Psion's ipkg, nothing else
psionnet-connect run at login: points Firefox at PsionNet
75psionnet the login hook that starts it
psionnet.js Firefox's default: use psionnet-connect's file
psionlx-software.png its window's icon -- Psion's own, drawn in 2005
for the TASKS entry this finally implements
agfa-fonts.png the catalogue's icon for the fonts
feed/ README.txt, install.sh and the icons README of
the PsionLX-Software archive folder
Psion's TASKS screen listed "Find new software" and gave it no command; their
launcher answered "This task is not yet implemented". This is that task: a
catalogue of the programs, games and fonts the full image adds to Psion's,
installed with Psion's own package manager (ipkg) from the PsionLX-Software
folder of the RetroTechCollection archive. The netBook Pro cannot fetch from
the archive itself, so PsionNet, on a Mac on the same network, fetches for it
and hands the files over untouched.
Installing needs root. The app runs ipkg-run with plain su: PsionLX's root
password is empty, so nothing is asked. Psion's own gpe-su cannot do it --
it waits for su to ask for a password, which with an empty one su never
does -- so it is used only if a root password has been set. ipkg-run takes
three words (install or remove, PsionNet's address, a package name), checks
each, and runs ipkg.
At each login psionnet-connect finds PsionNet and writes a proxy auto-config
file that Firefox follows: the web through PsionNet when it is there, direct
when it is not. Create ~/.psionnet/manual to stop it.
THE ARCHIVE FOLDER
python3 scripts/mkfeed.py
builds PsionLX-Software (beside PsionLX in the project) from the same
definitions merge-soho.py uses for the full image: every package, its files
and its Depends -- worked out from what each program links against the
stock image's own package lists. merge-soho.py also registers every
package with the full image's ipkg, so the image and the archive agree.
BUILDING THE PROGRAMS
rm -rf arm-oabi-chroot/build/psionlx-software
cp -R psionlx-software arm-oabi-chroot/build/
scripts/qbuild.sh jobs/job-software.sh
gcc-3.4 in the ARM OABI chroot. Only GTK 2.4 / GLib 2.4 calls are used;
scripts/linkcheck.py against the stock image's libraries proves it.
THE TASKS ENTRY
"Find new software" is opened from TASKS, where Psion put it; it has no
PROGRAMS icon. Psion's launcher gave that entry no command, so the command
"psionlx-software" goes into the bytes of the message only a missing
command could show, and the entry points at it: 34 bytes (mkfeed.py,
patch_appmgr). merge-soho.py does it in the full image; on any other card
the package's install script swaps in the patched launcher -- only over
Psion's exact binary, keeping Psion's copy to restore on removal -- and
restarts it, so TASKS works at once.
GPL-2.0-or-later. Also at https://github.com/RetroTechCollection/PsionLX-Software