[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: gnu: kcmutils: Print plugin name when loading fails.
From: |
guix-commits |
Subject: |
02/09: gnu: kcmutils: Print plugin name when loading fails. |
Date: |
Fri, 4 Jan 2019 04:11:44 -0500 (EST) |
htgoebel pushed a commit to branch master
in repository guix.
commit be8cb44a9c4af541fc3ba6cafb1228fcf03686d0
Author: Hartmut Goebel <address@hidden>
Date: Mon Oct 23 13:18:22 2017 +0200
gnu: kcmutils: Print plugin name when loading fails.
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 60f9eeb..e8e2097 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2097,6 +2097,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)
- branch master updated (b824dbe -> fb0356d), guix-commits, 2019/01/04
- 03/09: gnu: kconfigwidgets: Make QDirIterator follow symlinks., guix-commits, 2019/01/04
- 04/09: gnu: kdelibs4support: Add todo comment for a patch from NixOS., guix-commits, 2019/01/04
- 05/09: gnu: kio: Search 'smbd' on $PATH., guix-commits, 2019/01/04
- 02/09: gnu: kcmutils: Print plugin name when loading fails.,
guix-commits <=
- 01/09: gnu: kcmutils: Make QDirIterator follow symlinks., guix-commits, 2019/01/04
- 09/09: gnu: kservice: Transfer patches from NixOS., guix-commits, 2019/01/04
- 07/09: gnu: kinit: Use LIBRARY_PATH to search for dynamically loaded libs., guix-commits, 2019/01/04
- 08/09: gnu: kpackage: Transfer patches from NixOS., guix-commits, 2019/01/04
- 06/09: gnu: kinit: Use the store paths for dynamically loaded libs., guix-commits, 2019/01/04