unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69797] [PATCH] gnu: alacritty: Fix loading of libxkbcommon-x11.so.
@ 2024-03-14 13:55 Clément Lassieur
  2024-03-15  8:35 ` bug#69797: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Clément Lassieur @ 2024-03-14 13:55 UTC (permalink / raw)
  To: 69797; +Cc: Clément Lassieur, Efraim Flashner

* gnu/packages/terminals.scm (alacritty)[arguments]: Handle
libxkbcommon-x11.so in the ‘add-absolute-library-references’ phase.

This fixes this error:

thread 'main' panicked at /tmp/guix-build-alacritty-0.13.1.drv-0/source/guix-vendor/rust-xkbcommon-dl-0.4.1.tar.gz/src/x11.rs:59:28:
Library libxkbcommon-x11.so could not be loaded.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Change-Id: Ifbf19b4962bc3d9eeba6acdf32ca66b0c662f493
---
 gnu/packages/terminals.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 49c42c8fcb98..f0ae4d4d4d61 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -39,6 +39,7 @@
 ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
 ;;; Copyright © 2024 Suhail <suhail@bayesians.ca>
+;;; Copyright © 2024 Clément Lassieur <clement@lassieur.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1604,6 +1605,8 @@ (define-public alacritty
                 (search-input-file inputs (string-append "lib/" all)))
                (("libwayland-[[:alpha:]]*\\.so" all)
                 (search-input-file inputs (string-append "lib/" all)))
+               (("libxkbcommon-x11\\.so")
+                (search-input-file inputs "lib/libxkbcommon-x11.so"))
                (("libxkbcommon\\.so")
                 (search-input-file inputs "lib/libxkbcommon.so")))))
          (replace 'install

base-commit: dc4842797bfdc5f9f3f5f725bf189c2b68bd6b5a
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#69797: [PATCH] gnu: alacritty: Fix loading of libxkbcommon-x11.so.
  2024-03-14 13:55 [bug#69797] [PATCH] gnu: alacritty: Fix loading of libxkbcommon-x11.so Clément Lassieur
@ 2024-03-15  8:35 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2024-03-15  8:35 UTC (permalink / raw)
  To: Clément Lassieur; +Cc: 69797-done

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

Thanks! Patch pushed.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-15  8:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-14 13:55 [bug#69797] [PATCH] gnu: alacritty: Fix loading of libxkbcommon-x11.so Clément Lassieur
2024-03-15  8:35 ` bug#69797: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).