Add the OpenPU application icon (SVG, HVIF, PNG)
CI / Linux arm64 (push) Waiting to run
CI / Linux x86_64 (push) Waiting to run
CI / ASan + UBSan (push) Waiting to run

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
This commit is contained in:
yann64andClaude Opus 5.5 committed 2026-11-29 06:11:23 +01:00
1 parent 155545660e
commit bbc3bb3896
19 files changed
+437 -1

No files matched your search

+5
View File
@@ -1,3 +1,5 @@
<p align="center"><img src="data/icons/png/openpu-128.png" width="128" height="128" alt="OpenPU logo"></p>
# OpenPU
A free and native client to download updates for Peugeot head units
@@ -81,5 +83,8 @@ the Locale preferences. To add a language:
interfaces.
## Tools
- `tools/make_icons.py`: generates the application icon (original artwork, MIT like the rest of
the project) from a single description: `data/icons/openpu.svg`, a simplified variant for 16 and
24 px, `openpu.hvif` for Haiku and PNG files from 16 to 512 px. Standard library only.
- `tools/asar_extract.py`: minimal, read-only asar extractor used to study the reference
application. Extracted sources stay **outside the repository**.