In mose cases this boils down to not hardcoding build paths in output
cmake files. The solution is to use standard OE paths passed to cmake
when it's invoked for each package. Other than that most packages need
to have a few additional deps which previously simply happened to be
present in global sysroot.
Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
| CMake Error at CMakeLists.txt:39 (find_package):
| By not providing "FindKF5Package.cmake" in CMAKE_MODULE_PATH this project
| has asked CMake to find a package configuration file provided by
| "KF5Package", but CMake did not find one.
|
| Could not find a package configuration file provided by "KF5Package"
| (requested version 5.31.0) with any of the following names:
|
| KF5PackageConfig.cmake
| kf5package-config.cmake
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
With oe-core's:
commit c03b32bd71dbe04f2f239556fea0b53215e403d7
Author: Thomas Witt <Thomas.Witt@bmw.de>
Date: Mon Aug 22 16:27:11 2016 +0200
cmake.bbclass: call cmake with a relative path
CMake wants a relative path for CMAKE_INSTALL_*DIR, an absolute path
breaks cross-compilation. This fact is documented in the following
ticket: https://cmake.org/Bug/view.php?id=14367
$sysconfdir and $localstatedir are not relative to $prefix, so they are
still set as absolute paths. With his change ${PROJECT}Targets.cmake
that are generated by cmakes "export" function will contain relative
paths instead of absolute ones.
Signed-off-by: Thomas Witt <Thomas.Witt@bmw.de>
Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
the hacky sysroot replacements are no more necessary.
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
starting a plasma session caused gazillions of
| kf5.kded: Could not load kded module "statusnotifierwatcher":"The shared library was not found." (library path was:"statusnotifierwatcher")
| kf5.kded: Could not load kded module "kscreen":"The shared library was not found." (library path was:"kscreen")
| kf5.kded: Could not load kded module "ksysguard":"Plugin verification data mismatch in '/usr/bin/ksysguard'" (library path was:"ksysguard")
| kf5.kded: Could not load kded module "powerdevil":"The shared library was not found." (library path was:"powerdevil")
| kf5.kded: Could not load kded module "networkmanagement":"The shared library was not found." (library path was:"networkmanagement")
| kf5.kded: Could not load kded module "kded_baloosearch_kio":"The shared library was not found." (library path was:"kded_baloosearch_kio")
Now it takes much longer for kcrash to complain and it has window decorations -
partytime has not yet come..
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
The following recipes are still build from git:
polkit-qt-1_0.112.0.bb
phonon_4.8.bb
kwayland.bb
The following kf5 recipes are still open:
portingAids/kmediaplayer-5.7.0
kapidox-5.7.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>