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

Jeremy Whiting jpwhiting at kde.org
Tue Feb 3 20:20:15 UTC 2015


Marko,

On Tue, Feb 3, 2015 at 12:15 PM, Marko Käning <mk-lists at email.de> wrote:

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

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.

>
>         How can I debug this here?
>

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.

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

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.

>
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20150203/d2aa3ffe/attachment.html>


More information about the kde-mac mailing list