[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28720] [PATCH 22/23] gnu: ktexteditor: Symlink some files referred
From: |
Hartmut Goebel |
Subject: |
[bug#28720] [PATCH 22/23] gnu: ktexteditor: Symlink some files referred to by different names. |
Date: |
Fri, 6 Oct 2017 14:16:35 +0200 |
* gnu/package/kde-frameworks.scm (ktexteditor)[arguments]
<#:phases>'add-symlinks': New phase.
---
gnu/packages/kde-frameworks.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 5a4fe2ff0..8c0a33677 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2848,7 +2848,16 @@ types or handled by application specific code.")
(setenv "HOME" (getcwd))
;; make Qt render "offscreen", required for tests
(setenv "QT_QPA_PLATFORM" "offscreen")
- #t)))))
+ #t))
+ (add-after 'install 'add-symlinks
+ ;; Some package(s) (e.g. plasma-sdk) refer to these service types
+ ;; by the wrong name. I would prefer to patch those packages, but
+ ;; I cannot find the files!
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((kst5 (string-append (assoc-ref outputs "out")
+ "/share/kservicetypes5/")))
+ (symlink (string-append kst5 "ktexteditorplugin.desktop")
+ (string-append kst5
"ktexteditor-plugin.desktop"))))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Full text editor component")
(description "KTextEditor provides a powerful text editor component that
you
--
2.13.5
- [bug#28720] [PATCH 10/23] gnu: kfilemetadata: Enable support for PDF files and audio files., (continued)
[bug#28720] [PATCH 11/23] gnu: bluez-qt: Install udev-rules., Hartmut Goebel, 2017/10/06
[bug#28720] [PATCH 08/23] gnu: phonon: Enable building the Qt Designer plugin., Hartmut Goebel, 2017/10/06
[bug#28720] [PATCH 09/23] gnu: kdnssd: Enable service discovery on local network via avahi., Hartmut Goebel, 2017/10/06
[bug#28720] [PATCH 13/23] gnu: kparts: Make tests pass again., Hartmut Goebel, 2017/10/06
[bug#28720] [PATCH 14/23] gnu: kio: Remove unused input., Hartmut Goebel, 2017/10/06
[bug#28720] [PATCH 16/23] gnu: kio: Symlink some files referred to by different names., Hartmut Goebel, 2017/10/06
[bug#28720] [PATCH 22/23] gnu: ktexteditor: Symlink some files referred to by different names.,
Hartmut Goebel <=
[bug#28720] [PATCH 21/23] gnu: Add kdewebkit., Hartmut Goebel, 2017/10/06
[bug#28720] [PATCH 23/23] gnu: kdoctools: Symlink some files referred to by different names., Hartmut Goebel, 2017/10/06
[bug#28720] [PATCH 15/23] gnu: kio: Adopt a patch from Nix., Hartmut Goebel, 2017/10/06
[bug#28720] [PATCH 17/23] gnu: kidletime: Enable fallback mode to X-Screensaver based poller., Hartmut Goebel, 2017/10/06
[bug#28720] [PATCH 20/23] gnu: kdeclarative: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/10/06
[bug#28720] [PATCH 19/23] gnu: kglobalaccel: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/10/06
[bug#28720] [PATCH 18/23] gnu: sonnet: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/10/06