[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 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#37725] [PATCH] gnu: lxqt-config: Add libkscreen as propagated-inputs.,
Hamzeh Nasajpour via web <=