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

+13
View File
@@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
<title>OpenPU</title>
<defs>
<linearGradient id="bg" gradientUnits="userSpaceOnUse" x1="32" y1="4" x2="32" y2="60">
<stop offset="0" stop-color="#2563b8"/>
<stop offset="1" stop-color="#163a6b"/>
</linearGradient>
</defs>
<path fill="url(#bg)" d="M12 4 L52 4 C54.2 4 56 5.8 56 8 L56 34 C56 49 45 57 32 61 C19 57 8 49 8 34 L8 8 C8 5.8 9.8 4 12 4Z"/>
<path fill="#ffffff" d="M15 19 L23 19 C26.9 19 29 22.1 29 26 C29 29.9 26.9 33 23 33 L21 33 L21 41 L15 41Z"/>
<path fill="url(#bg)" d="M21 24 L23 24 C24.1 24 25 24.9 25 26 C25 27.1 24.1 28 23 28 L21 28Z"/>
<path fill="#ffffff" d="M33 19 L39 19 L39 33 C39 34.1 39.9 35 41 35 C42.1 35 43 34.1 43 33 L43 19 L49 19 L49 33 C49 37.4 45.4 41 41 41 C36.6 41 33 37.4 33 33Z"/>
</svg>

After

Width:  |  Height:  |  Size: 841 B

Binary file not shown.
+16
View File
@@ -0,0 +1,16 @@
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
<title>OpenPU</title>
<defs>
<linearGradient id="bg" gradientUnits="userSpaceOnUse" x1="32" y1="4" x2="32" y2="60">
<stop offset="0" stop-color="#2563b8"/>
<stop offset="1" stop-color="#163a6b"/>
</linearGradient>
</defs>
<path fill="url(#bg)" d="M12 4 L52 4 C54.2 4 56 5.8 56 8 L56 34 C56 49 45 57 32 61 C19 57 8 49 8 34 L8 8 C8 5.8 9.8 4 12 4Z"/>
<path fill="#ffffff" d="M14 6.85 L50 6.85 C51.98 6.85 53.6 8.47 53.6 10.45 L53.6 33.85 C53.6 47.35 43.7 54.55 32 58.15 C20.3 54.55 10.4 47.35 10.4 33.85 L10.4 10.45 C10.4 8.47 12.02 6.85 14 6.85Z"/>
<path fill="url(#bg)" d="M14.8 7.99 L49.2 7.99 C51.09 7.99 52.64 9.54 52.64 11.43 L52.64 33.79 C52.64 46.69 43.18 53.57 32 57.01 C20.82 53.57 11.36 46.69 11.36 33.79 L11.36 11.43 C11.36 9.54 12.91 7.99 14.8 7.99Z"/>
<path fill="#ffffff" d="M15 15 L23 15 C26.9 15 29 18.1 29 22 C29 25.9 26.9 29 23 29 L21 29 L21 37 L15 37Z"/>
<path fill="url(#bg)" d="M21 20 L23 20 C24.1 20 25 20.9 25 22 C25 23.1 24.1 24 23 24 L21 24Z"/>
<path fill="#ffffff" d="M33 15 L39 15 L39 29 C39 30.1 39.9 31 41 31 C42.1 31 43 30.1 43 29 L43 15 L49 15 L49 29 C49 33.4 45.4 37 41 37 C36.6 37 33 33.4 33 29Z"/>
<path fill="#8ec5ff" d="M30 41 L34 41 L34 47 L39 47 L32 54 L25 47 L30 47Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB