- tools/haiku-package.sh: release build staged into the package layout
(apps/OpenPU, bin/openpu-cli, data/locale, Deskbar link), .PackageInfo
with the library requirements, `package create`. Validated with
`pkgman install` in the Haiku R1/beta6 VM.
- packaging/haiku/openpu.recipe: HaikuPorts recipe template, to be named
after the released version with the archive checksum.
- The Haiku application is installed in apps/ and finds its translations
through BPathFinder (data/locale of its installation location).
- Fix: `cmake --install --strip` dropped the application's resources
(icon, signature, version); they are attached again after install.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
- CPack DEB configuration (cmake/Packaging.cmake): dependencies from
dpkg-shlibdeps, udisks2 recommended, strip.
- AppStream metadata, installed with the desktop file and the icons;
tools/release.sh adds each release to it.
- tools/appimage.sh: AppImage of the GTK interface and openpu-cli with
linuxdeploy and its GTK plugin (x86_64 and aarch64).
- Release workflow: .deb, AppImage and openpu-cli tarball for x86_64 and
arm64, attached to the release of a vX.Y.Z tag, or kept as artifacts
on a manual run. tools/release.sh edits the release when the workflow
created it first.
- The GTK interface finds its translations next to the executable
(../share/locale), for relocatable installs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
Original artwork: a generic shield with a "PU" monogram and a small
download arrow, deep blue and white. tools/make_icons.py describes the
shapes once and writes the master SVG, a simplified 16/24 px variant, the
Haiku HVIF and PNG renderings from 16 to 512 px (own antialiased
rasterizer, standard library only).
- Linux: icons installed in the hicolor theme as io.github.openpu.OpenPU
(the name the .desktop file and the About dialog already use), with a
build-tree copy for uninstalled runs.
- Haiku: the HVIF is embedded as the vector_icon resource; the executable
is relinked when only its resources change.
- Fix: po/ did not include GNUInstallDirs, so translations were installed
outside the locale directory.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
Same workflow as the GTK interface: vehicle list, adding a vehicle by VIN,
available updates, download folder, resumable download with progress, USB
stick selection with an erase confirmation, writing, installation guide.
Also a Preferences window (folder, language, automatic new-version check),
an About window and the manual new-version check.
Worker threads post closures to the window through a non-blocking queue
(BMessenger with a zero timeout). Translations use gettext with the GTK
catalogs; the default language comes from the Locale preferences. The
executable gets its signature and version from a generated .rdef.
Validated in the Haiku R1/beta6 VM against a mock Majestic server: full
flow down to a FAT32 stick with license/, both archives and no
UpdateInfo.xml; French interface; GitHub new-version check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
- API.md, workflow.md and usb-layout.md translated
- usb-layout.md: describe the formatting that OpenPU actually performs
on Linux (UDisks2) and Haiku (one transaction per step)
- API.md: restore the = / & escaping example lost earlier
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
- usb_haiku.cpp: each disk device transaction kept minimal, because
Haiku R1/beta6 rejects or hangs on combined ones: erase foreign
content, delete old MBR partitions, create the 0x0c partition
("FAT 32-bit, LBA-mapped", with "active false" parameters) and format
FAT32 are separate commits; Uninitialize is never used on an MBR
- OPENPU_DEBUG=1 traces the Haiku disk device steps on stderr
- extractTar resolves the destination first: SECURE_SYMLINKS refused
destinations under a symlink (/tmp on Haiku)
- check.sh: clang-tidy skips sources not built on Linux
- validated in the Haiku VM: write-usb on the virtual stick gives an MBR,
a FAT32 partition at 1 MiB, the label, license/ and the archive tree
without UpdateInfo.xml, with identical checksums; 53 unit tests pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
- CHANGELOG.md translated to English (GitHub release notes of v0.1.0 and
v0.2.0 updated accordingly)
- tools/haiku-vm.sh: Haiku R1/beta6 x86_64 VM under QEMU/KVM (verified
image, 20 GB disk, virtual USB stick, SSH port forward, QMP socket)
- tools/qmp.py: headless control through QMP (PNG screenshots, absolute
clicks, typing, key combos, power-off)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
- compilation (cœur, CLI, GTK, traductions) et tests unitaires sur les
runners ubuntu-24.04 et ubuntu-24.04-arm, avec -Werror
- tâche ASan + UBSan
- feuille de route : AppImage, puis binaires x86_64 + arm64 dans chaque
release à partir de 1.0.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
- interface gtkmm-4 : véhicules, ajout par VIN, mises à jour, dossier,
téléchargement avec reprise et arrêt, choix de la clé, confirmation,
écriture avec progression, fin avec guide d'installation ; travail
dans un thread, résultats renvoyés via Glib::Dispatcher
- préférences : dossier de téléchargement, langue (système par défaut),
recherche automatique de nouvelle version d'OpenPU
- recherche de nouvelle version (releases GitHub, format tags Gitea
accepté) avec ouverture de la page dans le navigateur ;
openpu-cli app-update
- versions : project(VERSION) + git describe régénéré à chaque build,
openpu-cli --version, À propos, User-Agent, CHANGELOG, tools/release.sh
(étiquette annotée, push vers tous les remotes, release GitHub)
- traductions gettext : textes anglais, fr.po complet (96 chaînes),
extracteur de secours sans xgettext
- core : module job (téléchargement licence/fw/carte), liens des guides
PDF, ordre des véhicules conservé (ordered_json)
- licence MIT (LICENSE, en-têtes SPDX) ; dépôt principal sur GitHub
- validé dans WSLg : parcours complet jusqu'à l'écriture d'une clé loop
(FAT32 propre, fichiers téléchargés supprimés)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar