While migrating to walnascar we get:
```
ERROR: plasma-mobile-6.3.4-r0 do_package_qa: QA Issue: File /usr/src/debug/plasma-mobile/6.3.4/components/mobileshellstate/mobileadaptor.h in package plasma-mobile-src contains reference to TMPDIR [buildpaths]
ERROR: plasma-mobile-6.3.4-r0 do_package_qa: Fatal QA errors were found, failing task.
```
Fix the path so that it's possible to do reproducible builds.
This commit fixes the following warning from KWin (seen in
do_configure.log):
-- Could NOT find Breeze (missing: Breeze_DIR)
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Service file was renamed in f1647b657f3af89f51cb7641760cf29311e0506b.
plasma-krdp_server.service --> app-org.kde.krdpserver.service
Fixes the following error:
ERROR: krdp-6.3.4-r0 do_package: Didn't find service unit 'plasma-krdp_server.service', specified in SYSTEMD_SERVICE:krdp.
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Fix build error:
ERROR: plasma-systemmonitor-6.2.4-r0 do_package: QA Issue: plasma-systemmonitor: Files/directories were installed but not shipped in any package:
/usr/share/kglobalaccel
/usr/share/kglobalaccel/org.kde.plasma-systemmonitor.desktop
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Plasma mobile uses plasma-open-settings from kde-cli-tools for
different things.
For example when opening the settings app from the quick settings
bar (top right of the screen) I currently get:
plasmashell[2201]: Executing "plasma-open-settings"
and nothing happens.
Adding a dependency on kde-cli-tools fixes the issue.
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Rebuilt from scratch and got this error:
ERROR: plasma-mobile-6.2.4-r0 do_package: QA Issue: plasma-mobile: Files/directories were installed but not shipped in any package:
/usr/share/plasma/layout-templates
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultNavigationPanel
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultStatusBar
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultNavigationPanel/metadata.json
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultNavigationPanel/contents
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultNavigationPanel/contents/layout.js
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultStatusBar/metadata.json
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultStatusBar/contents
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultStatusBar/contents/layout.js
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
plasma-mobile: 9 installed and not shipped files. [installed-vs-shipped]
ERROR: plasma-mobile-6.2.4-r0 do_package: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/temp/log.do_package.748258
ERROR: Task (/home/marc/dev/yocto/meta-kde/recipes-plasma/plasma-mobile_6.2.4.bb:do_package) failed with exit code '1'
Add the directory to FILES to fix the issue.
Signed-off-by: Marc Ferland <marc.ferland@gmail.com>
Rebuilt from scratch and got the following build failure:
| -- Could NOT find Qt6WaylandScannerTools (missing: Qt6WaylandScannerTools_DIR)
| CMake Warning at /home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/recipe-sysroot/usr/lib/cmake/Qt6/Qt6Config.cmake:191 (find_package):
| Found package configuration file:
|
| /home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/recipe-sysroot/usr/lib/cmake/Qt6WaylandClient/Qt6WaylandClientConfig.cmake
|
| but it set Qt6WaylandClient_FOUND to FALSE so package "Qt6WaylandClient" is
| considered to be NOT FOUND. Reason given by package:
|
| Qt6WaylandClient could not be found because dependency
| Qt6WaylandScannerTools could not be found.
|
| Configuring with --debug-find-pkg=Qt6WaylandScannerTools might reveal
| details why the package was not found.
|
| Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
| of the path variables that find_package uses to try and find the package.
|
| Call Stack (most recent call first):
| CMakeLists.txt:51 (find_package)
|
|
| CMake Error at CMakeLists.txt:51 (find_package):
| Found package configuration file:
|
| /home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/recipe-sysroot/usr/lib/cmake/Qt6/Qt6Config.cmake
|
| but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
| FOUND. Reason given by package:
|
| Failed to find required Qt component "WaylandClient".
|
| Expected Config file at
| "/home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/recipe-sysroot/usr/lib/cmake/Qt6WaylandClient/Qt6WaylandClientConfig.cmake"
| exists
Adding qtwayland and qtwayland-native as build dependencies fixes the
issue.
Signed-off-by: Marc Ferland <marc.ferland@gmail.com>
ERROR: plasma-mobile-6.2.4-r0 do_populate_lic: QA Issue: plasma-mobile: The LIC_FILES_CHKSUM does not match for file://LICENSES/LGPL-3.0-only.txt;md5=8d51f5b5fd447f7a1040c3dc9f0a8de6
plasma-mobile: The new md5 checksum is 1a523aee720780ffc0705c5bf17a6421
Caused by commit: eb9509ce68f2f92ac8ed8426bde0c95330805def
Signed-off-by: Marc Ferland <marc.ferland@gmail.com>
TTF Noto Emoji fonts from Google.
These will add emojis to the maliit keyboard and also allow displaying
the flags in the Settings panel (Region & Language section).
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
User services cannot be enabled at do_rootfs time. They generate
errors similar to:
ERROR: image-1.0-r0 do_rootfs: Error: Systemctl main enable issue in plasma-krdp_server.service (plasma-krdp_server.service)
ERROR: image-1.0-r0 do_rootfs: Postinstall scriptlets of ['krdp'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in /path/to/tmp/work/machine/image/1.0/temp/log.do_rootfs.
ERROR: Logfile of failure stored in: /path/to/tmp/work/machine/image/1.0/temp/log.do_rootfs.123456
ERROR: Task (/path/to/image.bb:do_rootfs) failed with exit code '1
Note that the service _will_ be activated when users turn on the krdp
server from the system settings UI. So actually activating it from the
recipe is not really what we want anyway.
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
The plasma shell can record the screen (encoded in x264) and store the
movie in $HOME/Videos. For this to happen, ffmpeg support has to be
present in pipewire.
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
KRdp will use x264 and VA-API to encode the screen using hardware
acceleration. Make sure both of these options are enabled.
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>