unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thomas Danckaert <thomas.danckaert@gmail.com>
To: guix-devel@gnu.org
Cc: Thomas Danckaert <thomas.danckaert@gmail.com>
Subject: [PATCH 2/4] gnu: kdevelop: Set more paths in wrapper script.
Date: Wed, 11 Jan 2017 19:33:03 +0100	[thread overview]
Message-ID: <1484159585-12289-3-git-send-email-thomas.danckaert@gmail.com> (raw)
In-Reply-To: <1484159585-12289-1-git-send-email-thomas.danckaert@gmail.com>

* gnu/packages/kde.scm (kdevelop)[arguments]: Add more paths in
 wrap-executable: add "/share" output of kdevplatform and kcmutils to
 $XDG_DATA_DIRS; add "lib/plugins" from user profile to $QT_PLUGIN_PATH.
---
 gnu/packages/kde.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 5f227ac..aef56bb 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -98,15 +98,18 @@
              (let* ((out  (assoc-ref outputs "out"))
                     (kdevplatform (assoc-ref inputs "kdevplatform"))
                     (kio (assoc-ref inputs "kio"))
+                    (kcmutils (assoc-ref inputs "kcmutils"))
                     (qtquickcontrols (assoc-ref inputs "qtquickcontrols"))
                     (qtdeclarative (assoc-ref inputs "qtdeclarative"))
-                    (plugins "/lib/plugins")
+                    (profile "$HOME/.guix-profile")
                     (qml "/qml"))
                (wrap-program (string-append out "/bin/kdevelop")
+                 `("XDG_DATA_DIRS" ":" prefix
+                   ,(map (lambda (s) (string-append s "/share"))
+                         (list profile out kdevplatform kcmutils)))
                  `("QT_PLUGIN_PATH" ":" prefix
-                   (,(string-append out plugins)
-                    ,(string-append kdevplatform plugins)
-                    ,(string-append kio plugins)))
+                   ,(map (lambda (s) (string-append s "/lib/plugins"))
+                         (list profile out kdevplatform kio)))
                  `("QML2_IMPORT_PATH" ":" prefix
                    (,(string-append qtquickcontrols qml)
                     ,(string-append qtdeclarative qml))))))))))
-- 
2.7.4

  parent reply	other threads:[~2017-01-11 18:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-11 18:33 [PATCH 0/4] kdevelop updates Thomas Danckaert
2017-01-11 18:33 ` [PATCH 1/4] gnu: kdevelop: Update to 5.0.3 Thomas Danckaert
2017-01-16 20:07   ` Ludovic Courtès
2017-01-11 18:33 ` Thomas Danckaert [this message]
2017-01-16 20:09   ` [PATCH 2/4] gnu: kdevelop: Set more paths in wrapper script Ludovic Courtès
2017-01-11 18:33 ` [PATCH 3/4] gnu: Add kdev-python Thomas Danckaert
2017-01-16 21:10   ` Ludovic Courtès
2017-01-16 22:39     ` Danny Milosavljevic
2017-01-19 17:14       ` Thomas Danckaert
2017-01-20 13:36         ` Ludovic Courtès
2017-01-11 18:33 ` [PATCH 4/4] gnu: Add python-autopep8 Thomas Danckaert
2017-01-16 21:14   ` Ludovic Courtès
2017-01-16 21:18 ` Graft slowness fixed Ludovic Courtès

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=1484159585-12289-3-git-send-email-thomas.danckaert@gmail.com \
    --to=thomas.danckaert@gmail.com \
    --cc=guix-devel@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).