ci(release): desktop-entry icon gate; Icon Composer app icon on macOS

Linux: scripts/packaging/desktop_entry_check.sh asserts the MPRIS
DesktopEntry constant against the recipes (nfpm basename + Icon=,
StartupWMClass, reverse-DNS basenames) and against the built deb/rpm/
AppDir. The AppDir's desktop file now carries the reverse-DNS basename
so an integrated AppImage resolves the media-widget icon too. This
invariant regressed more than once; it is a gate now, not a rename.

macOS: compile packaging/icons/QBZ.icon (Icon Composer, issue #712) with
Xcode 26's actool into Assets.car + CFBundleIconName=QBZ; icon.icns stays
as CFBundleIconFile for older macOS. The Intel leg moves to macos-26-intel
so both legs carry actool.

cc
This commit is contained in:
vicrodh committed 2026-08-28 20:45:55 -06:00
1 parent a3161254e1
commit 8f35809df7
5 files changed
+138 -4

No files matched your search

@@ -104,6 +104,12 @@ jobs:
exit 1
fi
# The media-widget icon invariant (DesktopEntry == installed .desktop
# basename, Icon= installed) — regressed more than once, so it is a
# gate at the recipe level here and on the built packages below.
- name: Gate — desktop entry / icon invariant (recipes)
run: scripts/packaging/desktop_entry_check.sh
# No workflow may build the frozen Slint binary: same bin name, same
# target dir, last build wins the file — a smoke against "the wrong
# qbz" is silent.
@@ -225,6 +231,16 @@ jobs:
-t "dist/qbzd-${VERSION}-1.${RPM_ARCH}.rpm"
ls -la dist
# The same invariant on the ARTIFACTS: the deb/rpm must install
# /usr/share/applications/<DesktopEntry>.desktop and its Icon=.
- name: Gate — desktop entry / icon invariant (packages)
run: |
sudo apt-get install -y --no-install-recommends rpm
scripts/packaging/desktop_entry_check.sh \
--deb "dist/QBZ_${VERSION}_${DEB_ARCH}.deb" \
--rpm "dist/QBZ-${VERSION}-1.${RPM_ARCH}.rpm" \
--appdir AppDir
- name: Build AppImage
run: |
curl -fsSL -o appimagetool \