Review Request 116935: Lookup paths for kioslaves in KLauncher

Commit Hook null at kde.org
Sat Mar 22 14:58:30 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116935/#review53760
-----------------------------------------------------------


This review has been submitted with commit a556c328ad4cf79a5ba037b492f9e55d2553bdae by Alex Merry to branch master.

- Commit Hook


On March 22, 2014, 1:27 p.m., Alex Merry wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116935/
> -----------------------------------------------------------
> 
> (Updated March 22, 2014, 1:27 p.m.)
> 
> 
> Review request for KDE Frameworks, David Faure and Hrvoje Senjan.
> 
> 
> Repository: kinit
> 
> 
> Description
> -------
> 
> Lookup paths for kioslaves in KLauncher
> 
> If you pass kdeinit anything other than an absolute path, it assumes it
> is a normal kdeinit executable - ie, it is an executable <name> in
> $PATH, optionally with a libkdeinit5_<name> in a library path.
> 
> kioslaves are actually installed as plugins, though, so we do the lookup
> in klauncher's requestSlave() function and pass an absolute path to
> kdeinit.
> 
> Fix up kioslave debug and valgrind modes
> 
> valgrind mode with kdeinit still requires the slave module as an
> argument, and debug mode cannot work without kdeinit.
> 
> 
> Diffs
> -----
> 
>   src/klauncher/klauncher.cpp a8630854af4bd3094b9688c3f9a40d10516d2056 
> 
> Diff: https://git.reviewboard.kde.org/r/116935/diff/
> 
> 
> Testing
> -------
> 
> Built, installed.
> Killed all existing kdeinit5/klauncher/etc instances.
> Ran kdeinit5 on one terminal.
> Ran kioslavetest from kio/tests on another terminal.
> Used it to list /tmp.
> kioslavetest's terminal printed the contents of /tmp, and kdeinit5's terminal printed
> 
> kdeinit5: Got EXEC_NEW '/home/kf5-devel/kf5/lib64/plugins/kf5/kio_file.so' from launcher.
> kdeinit5: preparing to launch '/home/kf5-devel/kf5/lib64/plugins/kf5/kio_file.so'
> kio_file.so(23605)/(default) [31mQStandardPaths::writableLocation[0m: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kf5-devel'
> kdeinit5: PID 23605 terminated.
> 
> 
> Thanks,
> 
> Alex Merry
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140322/501f8f83/attachment.html>


More information about the Kde-frameworks-devel mailing list