mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: khelpcenter: Fix program.
* gnu/packages/kde-systemtools.scm (khelpcenter): Wrap XDG_DATA_DIRS to point to khtml where it can find the html4.css file, otherwise khelpcenter fails to launch. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
8cfe7e0321
commit
bf771c9e96
1 changed files with 11 additions and 1 deletions
|
@ -160,7 +160,17 @@ Dolphin with the version control systems: Bzr, Git, Mercurial, Subversion.")
|
||||||
qtbase-5
|
qtbase-5
|
||||||
xapian))
|
xapian))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f)) ;; 1/1 test fails
|
`(#:tests? #f ;; 1/1 test fails
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'install 'wrap-executable
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out")))
|
||||||
|
;; Since qt-wrap selectors do not wrap for /share/kf5
|
||||||
|
;; directories, we need this so khelpcenter can find html4.css.
|
||||||
|
(wrap-program (string-append out "/bin/khelpcenter")
|
||||||
|
`("XDG_DATA_DIRS" suffix
|
||||||
|
(,(string-append (assoc-ref inputs "khtml") "/share"))))))))))
|
||||||
(home-page "https://apps.kde.org/khelpcenter/")
|
(home-page "https://apps.kde.org/khelpcenter/")
|
||||||
(synopsis "KDE documentation viewer")
|
(synopsis "KDE documentation viewer")
|
||||||
(description "KHelpCenter uses meta data files which describe the
|
(description "KHelpCenter uses meta data files which describe the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue