[KDE/Mac] Cross-platform with kdeinit5, klauncher5, kded5 and friends

Marko Käning mk-lists at email.de
Tue Feb 3 19:15:55 UTC 2015


Hi Jeremy,

since you came out with [1] I gave kdeinit5 another try today, but as you can see the dylib’s cannot be found
on the OSX/CI system:
---
MVM2:scripts marko$ /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kinit/inst/Applications/KF5/kdeinit5.app/Contents/MacOS/kdeinit5
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/var/folders/xd/_025xt7j6dggsjd0_6tczq180000gn/T/runtime-marko'
libKF5KIOCore.5.dylib was not found.
libKF5Parts.5.dylib was not found.
libKF5Plasma.5.dylib was not found.
kdeinit5: preparing to launch 'libkdeinit5_klauncher'
kdeinit5: Launched KLauncher, pid = 9679, result = 0
kdeinit5: PID 9679 terminated.
kdeinit5: Communication error with launcher. Exiting!
---

although the dylibs got installed correctly:
---
MVM2:scripts marko$ find /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks -name libKF5KIOCore.5.dylib
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kio/inst/lib/libKF5KIOCore.5.dylib
MVM2:scripts marko$ find /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks -name libKF5Parts.5.dylib
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kparts/inst/lib/libKF5Parts.5.dylib
MVM2:scripts marko$ find /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks -name libKF5Plasma.5.dylib
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/plasma-framework/inst/lib/libKF5Plasma.5.dylib
---

So, it seems that the OSX/CI system misses something here, although the above paths to those dylib’s install locations
are defined in DYLD_LIBRARY_PATH by the CI scripts…

Does it work on your end as intended?

	How can I debug this here?

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]?

Greets,
Marko


[1] http://commits.kde.org/kinit/1924d4ad1bdcd4edc2e4308dafb8b696dfad8763

[2] 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





P.S.: BTW, kded5 still walks into app packages!!!!!
      See this:
         ---
         kf5.kcoreaddons.kdirwatch: fsWatcher->addPath "/Applications/iTunes.app/Contents/Resources/iTunes.help/Contents/Resources/zh_CN.lproj/itns34268177.html"
         ---
      Looks like kcoreaddons needs a similar patch like your QFileInfo::isBundle()-patch applied to kservice.


More information about the kde-mac mailing list