CI and docs: libxkbcommon-x11-dev and libxcb1-dev, which the GPUI front end links
The release binary of voelin-gpui links libxcb.so.1 and libxkbcommon-x11.so.0
(`readelf -d`: libxcb, libxkbcommon, libxkbcommon-x11, libasound, libm, libc)
and opens libwayland-client.so.0, libvulkan.so.1 and libEGL.so.1 by name
(`strings`). The development packages of the first two were in no package
list, so a workspace build on the Ubuntu runner (CI builds every member)
would have failed to link: .github/actions/system-deps, the CI example in
docs/ci.md, docker/linux.Dockerfile ("the same libraries as CI") and the apt
line of docs/building.md name libxkbcommon-x11-dev and libxcb1-dev now, and
building.md and docs/ui.md say what the GPUI front end links and what it
opens by name (an earlier sentence of mine had all of them opened by name).
Not run: no Ubuntu runner or image here; this machine builds with Nix's
libraries, where the headers come from the same projects.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d4f9e59ed6
commit
97d51fb226
5 files changed
+21
-14
No files matched your search
+4
-1
@@ -1016,7 +1016,10 @@ VOELIN_OPEN=swatch VOELIN_DEV_THEME=light cargo run -p voelin-gpui --release
|
||||
|
||||
GPUI draws through wgpu: it needs a Vulkan driver (Mesa's RADV, ANV or NVK,
|
||||
NVIDIA's) or OpenGL at run time; in a virtual machine, a remote desktop or
|
||||
CI, Mesa's lavapipe (`mesa-vulkan-drivers`) draws in software. Which device a
|
||||
CI, Mesa's lavapipe (`mesa-vulkan-drivers`) draws in software. The binary
|
||||
links `libxcb` and `libxkbcommon-x11` (the build needs `libxkbcommon-x11-dev`
|
||||
and `libxcb1-dev`, which the package lists before it did not name) and opens
|
||||
`libwayland-client`, `libvulkan.so.1` and `libEGL.so.1` by name. Which device a
|
||||
run took is in the log ("Selected GPU adapter: ..."; the default filter shows
|
||||
GPUI's adapter lines: `VOELIN_LOG` or `RUST_LOG` change it). On Wayland and
|
||||
on X11 (a window manager is needed there for fullscreen and close requests).
|
||||
|
||||
Reference in new issue
Block a user