[KDE/Mac] XDG vars (for bovo) on the CI system

Marko Käning mk-lists at email.de
Sat Dec 6 19:52:23 UTC 2014

Hi Ben,

triggered by Ian I restarted my "bovo activity” for the sake of the CI-QStandardsPath patch.

Only now I understood that I had a completely wrong assumption about how these standard paths
work. For some reason I thought that the list of paths created by environment-generator.py
would directly be fed into the corresponding env vars which will be picked up by the QSP patch,
but now I see that it only accesses ONE path via the XDG_*_HOME variables [1] and not through

As discussed in the QSP thread on [2] I need to set those XDG_*_HOME env vars when
calling bovo like this:
$ XDG_CONFIG_HOME=/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kxmlgui/inst/etc/xdg XDG_DATA_HOME=/opt/kde/install/darwin/mavericks/clang/kf5-qt5/kde/kdegames/bovo/inst/share /opt/kde/install/darwin/mavericks/clang/kf5-qt5/kde/kdegames/bovo/inst/Applications/KF5/bovo.app/Contents/MacOS/bovo 
because only then it can find its configuration and data files!

	I don’t think that this setting of XDG_*_HOME env vars is being
	done during running tests for apps on the CI system...
	Or is it?

If not, how do apps find their various files on the CI system then?

I am puzzled, since I still don’t fully understand how this all works… :-(


[1] http://quickgit.kde.org/?p=clones%2Fwebsites%2Fbuild-kde-org%2Fkaning%2Fmp-osx-ci.git&a=blob&h=e0b488e55a279023c1750543cb1daf8b40980321&hb=41fa7caf1af41a74d7cfd09dbb480d0bd70dce79&f=patches%2Fqt5%2Fkf5-qt5%2Fpatch-qstandardpaths_mac.cpp.diff

[2] http://mail.kde.org/pipermail/kde-mac/2014-December/002602.html

More information about the kde-mac mailing list