[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#37725] [PATCH] gnu: lxqt-config: Add libkscreen as propagated-input

From: Hamzeh Nasajpour via web
Subject: [bug#37725] [PATCH] gnu: lxqt-config: Add libkscreen as propagated-inputs.
Date: Wed, 16 Sep 2020 10:40:23 +0200


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.")
                 (string-append (assoc-ref outputs "out")
-             #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 
+                     (wrap-program (string-append out "/bin/lxqt-config-input")
+                         `("PATH" ":" prefix (,(string-append libkscreen 
+             #t))))))
     (home-page "";)
     (synopsis "Tools to configure LXQt and the underlying operating system")
     (description "lxqt-config is providing several tools involved in the

reply via email to

[Prev in Thread] Current Thread [Next in Thread]