gnu: alacritty: Patch references to more libraries.

* gnu/packages/terminals.scm (alacritty)[arguments]: Also patch paths to
X libraries in 'add-absolute-library-references phase.
[inputs]: Add libxext, libxft, libxinerama, libxmu, libxpresent,
libxscrnsaver, libxt, libxtst.
This commit is contained in:
Efraim Flashner 2023-10-03 19:53:51 +03:00
parent 998c9122d3
commit 1899d997c2
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -1576,10 +1576,9 @@ basic input/output.")
(search-input-file inputs "lib/libEGL.so"))
(("libGL\\.so")
(search-input-file inputs "lib/libGL.so"))
;; Lots of libraries from rust-x11-dl.
;; XXX: Not all X11 libraries are inside the build enclosure.
;(("libX.*\\.so" all)
; (search-input-file inputs (string-append "lib/" all)))
;; Lots of libraries from rust-x11-dl and others.
(("libX[[:alpha:]]*\\.so" all)
(search-input-file inputs (string-append "lib/" all)))
;; There are several libwayland libraries.
(("libwayland-.*\\.so" all)
@ -1639,9 +1638,17 @@ basic input/output.")
("libx11" ,libx11)
("libxcb" ,libxcb)
("libxcursor" ,libxcursor)
("libxext" ,libxext)
("libxft" ,libxft)
("libxi" ,libxi)
("libxinerama" ,libxinerama)
("libxkbcommon" ,libxkbcommon)
("libxmu" ,libxmu)
("libxpresent" ,libxpresent)
("libxrandr" ,libxrandr)
("libxscrnsaver" ,libxscrnsaver)
("libxt" ,libxt)
("libxtst" ,libxtst)
("libxxf86vm" ,libxxf86vm)
("mesa" ,mesa)
("xdg-utils" ,xdg-utils)