<div dir="ltr">Marko,<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 3, 2015 at 12:15 PM, Marko Käning <span dir="ltr"><<a href="mailto:mk-lists@email.de" target="_blank">mk-lists@email.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jeremy,<br>
<br>
since you came out with [1] I gave kdeinit5 another try today, but as you can see the dylib’s cannot be found<br>
on the OSX/CI system:<br>
---<br>
MVM2:scripts marko$ /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kinit/inst/Applications/KF5/kdeinit5.app/Contents/MacOS/kdeinit5<br>
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/var/folders/xd/_025xt7j6dggsjd0_6tczq180000gn/T/runtime-marko'<br>
libKF5KIOCore.5.dylib was not found.<br>
libKF5Parts.5.dylib was not found.<br>
libKF5Plasma.5.dylib was not found.<br>
kdeinit5: preparing to launch 'libkdeinit5_klauncher'<br>
kdeinit5: Launched KLauncher, pid = 9679, result = 0<br>
kdeinit5: PID 9679 terminated.<br>
kdeinit5: Communication error with launcher. Exiting!<br>
---<br>
<br>
although the dylibs got installed correctly:<br>
---<br>
MVM2:scripts marko$ find /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks -name libKF5KIOCore.5.dylib<br>
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kio/inst/lib/libKF5KIOCore.5.dylib<br>
MVM2:scripts marko$ find /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks -name libKF5Parts.5.dylib<br>
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kparts/inst/lib/libKF5Parts.5.dylib<br>
MVM2:scripts marko$ find /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks -name libKF5Plasma.5.dylib<br>
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/plasma-framework/inst/lib/libKF5Plasma.5.dylib<br>
---<br>
<br>
So, it seems that the OSX/CI system misses something here, although the above paths to those dylib’s install locations<br>
are defined in DYLD_LIBRARY_PATH by the CI scripts… </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Does it work on your end as intended?<br></blockquote><div><br></div><div>Yep, it seems to run, though I don't get klauncher on the dbus (as checked by running qdbusviewer) as I expected when launching kdeinit5.app/Contents/MacOS/kdeinit klauncher. Still complains about being able to communicate with the klauncher process somehow. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
        How can I debug this here?<br></blockquote><div><br></div><div>No idea tbh. I have used kdesrc-bulid to build the frameworks, the .dylib files are in /usr/local/lib here and no DYLD_LIBRARY_PATH is set. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Is it perhaps due to the fact, that I am still using Qt 5.3.2 with an older version of our QSP/CI patch [1]?<br></blockquote><div><br></div><div>It's possible I guess. I'm using the latest qsp patch that I put on gerrit. It's giving me support for XDG_DATA_DIRS and XDG_CONFIG_DIRS, which are set to /usr/local/share and /usr/local/etc/xdg respectively. Neither of which should help finding a library in /usr/local/lib though, so that's probably not the problem. I'm also running on top of OSX Yosemite in case that matters. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Greets,<br>
Marko<br>
<br>
<br>
[1] <a href="http://commits.kde.org/kinit/1924d4ad1bdcd4edc2e4308dafb8b696dfad8763" target="_blank">http://commits.kde.org/kinit/1924d4ad1bdcd4edc2e4308dafb8b696dfad8763</a><br>
<br>
[2] <a href="http://quickgit.kde.org/?p=clones%2Fwebsites%2Fbuild-kde-org%2Fkaning%2Fmp-osx-ci.git&a=blob&h=a9b370d8d70e13a73eba8a59cbd11096f6d39692&hb=e7822a0f8cf12a50f678d957abcba84b65216df0&f=patches%2Fqt5%2Fkf5-qt5%2Fpatch-qstandardpaths_mac.cpp.diff" target="_blank">http://quickgit.kde.org/?p=clones%2Fwebsites%2Fbuild-kde-org%2Fkaning%2Fmp-osx-ci.git&a=blob&h=a9b370d8d70e13a73eba8a59cbd11096f6d39692&hb=e7822a0f8cf12a50f678d957abcba84b65216df0&f=patches%2Fqt5%2Fkf5-qt5%2Fpatch-qstandardpaths_mac.cpp.diff</a><br>
<br>
<br>
<br>
<br>
<br>
P.S.: BTW, kded5 still walks into app packages!!!!!<br>
      See this:<br>
         ---<br>
         kf5.kcoreaddons.kdirwatch: fsWatcher->addPath "/Applications/iTunes.app/Contents/Resources/iTunes.help/Contents/Resources/zh_CN.lproj/itns34268177.html"<br>
         ---<br>
      Looks like kcoreaddons needs a similar patch like your QFileInfo::isBundle()-patch applied to kservice.</blockquote></div><br></div></div>