aboutsummaryrefslogtreecommitdiffstats
path: root/claude-desktop-bin
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-10 12:28:38 +0200
committerDanilo M. <danix@danix.xyz>2026-07-10 12:28:38 +0200
commitfe409a4d8add128c7f22c3728aa5e7403be269c9 (patch)
tree9179586c3dd607b27e37e26702381bf16ff97ef2 /claude-desktop-bin
parent342fb30f508784a4c78fe32ade5a682ad69555e5 (diff)
downloadmy-slackbuilds-fe409a4d8add128c7f22c3728aa5e7403be269c9.tar.gz
my-slackbuilds-fe409a4d8add128c7f22c3728aa5e7403be269c9.zip
claude-desktop-bin: bridge OVMF paths for Cowork
Cowork launches a QEMU VM and probes for OVMF UEFI firmware at the Debian paths /usr/share/OVMF/OVMF_CODE{,_4M}.fd, which do not exist on Slackware. Ship compatibility symlinks pointing at edk2-ovmf-x64, add edk2-ovmf to REQUIRES, and document the Cowork deps and kvm group in the README. Bump BUILD to 2. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'claude-desktop-bin')
-rw-r--r--claude-desktop-bin/README32
-rw-r--r--claude-desktop-bin/claude-desktop-bin.SlackBuild12
-rw-r--r--claude-desktop-bin/claude-desktop-bin.info2
3 files changed, 40 insertions, 6 deletions
diff --git a/claude-desktop-bin/README b/claude-desktop-bin/README
index 5f0a694..2dd4c4e 100644
--- a/claude-desktop-bin/README
+++ b/claude-desktop-bin/README
@@ -13,10 +13,34 @@ profile are Debian/Ubuntu specific and are not reproduced here.
Chromium's SUID sandbox helper (chrome-sandbox) is shipped setuid root
so the sandbox works without --no-sandbox.
-There are no SBo dependencies: the Debian runtime dependencies (gtk3,
-nss, notify, atspi, drm, gbm, secret, xtst, xdg-utils,
-xdg-desktop-portal) are all satisfied by a stock Slackware install, and
-Chromium's own libraries are bundled inside the package.
+The Debian runtime dependencies (gtk3, nss, notify, atspi, drm, gbm,
+secret, xtst, xdg-utils, xdg-desktop-portal) are all satisfied by a
+stock Slackware install, and Chromium's own libraries are bundled
+inside the package.
+
+The single SBo dependency, edk2-ovmf, is required by the Cowork feature
+(see below); it is not needed to launch or use Claude Desktop itself.
+
+
+COWORK
+------
+Cowork runs the coding agent inside an isolated QEMU virtual machine.
+It requires:
+
+ - qemu (shipped with Slackware)
+ - edk2-ovmf (OVMF UEFI firmware; the REQUIRES of this package)
+ - virtiofsd (bundled inside this package)
+
+Cowork probes for the OVMF firmware at the Debian paths
+/usr/share/OVMF/OVMF_CODE{,_4M}.fd. This package installs compatibility
+symlinks there pointing at edk2-ovmf's /usr/share/edk2-ovmf-x64/ files,
+so Cowork finds them with no manual setup.
+
+For hardware acceleration the VM needs /dev/kvm, which is root:kvm 0660.
+Add your user to the kvm group so the VM does not fall back to slow
+software emulation:
+
+ # usermod -aG kvm <user>
NVCHECKER
diff --git a/claude-desktop-bin/claude-desktop-bin.SlackBuild b/claude-desktop-bin/claude-desktop-bin.SlackBuild
index d25bdd0..88066a7 100644
--- a/claude-desktop-bin/claude-desktop-bin.SlackBuild
+++ b/claude-desktop-bin/claude-desktop-bin.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=claude-desktop-bin
SRCNAM=claude-desktop
VERSION=${VERSION:-1.18286.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,6 +68,16 @@ mkdir -p $TMP $PKG $OUTPUT
# Drop Debian-only cruft.
rm -rf $PKG/usr/share/lintian
+# Cowork (the sandboxed-agent feature) launches a QEMU VM and probes for OVMF
+# UEFI firmware at the Debian paths /usr/share/OVMF/OVMF_CODE{,_4M}.fd. On
+# Slackware the edk2-ovmf package (a REQUIRES) installs those under
+# /usr/share/edk2-ovmf-x64/. Bridge the two with relative symlinks; makepkg
+# folds these into doinst.sh so no dead links ship in the tree.
+mkdir -p $PKG/usr/share/OVMF
+ln -s ../edk2-ovmf-x64/OVMF_CODE.fd $PKG/usr/share/OVMF/OVMF_CODE.fd
+ln -s ../edk2-ovmf-x64/OVMF_CODE.fd $PKG/usr/share/OVMF/OVMF_CODE_4M.fd
+ln -s ../edk2-ovmf-x64/OVMF_VARS.fd $PKG/usr/share/OVMF/OVMF_VARS.fd
+
# Make every bundled ELF executable. The deb ships most chromium libs 0755,
# but some prebuilt native modules are 0644 (e.g. node-pty's pty.node, buried
# under resources/app.asar.unpacked/), which trips sbopkglint's 20-arch test.
diff --git a/claude-desktop-bin/claude-desktop-bin.info b/claude-desktop-bin/claude-desktop-bin.info
index d911063..f3c2ff8 100644
--- a/claude-desktop-bin/claude-desktop-bin.info
+++ b/claude-desktop-bin/claude-desktop-bin.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://downloads.claude.ai/claude-desktop/apt/stable/pool/main/c/clau
MD5SUM="853168e12c721d6bc6ce9566bbd5348e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="edk2-ovmf"
MAINTAINER="danix"
EMAIL="danix@danix.xyz"