nongnu: zoom: Fix failure to run.

Fixes #252.  Zoom launches again.

* nongnu/packages/messaging.scm: Remove unused (gnu packages qt).
(zoom)[inputs]: Add mit-krb5, xcb-util, xcb-util-renderutil, xcb-util-wm and
remove qtmultimedia.
[phases]{wrap-where-patchelf-does-not-work}: Add mit-krb5, libxcb, libxext,
xcb-util, xcb-util-wm, and xcb-util-renderutil to LD_LIBRARY_PATH for the zoom
binary.
This commit is contained in:
John Kehayias 2023-03-17 15:11:38 -04:00
parent 075c001aac
commit 76d776a3f5
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -15,10 +15,10 @@
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
#:use-module (gnu packages gnome) #:use-module (gnu packages gnome)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages kerberos)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages nss) #:use-module (gnu packages nss)
#:use-module (gnu packages pulseaudio) #:use-module (gnu packages pulseaudio)
#:use-module (gnu packages qt)
#:use-module (gnu packages xdisorg) #:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml) #:use-module (gnu packages xml)
#:use-module (gnu packages xorg) #:use-module (gnu packages xorg)
@ -282,6 +282,8 @@ or iOS.")
(arguments (arguments
(list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files (list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files
#:patchelf-plan #:patchelf-plan
;; Note: it seems like some (all?) of these only do anything in
;; LD_LIBRARY_PATH, or at least needed there as well.
#~(let ((libs '("alsa-lib" #~(let ((libs '("alsa-lib"
"at-spi2-atk" "at-spi2-atk"
"at-spi2-core" "at-spi2-core"
@ -370,15 +372,21 @@ or iOS.")
"gcc" "gcc"
"glib" "glib"
"mesa" "mesa"
"mit-krb5"
"nspr" "nspr"
"libxcb"
"libxcomposite" "libxcomposite"
"libxdamage" "libxdamage"
"libxext"
"libxkbcommon" "libxkbcommon"
"libxkbfile" "libxkbfile"
"libxrandr" "libxrandr"
"libxshmfence" "libxshmfence"
"pango" "pango"
"pulseaudio" "pulseaudio"
"xcb-util"
"xcb-util-wm"
"xcb-util-renderutil"
"zlib"))))))) "zlib")))))))
(add-after 'wrap-where-patchelf-does-not-work 'rename-binary (add-after 'wrap-where-patchelf-does-not-work 'rename-binary
;; IPC (for single sign-on and handling links) fails if the ;; IPC (for single sign-on and handling links) fails if the
@ -452,13 +460,16 @@ or iOS.")
libxrender libxrender
libxshmfence libxshmfence
mesa mesa
mit-krb5
nspr nspr
nss nss
pango pango
pulseaudio pulseaudio
qtmultimedia xcb-util
xcb-util-image xcb-util-image
xcb-util-keysyms xcb-util-keysyms
xcb-util-renderutil
xcb-util-wm
zlib)) zlib))
(home-page "https://zoom.us/") (home-page "https://zoom.us/")
(synopsis "Video conference client") (synopsis "Video conference client")