[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/39: gnu: khelpcenter: Fix program.
From: |
guix-commits |
Subject: |
25/39: gnu: khelpcenter: Fix program. |
Date: |
Thu, 1 Sep 2022 11:36:52 -0400 (EDT) |
mbakke pushed a commit to branch staging
in repository guix.
commit bf771c9e96a807eae267b1678fac3750297769b6
Author: Brendan Tildesley <mail@brendan.scot>
AuthorDate: Sun Feb 6 18:32:30 2022 +1100
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>
---
gnu/packages/kde-systemtools.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/kde-systemtools.scm b/gnu/packages/kde-systemtools.scm
index b79f72a4ed..809a9ddb7a 100644
--- a/gnu/packages/kde-systemtools.scm
+++ b/gnu/packages/kde-systemtools.scm
@@ -160,7 +160,17 @@ Dolphin with the version control systems: Bzr, Git,
Mercurial, Subversion.")
qtbase-5
xapian))
(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/")
(synopsis "KDE documentation viewer")
(description "KHelpCenter uses meta data files which describe the
- 14/39: gnu: KDE Internet: Update all packages to 21.12.3., (continued)
- 14/39: gnu: KDE Internet: Update all packages to 21.12.3., guix-commits, 2022/09/01
- 13/39: gnu: Remove libraw-0.18., guix-commits, 2022/09/01
- 16/39: gnu: KDE Utils: Update all packages to 21.12.3., guix-commits, 2022/09/01
- 19/39: gnu: KDE Systemtools: Update home-page links., guix-commits, 2022/09/01
- 39/39: gnu: Add kwayland-server., guix-commits, 2022/09/01
- 33/39: gnu: KDE: Update packages to 22.04.3., guix-commits, 2022/09/01
- 37/39: gnu: KDE Multimedia: Update to 22.04.3., guix-commits, 2022/09/01
- 32/39: gnu: Remove kalarmcal., guix-commits, 2022/09/01
- 38/39: gnu: KDE Games: Update all packages to 22.04.3., guix-commits, 2022/09/01
- 15/39: gnu: KDE Internet: Update home-page links., guix-commits, 2022/09/01
- 25/39: gnu: khelpcenter: Fix program.,
guix-commits <=
- 36/39: gnu: KDE Systemtools: Update to 22.04.3., guix-commits, 2022/09/01
- 31/39: gnu: KDE PIM: Update all packages to 22.04.3., guix-commits, 2022/09/01
- 17/39: gnu: ark: Add bash-minimal to inputs., guix-commits, 2022/09/01
- 18/39: gnu: KDE SystemTools: Update all packages to 21.12.3., guix-commits, 2022/09/01
- 20/39: gnu: KDE Multimedia: Update all packages to 21.12.3., guix-commits, 2022/09/01
- 24/39: gnu: KDE Games: Update all packages to 21.12.3., guix-commits, 2022/09/01
- 22/39: gnu: kmplayer: Update to specific commit., guix-commits, 2022/09/01
- 28/39: gnu: KDE Plasma: Update all packages to 5.25.3., guix-commits, 2022/09/01
- 26/39: gnu: KDE: Use breeze-icons over oxygen-icons., guix-commits, 2022/09/01
- 27/39: gnu: KDE Frameworks: Update all packages to 5.96.0, guix-commits, 2022/09/01