The previous hack of just copying the native tools into the target sysroot
has several limitations:
- it no longer works with relative RPATHs being used
- it fails in the case of kpackage where we need the same tools for host
and target
Summary:
We now no longer need the corresponding native variants of the frameworks
added as explicit dependencies, the target ones take care of this. The
approach is inspired by how the Wayland recipe handles its code generator.
This also uncovered an issue with KAuth, which can't build its host tools
yet. This uses the target version as a placeholder for now, to not block
the build of everything else.
Reviewers: cordlandwehr
Reviewed By: cordlandwehr
Differential Revision: https://phabricator.kde.org/D7023
Summary:
Based on Johan's work branch. This also disables unit tests for all
frameworks, tests aren't executable for cross-builds anyway, and KConfig
tries to run the target kconfig_compiler there.
The native version can still further improved by allowing a QtCore-only
build of KConfig, as we are only interested in the kconfig_compiler.
Reviewers: cordlandwehr
Reviewed By: cordlandwehr
Differential Revision: https://phabricator.kde.org/D6987
Summary:
Also, add a temporary workaround for ECM requiring lrelease/lconvert host
tools if the KF5 sources include translations (which they do when using
tags). We of course need to fix that eventually, but right now that just
prevents anything from building.
Reviewers: cordlandwehr
Reviewed By: cordlandwehr
Subscribers: #frameworks
Tags: #frameworks
Differential Revision: https://phabricator.kde.org/D6976