wiki:mycroft-gui-mark-2_sys

Version 2 (modified by admin, 4 years ago) (diff)

--

Mycroft Mark2 GUI using system QT5 and KDE framework

This is based on the very helpful build log of user AIIX that he published on https://github.com/AIIX/Documentation/blob/master/Custom-RPI4-MycroftImage.md He is doing this on 64-bit Rasbperry 4 (architecture arm64) while the target here is 32-bit Raspberry 3B (architekture armhf).

Install the system Libraries

I will try to come up with a completer list later but I think most of it should be in the dependencies of the following

  • sudo apt install plasma-workspace-dev libkf5plasma-dev

build plasma-nano

For debian testing we need to switch to tag 5.17.90 because the system kde framework is 5.62 and plasma-nano >= 5.18 needs kde framework 5.66

  • cd ~
  • git clone https://github.com/KDE/plasma-nano
  • cd plasma-nano
  • git checkout tags/v5.17.90 -b master_5_17_90
  • mkdir build
  • cd build
  • cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON

this results in an error:

 * Qt5Network (required version >= 5.12.5)
 * Qt5Qml
 * Qt5Quick
 * Qt5 (required version >= 5.2.0)
 * ECM (required version >= 1.6.0)
 * Qt5Core
 * KF5Plasma (required version >= 5.0.0)
 * KF5WindowSystem (required version >= 5.0.0)
 * Qt5Gui (required version >= 5.11.0)
 * KF5Wayland (required version >= 5.0.0)
 * KF5 (required version >= 5.0.0)

CMake Warning at /usr/lib/arm-linux-gnueabihf/cmake/KF5Package/KF5PackageMacros.cmake:64 (message):
  couldn't generate metainfo for org.kde.plasma.nano: Package type
  "Plasma/Shell" not found

  Error: description missing, will result in broken appdata field as
  <sumary/> is mandatory at /home/pi/plasma-nano/shell/metadata.desktop
Call Stack (most recent call first):
  /usr/lib/arm-linux-gnueabihf/cmake/KF5Plasma/KF5PlasmaMacros.cmake:34 (kpackage_install_package)
  CMakeLists.txt:35 (plasma_install_package)

I think this is an error in the 5.17 release, have to check this in detail

Attachments (1)

Download all attachments as: .zip