just to confirm peoplee DCV is working normally for me on the last version
Thanks a lot you guys rock !
Git Clone URL: | https://aur.archlinux.org/amazon-workspaces-bin.git (read-only, click to copy) |
---|---|
Package Base: | amazon-workspaces-bin |
Description: | Amazon Workspace Client |
Upstream URL: | https://clients.amazonworkspaces.com/ |
Licenses: | non-free |
Submitter: | stilvoid |
Maintainer: | janek |
Last Packager: | janek |
Votes: | 19 |
Popularity: | 0.000001 |
First Submitted: | 2019-12-19 16:00 (UTC) |
Last Updated: | 2025-06-20 16:33 (UTC) |
just to confirm peoplee DCV is working normally for me on the last version
Thanks a lot you guys rock !
@qaplus: Thanks for the info, I just updated the PKGBUILD to the new release
@row: Thanks for the patch. I added this to the PKGBUILD and I could verify that at least PCoIP is still working. Hope this fixes DCV for you, unfortunately I can't verify it myself.
I'm getting validation errors as the following:
==> Validating source files with sha256sums...
amazon-workspaces-bin-2024.8.5130.deb ... FAILED
amazon-workspaces-bin-2024.8.5130.info ... FAILED
The content of amazon-workspaces-bin-2024.8.5130.info indicates the downloaded deb package is actually 2025.0.5219 now.
Package: workspacesclient
Version: 2025.0.5219
Architecture: amd64
Maintainer: Amazon WorkSpaces
Installed-Size: 287108
Depends: desktop-file-utils, libgraphicsmagick++-q16-12, libgtk2.0-bin, libhiredis0.14, libsoup2.4-1, libva-drm2, libva-x11-2, libva2 , libvdpau1, libwebkit2gtk-4.0-37,libglib2.0-bin,libgtk-3-0
Filename: dists/focal/main/binary-amd64/workspacesclient_2025.0.5219_amd64.deb
Size: 97357012
MD5sum: 2cbdfaed80ad4224208cf8cd03eab4a3
SHA1: ebf40366c129ce9886f9ddf0b907c0480c8ae191
SHA256: 181c4a10a9a745b67769c063c0c67355db9f71d63aab14ab46699e68898d32ec
Section: misc
Priority: optional
Description: [generated from Rust crate WorkSpacesClient]
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
The suggested diff did not work for me to have DCV protocol working.
I also had to switch to the jammy
package instead to get it to work, my local diff:
diff --git a/PKGBUILD b/PKGBUILD
index aca588f..ce68ddf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,9 +2,9 @@
# Contributor: Steve Engledow <steve@engledow.me>
pkgname=amazon-workspaces-bin
-pkgver=2024.8.5130
+pkgver=2024.8.5191
pkgrel=3
-_aptdist=focal
+_aptdist=jammy
pkgdesc='Amazon Workspace Client'
arch=('x86_64')
url="https://clients.amazonworkspaces.com/"
@@ -20,6 +20,10 @@ depends=(
'libva'
'libvdpau'
'glib2'
+ 'webkit2gtk-4.1'
+)
+optdepends=(
+ 'libselinux: for DCV protocol support'
)
options=('staticlibs')
makedepends=(
@@ -33,8 +37,8 @@ source=(
workspacesclient-wrapper
)
-sha256sums=('880157ef0361b696b34e5ad0957252bc3fd91b8b7a3b992623901fd3880120ca'
- 'b86729bff47a50f07005b6d3df8449bb594d07ef5fc07cb928b3982763bfb164'
+sha256sums=('043c4cc9c56059c88965ef02b44957696567a980d03b93666b02b5d06bcfdbe9'
+ '835c6ab8a743d10ce3c2ee4cefeb2994b77e17b78b91cb767bfaa4b52685824c
'fb7640c4d5dbb507d6443462eabf1384dd65f069b33a9abc4a599d41ac6d0fb6'
'27c7e51d9434e4cf85d898179ab1b0477b9c695e3461a7403da4e2c37857474f')
@@ -57,7 +61,7 @@ prepare() {
# Remove the vendored-in libgio-2.0.so.0, so the system one is 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/libgio-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
@oech3: thanks, you are right, I changed the dependency to icu, it doesn't seem to link to icu63 at all.
@DavidNorena: Do you still have issues with glib2 2.84? I'm on 2.84.1 and don't experience any issues. Probably it's only with DCV and I can unfortunatly only test PCoIP, as I don't have a DCV capable target available.
To use the bundled glib2, you could try removing the "rm ..." in line 60 and install "libselinux" from AUR or cachyos repo. Here is a patch:
diff --git a/amazon-workspaces-bin/PKGBUILD b/amazon-workspaces-bin/PKGBUILD
index aca588f..5cd26fa 100644
--- a/amazon-workspaces-bin/PKGBUILD
+++ b/amazon-workspaces-bin/PKGBUILD
@@ -21,6 +21,9 @@ depends=(
'libvdpau'
'glib2'
)
+optdepends=(
+ 'libselinux: for DCV protocol support'
+)
options=('staticlibs')
makedepends=(
'binutils'
@@ -55,10 +58,6 @@ 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
- # 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
-
# The below preparation steps are adapted from the .deb
export LD_LIBRARY_PATH=${srcdir}/usr/lib/${arch}-linux-gnu/workspacesclient/dcv:$LD_LIBRARY_PATH
export PATH=${srcdir}/usr/lib/${arch}-linux-gnu/workspacesclient/dcv:$PATH
If this turns out to work for you, this might be a better approach as it shouldn't break with the next glib2 update...
It seems working with icu. Not icu63.
@janek is there a way to change the build part that removes the glib library please ?
I had to do this instead
sed -i -e 's/Exec=workspacesclient/Exec=workspacesclient-wrapper/' ${srcdir}/usr/share/applications/com.amazon.workspacesclient.desktop
cp /tmp/glib-test/libgio-2.0.so.0.8200.5 ${srcdir}/usr/lib/${arch}-linux-gnu/workspacesclient/dcv/libgio-2.0.so.0
cp /tmp/glib-test/libglib-2.0.so.0.8200.5 ${srcdir}/usr/lib/${arch}-linux-gnu/workspacesclient/dcv/libglib-2.0.so.0
cp /tmp/glib-test/libgmodule-2.0.so.0.8200.5 ${srcdir}/usr/lib/${arch}-linux-gnu/workspacesclient/dcv/libgmodule-2.0.so.0
cp /tmp/glib-test/libgobject-2.0.so.0.8200.5 ${srcdir}/usr/lib/${arch}-linux-gnu/workspacesclient/dcv/libgobject-2.0.so.0
cp /tmp/glib-test/libgthread-2.0.so.0.8200.5 ${srcdir}/usr/lib/${arch}-linux-gnu/workspacesclient/dcv/libgthread-2.0.so.0
I had to upgrade glib2 2.84.0 system wide, seems other applications in my system were broken without it, so, i had to manually put the older version into the amazon workspace client
is there something im missing ?
as for today, please downgrade glib2 to make it work, otherwise i was getting a Disconnected window without errors or warnings.
downgraded glib2 (2.84.0-1 -> 2.82.5-1)
working on kernel 6.13.6-arch1-1
Can't say, working here with 6.12.18-1-lts
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.