GNU bug report logs - #37725
[PATCH] gnu: lxqt-config: Add libkscreen as propagated-inputs.

Previous Next

Package: guix-patches;

Reported by: "Hamzeh Nasajpour" <h.nasajpour <at> pantherx.org>

Date: Sun, 13 Oct 2019 04:25:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #35 received at 37725 <at> debbugs.gnu.org (full text, mbox):

From: Hamzeh Nasajpour via web <issues.guix.gnu.org <at> elephly.net>
To: 37725 <at> debbugs.gnu.org
Subject: [PATCH] gnu: lxqt-config: Add libkscreen as propagated-inputs.
Date: Wed, 16 Sep 2020 10:40:23 +0200
Hi,

Finally we can fix this issue with wrapping the `lxqt-config` and `lxqt-config-monitor` and add the `libkscreen` path to `PATH` environment path. I updated based on this patch and it fixed.

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index af452a9903..0ba1a0c7b3 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -418,7 +418,16 @@ the operating system LXQt is running on.")
                (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
                 (string-append (assoc-ref outputs "out")
                                "/share/lxqt/translations")))
-             #t)))))
+             #t))
+         (add-after 'install 'wrap-for-libkscreen
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out              (assoc-ref outputs "out"))
+                   (libkscreen       (assoc-ref %build-inputs "libkscreen")))
+                     (wrap-program (string-append out "/bin/lxqt-config")
+                         `("PATH" ":" prefix (,(string-append libkscreen "/bin/"))))
+                     (wrap-program (string-append out "/bin/lxqt-config-input")
+                         `("PATH" ":" prefix (,(string-append libkscreen "/bin/"))))
+             #t))))))
     (home-page "https://lxqt.github.io")
     (synopsis "Tools to configure LXQt and the underlying operating system")
     (description "lxqt-config is providing several tools involved in the





This bug report was last modified 195 days ago.

Previous Next


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