Changes between Version 5 and Version 6 of mycroft-gui-mark-2_sys


Ignore:
Timestamp:
05/03/20 13:57:31 (4 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mycroft-gui-mark-2_sys

    v5 v6  
    4646* sudo apt-get update
    4747
     48=== swap ===
     49* sudo fallocate -l 2G /swapfile
     50* sudo chmod 600 /swapfile
     51* sudo mkswap /swapfile
     52* sudo swapon /swapfile
     53* sudo nano /etc/swapfile
     54add
     55{{{
     56/swapfile               none            swap    sw                              0 0
     57}}}
     58=== ramdisk ===
     59* sudo mkdir /ramdisk
     60* sudo nano /etc/swapfile
     61add
     62{{{
     63tmpfs                   /ramdisk        tmpfs   rw,nodev,nosuid,size=20M        0 0
     64}}}
     65
    4866=== mycroft core ===
    4967* sudo apt-get install git python3 python3-dev python3-setuptools libtool libffi-dev libssl-dev autoconf automake bison swig libglib2.0-dev portaudio19-dev mpg123 screen flac curl libicu-dev pkg-config libjpeg-dev libfann-dev build-essential jq
     
    5876* sudo dpkg-reconfigure sddm
    5977
    60 === build plasma-nano ===
     78==== build plasma-nano ====
    6179* sudo apt install cmake kwayland-dev
    6280* cd ~
     
    6684* cd build
    6785* cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
    68 
    69 this results in an error:
    70 {{{
    71  * Qt5Network (required version >= 5.12.5)
    72  * Qt5Qml
    73  * Qt5Quick
    74  * Qt5 (required version >= 5.2.0)
    75  * ECM (required version >= 1.6.0)
    76  * Qt5Core
    77  * KF5Plasma (required version >= 5.0.0)
    78  * KF5WindowSystem (required version >= 5.0.0)
    79  * Qt5Gui (required version >= 5.11.0)
    80  * KF5Wayland (required version >= 5.0.0)
    81  * KF5 (required version >= 5.0.0)
    82 
    83 CMake Warning at /usr/lib/arm-linux-gnueabihf/cmake/KF5Package/KF5PackageMacros.cmake:64 (message):
    84   couldn't generate metainfo for org.kde.plasma.nano: Package type
    85   "Plasma/Shell" not found
    86 
    87   Error: description missing, will result in broken appdata field as
    88   <sumary/> is mandatory at /home/pi/plasma-nano/shell/metadata.desktop
    89 Call Stack (most recent call first):
    90   /usr/lib/arm-linux-gnueabihf/cmake/KF5Plasma/KF5PlasmaMacros.cmake:34 (kpackage_install_package)
    91   CMakeLists.txt:35 (plasma_install_package)
    92 }}}
    93 I think this is an error in the 5.17 release, have to check this in detail
     86* make -j 4
     87* sudo make install
     88==== Mycroft GUI ====
     89* sudo apt-get install -y git-core g++ cmake extra-cmake-modules kio-dev gettext pkg-config pkg-kde-tools qtbase5-dev qtdeclarative5-dev kio-dev libkf5notifications-data libkf5notifications-dev qml-module-qtquick2 qml-module-qtquick-controls2 qml-module-qtquick-controls qml-module-qtwebsockets qml-module-qt-websockets cmake cmake-extras cmake-data qml-module-qtquick-layouts libkf5plasma-dev extra-cmake-modules qtdeclarative5-dev build-essential g++ gettext libqt5webkit5 libqt5webkit5-dev libkf5i18n-data libkf5i18n-dev libkf5i18n5 qml-module-qtgraphicaleffects libqt5dbus5 libkf5dbusaddons-dev libdbus-1-dev libdbus-glib-1-dev kio-dev libkf5kio-dev libqt5websockets5-dev libqt5webview5-dev qml-module-qtquick-virtualkeyboard libqt5virtualkeyboard5-dev qtvirtualkeyboard-plugin
     90missing: qtdeclarative5-qtquick2-plugin qtdeclarative5-models-plugin
     91* cd ~
     92* git clone https://github.com/MycroftAI/mycroft-gui/
     93* cd mycroft-gui
     94* mkdir build
     95* cd build
     96* cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
     97* make -j2