fix(ci): apply the pending release-pipeline review fixes
Restores the ALSA layout binds in both snap recipes (bit-perfect hw: access inside the snap), lets the build cache save on main as well as slint-mvp, installs the desktop file as com.blitzfc.qbz.desktop so the AppStream launchable and the MPRIS DesktopEntry resolve in deb/rpm, clears the stale boot-restore error when a new browser sign-in starts, and adds the X11 dlopen libraries to the flake's runtime set. The flake version/rev/srcHash bump remains a tag-time step (documented in the release checklist, which is rewritten for the 2.0 Slint flow). cc
This commit is contained in:
6 files changed
+36
-2
No files matched your search
@@ -97,7 +97,7 @@ jobs:
|
||||
workspaces: crates -> target
|
||||
shared-key: slint-linux
|
||||
cache-on-failure: true
|
||||
save-if: ${{ github.ref == 'refs/heads/slint-mvp' }}
|
||||
save-if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/slint-mvp' }}
|
||||
|
||||
- name: Build qbz-slint (memory-tuned, MIN tier)
|
||||
env:
|
||||
|
||||
@@ -6509,6 +6509,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
return;
|
||||
}
|
||||
login_state.set_error("".into());
|
||||
// A new sign-in supersedes any stale boot-restore error —
|
||||
// without this both error boxes can show at once (review fix).
|
||||
w.global::<OfflineState>().set_login_error("".into());
|
||||
login_state.set_phase(1);
|
||||
}
|
||||
let runtime = runtime.clone();
|
||||
|
||||
@@ -28,6 +28,11 @@
|
||||
libxkbcommon
|
||||
libglvnd
|
||||
vulkan-loader
|
||||
# X11 session support: winit dlopens these when not on Wayland
|
||||
# (review fix — without them the app is Wayland-only on Nix).
|
||||
xorg.libX11
|
||||
xorg.libXcursor
|
||||
xorg.libXi
|
||||
];
|
||||
in
|
||||
{
|
||||
|
||||
@@ -31,8 +31,10 @@ contents:
|
||||
dst: /usr/bin/qbz
|
||||
file_info:
|
||||
mode: 0755
|
||||
# Installed as com.blitzfc.qbz.desktop so the AppStream metainfo's
|
||||
# <launchable> and the MPRIS DesktopEntry both resolve (review fix).
|
||||
- src: packaging/linux/qbz.desktop
|
||||
dst: /usr/share/applications/qbz.desktop
|
||||
dst: /usr/share/applications/com.blitzfc.qbz.desktop
|
||||
- src: packaging/flatpak/com.blitzfc.qbz.metainfo.xml
|
||||
dst: /usr/share/metainfo/com.blitzfc.qbz.metainfo.xml
|
||||
- src: packaging/icons/32x32.png
|
||||
|
||||
@@ -48,6 +48,17 @@ platforms:
|
||||
amd64:
|
||||
# arm64 is a separate job (needs an arm64 binary + runner); add later.
|
||||
|
||||
# ALSA config/plugin binds: without these the snap's alsa-lib cannot find the
|
||||
# host's ALSA configuration and plugin set, and the direct hw: (bit-perfect)
|
||||
# path breaks. Restored from the 1.2.x recipe (review fix 2026-07-03).
|
||||
layout:
|
||||
/usr/share/alsa:
|
||||
bind: $SNAP/usr/share/alsa
|
||||
/etc/alsa:
|
||||
bind: $SNAP/etc/alsa
|
||||
/usr/lib/x86_64-linux-gnu/alsa-lib:
|
||||
bind: $SNAP/usr/lib/x86_64-linux-gnu/alsa-lib
|
||||
|
||||
apps:
|
||||
qbz:
|
||||
command: bin/qbz
|
||||
|
||||
@@ -45,6 +45,19 @@ platforms:
|
||||
amd64:
|
||||
arm64:
|
||||
|
||||
# ALSA config/plugin binds: without these the snap's alsa-lib cannot find the
|
||||
# host's ALSA configuration and plugin set, and the direct hw: (bit-perfect)
|
||||
# path breaks. Restored from the 1.2.x recipe (review fix 2026-07-03).
|
||||
layout:
|
||||
/usr/share/alsa:
|
||||
bind: $SNAP/usr/share/alsa
|
||||
/etc/alsa:
|
||||
bind: $SNAP/etc/alsa
|
||||
/usr/lib/x86_64-linux-gnu/alsa-lib:
|
||||
bind: $SNAP/usr/lib/x86_64-linux-gnu/alsa-lib
|
||||
/usr/lib/aarch64-linux-gnu/alsa-lib:
|
||||
bind: $SNAP/usr/lib/aarch64-linux-gnu/alsa-lib
|
||||
|
||||
apps:
|
||||
qbz:
|
||||
command: bin/qbz
|
||||
|
||||
Reference in new issue
Block a user