unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Hamzeh Nasajpour via web <issues.guix.gnu.org@elephly.net>
To: 37725@debbugs.gnu.org
Subject: [bug#37725] [PATCH] gnu: lxqt-config: Add libkscreen as propagated-inputs.
Date: Wed, 16 Sep 2020 10:40:23 +0200	[thread overview]
Message-ID: <7f6cec63aa60.1c74a5ea44b25a07@guile.gnu.org> (raw)
In-Reply-To: <0204dc81-bfad-4efb-a88a-5f90e00678aa@www.fastmail.com>

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





      parent reply	other threads:[~2020-09-16  8:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-13  4:23 [bug#37725] [PATCH] gnu: lxqt-config: Add libkscreen as propagated-inputs Hamzeh Nasajpour
2019-10-13 22:07 ` Ludovic Courtès
2019-10-14  5:50   ` Hamzeh Nasajpour
2019-10-14 20:21     ` Ludovic Courtès
2020-04-02 19:17       ` Hamzeh Nasajpour
2020-04-27 16:39         ` Efraim Flashner
2019-10-16 11:18 ` Reza Alizadeh Majd
2019-10-18  9:54   ` Ludovic Courtès
2019-10-18 16:44     ` Reza Alizadeh Majd
2020-04-22 15:50       ` Ludovic Courtès
2020-09-16  8:40 ` Hamzeh Nasajpour via web [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7f6cec63aa60.1c74a5ea44b25a07@guile.gnu.org \
    --to=issues.guix.gnu.org@elephly.net \
    --cc=37725@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).