This is probably not a permanent fix, but noting that deleting more libraries allows DCV to work with the newer glib2 and not crash (mine is 2.84.2-1). Unfortunately, audio doesn't seem to work, which is fine for my current DCV Workspaces usage on Arch, but perhaps not a great outcome for all. The audio/webcam icons are missing at the top, along with the window size controls, although the full-screen menu is present and functional. It is possible my audio symptom is being "stuck muted" in some way from the buttons not being present. I'm not clear if these issues are side-effects from the additional deletes, or library changes in Arch. Noting that it looks like the full screen icon is different than before (possibly broken or a placeholder).
diff --git a/amazon-workspaces-bin/PKGBUILD b/amazon-workspaces-bin/PKGBUILD
index aca588f..5336fd1 100644
--- a/amazon-workspaces-bin/PKGBUILD
+++ b/amazon-workspaces-bin/PKGBUILD
@@ -55,9 +55,11 @@ prepare() {
sed -i -e 's/Exec=workspacesclient/Exec=workspacesclient-wrapper/' ${srcdir}/usr/share/applications/com.amazon.workspacesclient.desktop
- # Remove the vendored-in libgio-2.0.so.0, so the system one is used
+ # Remove a couple of vendored-in libraries, so the system ones are used
# The vendored-in version has libselinux.so.1 linked, which doesn't exist natively on Arch
rm ${srcdir}/usr/lib/${arch}-linux-gnu/workspacesclient/dcv/libgio-2.0.so.0
+ rm ${srcdir}/usr/lib/${arch}-linux-gnu/workspacesclient/dcv/libglib-2.0.so.0
+ rm ${srcdir}/usr/lib/${arch}-linux-gnu/workspacesclient/dcv/libgobject-2.0.so.0
# The below preparation steps are adapted from the .deb
export LD_LIBRARY_PATH=${srcdir}/usr/lib/${arch}-linux-gnu/workspacesclient/dcv:$LD_LIBRARY_PATH
Pinned Comments
janek commented on 2025-01-28 13:58 (UTC)
The package is now finally upgraded to the latest 2024.x release!
Thanks to @row's patch it not only supports the DCV, but also continues to support PCoIP.
If anyone has issues with the new release: I also published the old release under a new name here: https://aur.archlinux.org/packages/amazon-workspaces-legacy-bin
Please still comment here if you have any issues with the new release & include your streaming protocol (DCV/PCoIP). Thanks!
Thank you very much @row.