[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: python-xdo: Hard-code path to libc.
From: |
guix-commits |
Subject: |
branch master updated: gnu: python-xdo: Hard-code path to libc. |
Date: |
Wed, 19 Jan 2022 08:55:05 -0500 |
This is an automated email from the git hooks/post-receive script.
lbraun pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 71421529d8 gnu: python-xdo: Hard-code path to libc.
71421529d8 is described below
commit 71421529d8521eb48c707ed5cdb7ea7a75e52663
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Wed Jan 19 14:39:59 2022 +0100
gnu: python-xdo: Hard-code path to libc.
Fixes: <https://issues.guix.gnu.org/53183>
* gnu/packages/python-xyz.scm (python-xdo)[arguments]: Also substitute*
reference of libc.
[inputs]: Add glibc.
---
gnu/packages/python-xyz.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 28019bcd2b..757afbbba5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14313,16 +14313,22 @@ in pure Python.")
(lambda* (#:key inputs #:allow-other-keys)
(let ((libxdo (string-append
(assoc-ref inputs "xdotool")
- "/lib/libxdo.so")))
+ "/lib/libxdo.so"))
+ (libc (string-append
+ (assoc-ref inputs "glibc")
+ "/lib/libc.so.6")))
(substitute* "xdo/_xdo.py"
(("find_library\\(\"xdo\"\\)")
- (simple-format #f "\"~a\"" libxdo)))
+ (simple-format #f "\"~a\"" libxdo))
+ (("ctypes\\.util\\.find_library\\('libc'\\)")
+ (simple-format #f "\"~a\"" libc)))
#t))))
#:tests? #f)) ; no tests provided
(propagated-inputs
(list python-six))
(inputs
`(("xdotool" ,xdotool)
+ ("glibc" ,glibc)
("libX11" ,libx11)))
(home-page "https://tracker.debian.org/pkg/python-xdo")
(synopsis "Python library for simulating X11 keyboard/mouse input")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: python-xdo: Hard-code path to libc.,
guix-commits <=