GNU bug report logs - #61860
[PATCH] gnu: herbstluftwm: Update to 0.9.5.

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Tue, 28 Feb 2023 02:16:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: iyzsong <at> envs.net
To: 61860 <at> debbugs.gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [bug#61860] [PATCH] gnu: herbstluftwm: Enable Xcursor support.
Date: Tue, 28 Feb 2023 11:02:06 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* gnu/packages/wm.scm (herbstluftwm)[inputs]: Add libxcursor.
[arguments]: Set 'LDFLAGS' to '-lXcursor'.
---
 gnu/packages/wm.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index a20c0a9440..38aab7c059 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -208,6 +208,7 @@ (define-public herbstluftwm
            xterm
            xsetroot
            libx11
+           libxcursor
            libxext
            libxfixes
            libxinerama
@@ -224,6 +225,10 @@ (define-public herbstluftwm
                (string-append "-DBASHCOMPLETIONDIR=" out "/etc/bash_completion.d")))
        #:phases
        (modify-phases %standard-phases
+         (add-before 'configure 'link-libxcursor
+           (lambda _
+             ;; libX11 will dlopen libXcursor to load cursors.
+             (setenv "LDFLAGS" "-lXcursor")))
          (add-after 'install 'install-xsession
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))

base-commit: ff5fbcc19bce6e94ead0cc79b27ae8ed0307463d
prerequisite-patch-id: 720b6ad92b3e9a1d7fd35692b2c14117af2d29ae
-- 
2.39.1





This bug report was last modified 2 years and 138 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.