19 Commits

Author SHA1 Message Date
Maxime Roussin-Belanger
531e9355e2 plasma-mobile.inc: fix buildpaths qa issue
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.
2025-07-30 14:21:21 -04:00
Marc Ferland
6a395bf1a7 plasma-mobile: add runt-time dependency on kde-cli-tools
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>
2024-12-18 11:31:47 -05:00
Marc Ferland
3f64a22233 plasma-mobile: fix qa issue
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>
2024-12-15 11:07:15 -05:00
Marc Ferland
4960ad55fa plasma-mobile: fix build failure
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>
2024-12-15 10:52:43 -05:00
Marc Ferland
4989f8d4fb plasma-mobile: fix license checksum error
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>
2024-12-15 10:46:09 -05:00
Marc Ferland
712f0792e0 plasma-mobile: fix build
A file was missing from the package.

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
2024-07-26 14:38:10 -04:00
Andreas Cord-Landwehr
53d8689228 Convert all license statements to SPDX 2023-12-21 20:30:02 +01:00
Andreas Cord-Landwehr
7acfa22ad5 plasma-mobile: add dependency to qcoro 2023-12-20 21:35:40 +01:00
Andreas Cord-Landwehr
27fcfb31bf plasma-mobile: depend on breeze style instead of desktop 2023-12-18 21:23:03 +01:00
Andreas Cord-Landwehr
67b1333561 plasma-mobile: update packaging for beta 1 release 2023-12-18 20:54:32 +01:00
Andreas Cord-Landwehr
ef56a9c709 recipes-plasma/*: adapt to libplasma rename 2023-12-04 20:44:45 +01:00
Andreas Cord-Landwehr
c3515ae933 plasma-mobile: update DEPENDS and RDEPENDS 2023-06-06 20:50:52 +02:00
Andreas Cord-Landwehr
8c0f10f973 plasma-mobile: update dependencies 2023-02-15 20:12:57 +01:00
Andreas Cord-Landwehr
a1fb537172 Inherit from kcmutils class in cmake_plasma 2022-10-15 12:55:37 +00:00
Andreas Cord-Landwehr
81d3385fd8 Update packaging 2022-10-15 12:55:37 +00:00
Andreas Cord-Landwehr
c0a7217eb3 Switch to new kcmutils class from meta-kf5 2022-09-19 21:19:44 +02:00
Andreas Cord-Landwehr
324ea6f705 Add QtFeedback to runtime dependencies 2022-07-13 14:31:03 +02:00
Andreas Cord-Landwehr
0c1de08d43 Adapt recieps for Plasma 5.25 2022-07-12 17:22:43 +02:00
Andreas Cord-Landwehr
b721bf907b Update Plasma to 5.24.2 2022-04-15 12:03:58 +02:00