[KDE/Mac] Trojita on OSX/CI

Marko Käning mk-lists at email.de
Sun Dec 7 19:58:50 UTC 2014


Hi Jan,

> Hi Marko, first of all, let me tell you that I appreciate your effort.

you’re welcome.


> The 64 suffix comes from -DLIB_SUFFIX=64 which is defined in websites/build.kde.org's config/build/global.cfg , Trojita just uses what you throw at it.

That’s what also my OSX/CI system should do…
This is what I have here:
---
>>> manager.config.get('Build', 'configureCommand')
'cmake -DCMAKE_INSTALL_BUNDLEDIR="Applications/KF5" -DCMAKE_DISABLE_FIND_PACKAGE_X11=ON -DWITH_RAGEL=OFF -DWITH_ZLIB=ON -DWITH_QT5=1 -DCMAKE_BUILD_TYPE=Debug -DKDE4_BUILD_TESTS=ON -DLIB_SUFFIX=64 -DSIP_DEFAULT_SIP_DIR={instPrefix}/share/sip/ -DCMAKE_INSTALL_PREFIX={instPrefix} {sources}’
---


>> And indeed, the full path is missing for it in the executable:
> 
> When I install stuff here on Linux, this is what cmake says:
> 
> -- Installing: /tmp/trojita-pwn/usr/local/lib/trojita/trojita_plugin_QtKeychainPasswordPlugin.so
> -- Removed runtime path from "/tmp/trojita-pwn/usr/local/lib/trojita/trojita_plugin_QtKeychainPasswordPlugin.so"
> -- Installing: /tmp/trojita-pwn/usr/local/lib/libtrojita_plugins.so
> -- Removed runtime path from "/tmp/trojita-pwn/usr/local/lib/libtrojita_plugins.so"
> -- Installing: /tmp/trojita-pwn/usr/local/bin/trojita
> -- Removed runtime path from "/tmp/trojita-pwn/usr/local/bin/trojita"
> -- Installing: /tmp/trojita-pwn/usr/local/bin/be.contacts
> -- Removed runtime path from "/tmp/trojita-pwn/usr/local/bin/be.contacts”

I don’t see this here, but this:
---
-- Install configuration: "Debug"
-- Installing: /Users/marko/WC/KDECI-builds/trojita/local-inst/opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/pim/trojita/inst/lib64/libtrojita_plugins.dylib
-- Installing: /Users/marko/WC/KDECI-builds/trojita/local-inst/opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/pim/trojita/inst/bin/trojita
---

And readelf doesn't exit here on my system. I am using clang only.


> -> Can you lanuch some other app built through your CI insatnce which uses its own shared libraries?

Hmmm, well, I don’t have another example yet…

Greets,
Marko


More information about the kde-mac mailing list