[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/29: gnu: ktexteditor: Symlink some files referred to by different nam
From: |
Hartmut Goebel |
Subject: |
28/29: gnu: ktexteditor: Symlink some files referred to by different names. |
Date: |
Fri, 6 Oct 2017 08:15:12 -0400 (EDT) |
htgoebel pushed a commit to branch wip-qt-paths
in repository guix.
commit cc2c71efc8d0464b7f397ff99944ca65bff7cf08
Author: Hartmut Goebel <address@hidden>
Date: Tue Sep 26 20:23:42 2017 +0200
gnu: ktexteditor: Symlink some files referred to by different names.
* 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 5a4fe2f..8c0a336 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
- 08/29: gnu: qtkeychain: Reduce the number of warnings when configuring., (continued)
- 08/29: gnu: qtkeychain: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/10/06
- 06/29: gnu: kde-framworks: Fix installation directories., Hartmut Goebel, 2017/10/06
- 13/29: gnu: kdesignerplugin: Add optional inputs., Hartmut Goebel, 2017/10/06
- 14/29: gnu: phonon: Enable building the Qt Designer plugin., Hartmut Goebel, 2017/10/06
- 11/29: gnu: kconfigwidgets: Add optional native-input kdoctools., Hartmut Goebel, 2017/10/06
- 20/29: gnu: kio: Remove unused input., Hartmut Goebel, 2017/10/06
- 03/29: gnu: qwt: Adjust installation directory layout., Hartmut Goebel, 2017/10/06
- 19/29: gnu: kparts: Make tests pass again., Hartmut Goebel, 2017/10/06
- 23/29: gnu: kidletime: Enable fallback mode to X-Screensaver based poller., Hartmut Goebel, 2017/10/06
- 27/29: gnu: Add kdewebkit., Hartmut Goebel, 2017/10/06
- 28/29: gnu: ktexteditor: Symlink some files referred to by different names.,
Hartmut Goebel <=
- 16/29: gnu: kfilemetadata: Enable support for PDF files and audio files., Hartmut Goebel, 2017/10/06
- 02/29: gnu: qt: Fix install paths in submodules., Hartmut Goebel, 2017/10/06
- 04/29: gnu: qtwebkit: Fix rpath for the qmlwebkit plugins., Hartmut Goebel, 2017/10/06
- 12/29: gnu: kwallet: Add optional input qgpgme., Hartmut Goebel, 2017/10/06
- 24/29: gnu: sonnet: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/10/06
- 26/29: gnu: kdeclarative: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/10/06
- 25/29: gnu: kglobalaccel: Reduce the number of warnings when configuring., Hartmut Goebel, 2017/10/06
- 22/29: gnu: kio: Symlink some files referred to by different names., Hartmut Goebel, 2017/10/06
- 18/29: gnu: bluez-qt: Add comment about status of tests., Hartmut Goebel, 2017/10/06
- 17/29: gnu: bluez-qt: Install udev-rules., Hartmut Goebel, 2017/10/06