[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: alacritty: Patch references to more libraries.
From: |
guix-commits |
Subject: |
02/03: gnu: alacritty: Patch references to more libraries. |
Date: |
Tue, 3 Oct 2023 13:10:05 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 1899d997c24d546cc7b770b75cccf10bece7db8a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 19:53:51 2023 +0300
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.
---
gnu/packages/terminals.scm | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index bfde94d264..c5e6d51178 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -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)