Describe the bug
I tried to run cask on postmarketOS oneplus6 but it fails to start.
mipmos:~$ cat cask.log
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
CREATING INSTANCE OF MAUI APP
3 96 160.561 QRect(0,0 432x912) QSize(432, 912) QSize(432, 912)
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v"
Screen "DSI-1" QRect(0,0 432x912) QSizeF(68, 145) DPI: log 96 phys 160.561 DPR 3
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0xfffffda8a860), parent's thread is QThread(0xffff8e93f3a0), current thread is QThread(0xffff8e6878a0)
QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:24:5: Type Screen unavailable
qrc:/qml/Screen.qml:113:21: Type Dock unavailable
qrc:/qml/shell/tasksbar/Dock.qml:92:5: Type Launcher unavailable
qrc:/qml/shell/tasksbar/Launcher.qml:51:9: Cannot assign to non-existent property "titleIconSource"
Segmentation fault
To Reproduce
Steps to reproduce the behavior:
checkout the maui branch for pmaport
change the content from pmaport/temp/maui-shell/APKBUILD that it looks like following
4. build the package with `pmbootstrap build postmarketos-ui-maui --force --strict`
5. once it build successfully install it on the oneplus6 with `pmbootstrap sideload --host 172.16.42.1 --port 22 --user <user> --arch aarch64 postmarketos-ui-maui`
6. run `cask` on the phone terminal
**Expected behavior**
the maui-session to start
**Desktop (please complete the following information):**
- OS: postmarketOS
- Version [edge]
Describe the bug I tried to run cask on postmarketOS oneplus6 but it fails to start.
To Reproduce Steps to reproduce the behavior:
build() { cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_PREFIX_PATH="/usr/lib/cmake/MauiKit;/usr/lib/cmake/MauiKitFileBrowsing" . make -C build -j 1 }
package() { DESTDIR="$pkgdir" make -C build install }
sha512sums="3cc184d204461c745189fdcbedd305964e89e62bd5a455b496ce93eaa9a2c5fc08bfd2cad306d9e055d4817f6c8ee2639dd1794778420c8413cd727ba57bdf78 maui-shell-master.tar.gz"
Contributor:
Maintainer:
pkgname=postmarketos-ui-maui pkgver=1 pkgrel=0 pkgdesc="Convergent Qt shell built with Mauikit framework" url="https://nxos.org/maui" arch="aarch64" license="LGPL-3.0" options="!check" depends=" maui-shell dnsmasq elogind tinydm tinydm-openrc postmarketos-base-ui networkmanager modemmanager modemmanager-openrc xorg-server " _pmg_recommends=" discover " install="$pkgname.post-install $pkgname.post-upgrade" source=""
package() { mkdir -p $pkgdir }