guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 98b9fd216f51780f8ef5452b623364aac88c1777
Author: Evgeny Pisemsky <[email protected]>
AuthorDate: Fri Jul 10 18:29:34 2026 +0300
gnu: guile-xosd: Update to 0.4.
* gnu/packages/guile-xyz.scm (guile-xosd): Update to 0.4, run guix style.
[arguments]<#:phases>: Remove set-cpath, add substitute-libxosd.
[native-inputs]: Remove libtool.
[inputs]: Remove libx11, libxext, libxinerama.
Change-Id: I848cf98be3ab5c762924de2948052a8f25b14fae
Signed-off-by: Ludovic Courtès <[email protected]>
Merges: #9854
---
gnu/packages/guile-xyz.scm | 46 +++++++++++++++++++++++-----------------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index a205cece55..326bf42d73 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2483,31 +2483,31 @@ written in pure Scheme by using Guile's foreign
function interface.")
(define-public guile-xosd
(package
(name "guile-xosd")
- (version "0.2.2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/alezost/guile-xosd")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0jc88zg6icdg70mxbg732hx5by5bahqjm68yhx2ypqdqi7kqq1fk"))))
+ (version "0.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alezost/guile-xosd")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1a7zlx0fa61vf6m5fbmm8g7ni9a850wfl62wa8104f9y491wdn1z"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'set-cpath
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "CPATH"
- (string-append
- (assoc-ref inputs "guile") "/include/guile/3.0:"
- (or (getenv "CPATH") "")))
- #t)))))
- (native-inputs
- (list autoconf automake libtool texinfo pkg-config))
- (inputs
- (list guile-3.0 libx11 libxext libxinerama xosd))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'substitute-libxosd
+ (lambda _
+ (substitute* "modules/xosd.scm"
+ (("\"libxosd\"")
+ (string-append "\""
+ #$(this-package-input "xosd")
+ "/lib/libxosd.so"
+ "\""))))))))
+ (native-inputs (list autoconf automake texinfo pkg-config))
+ (inputs (list guile-3.0 xosd))
(home-page "https://github.com/alezost/guile-xosd")
(synopsis "XOSD bindings for Guile")
(description