[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33820] [PATCH 2/9] gnu: kcmutils: Print plugin name when loading fa
From: |
Hartmut Goebel |
Subject: |
[bug#33820] [PATCH 2/9] gnu: kcmutils: Print plugin name when loading fails. |
Date: |
Fri, 21 Dec 2018 11:10:45 +0100 |
Transfer the NixOS patch "kcmutils-debug-module-loader" for kcmutils as of
2018-02-17.
* gnu/packages/kde-frameworks.scm(kcmutils)<patch>: Add substitute for
src/kcmoduleloader.cpp.
---
gnu/packages/kde-frameworks.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index d508624e7..3f0eff292 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2119,6 +2119,10 @@ using the XBEL format.")
;; make QDirIterator follow symlinks
(("^\\s*(QDirIterator it\\(.*,
QDirIterator::Subdirectories)(\\);)" _ a b)
(string-append a " | QDirIterator::FollowSymlinks" b)))
+ (substitute* "src/kcmoduleloader.cpp"
+ ;; print plugin name when loading fails
+ (("^\\s*(qWarning\\(\\) << \"Error loading) (plugin:\")( <<
loader\\.errorString\\(\\);)" _ a b c)
+ (string-append a " KCM plugin\" << mod.service()->library() <<
\":\"" c)))
#t)))))
(inputs
`(("kauth" ,kauth)
--
2.13.7
- [bug#33820] [PATCH 0/9] Adopt NixOS patches for KDE Frameworks, Hartmut Goebel, 2018/12/21
- [bug#33820] [PATCH 1/9] gnu: kcmutils: Make QDirIterator follow symlinks., Hartmut Goebel, 2018/12/21
- [bug#33820] [PATCH 8/9] gnu: kpackage: Transfer patches from NixOS., Hartmut Goebel, 2018/12/21
- [bug#33820] [PATCH 9/9] gnu: kservice: Transfer patches from NixOS., Hartmut Goebel, 2018/12/21
- [bug#33820] [PATCH 6/9] gnu: kinit: Use the store paths for dynamically loaded libs., Hartmut Goebel, 2018/12/21
- [bug#33820] [PATCH 3/9] gnu: kconfigwidgets: Make QDirIterator follow symlinks., Hartmut Goebel, 2018/12/21
- [bug#33820] [PATCH 4/9] gnu: kdelibs4support: Add todo comment for a patch from NixOS., Hartmut Goebel, 2018/12/21
- [bug#33820] [PATCH 5/9] gnu: kio: Search 'smbd' on $PATH., Hartmut Goebel, 2018/12/21
- [bug#33820] [PATCH 7/9] gnu: kinit: Use LIBRARY_PATH to search for dynamically loaded libs., Hartmut Goebel, 2018/12/21
- [bug#33820] [PATCH 2/9] gnu: kcmutils: Print plugin name when loading fails.,
Hartmut Goebel <=