Amazfish on Pinephone
#1
I was disappointed to find out that software only available on Sailfish (and possibly Manjaro I think I heard)?

Saw there were instructions on how to compile for Ubuntu.  Decided to be adventurous, and  I just tried to compile it on my Pinephone running Mobian. It seems to have successfully.  Daemon starts up, and app even seems to want to run. I'm guessing there's something missing still ("No drivers found") or an issue with the fact that Phosh is using Wayland.)  But it sill shows nothing on the screen and is not usable.  If you launch it from the app screen, nothing happens, but the binary will be running in the background.

Code:
mobian@mobian:~$ ps aux | grep amazfish
mobian     14183  0.0  0.7 235988 22976 ?        Ssl  12:53   0:00 /usr/local/bin/harbour-amazfish

mobian@mobian:~$ harbour-amazfish-ui
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
("/var/lib/flatpak/exports/share/icons", "/usr/local/share/icons", "/usr/share/icons", ":/icons") (":qml/custom-icons")
Connecting to daemon signals
void DaemonInterface::changeConnectionState()
No drivers found
QQmlApplicationEngine failed to load component
qrc:/qml/harbour-amazfish.qml:11:1: Type ApplicationWindowPL unavailable
qrc:/qml/components/platform/ApplicationWindowPL.qml:22:1: module "org.kde.kirigami" is not installed
qrc:/qml/components/platform/ApplicationWindowPL.qml:21:1: module "Qt.labs.settings" is not installed
qrc:/qml/components/platform/ApplicationWindowPL.qml:22:1: module "org.kde.kirigami" is not installed
qrc:/qml/components/platform/ApplicationWindowPL.qml:21:1: module "Qt.labs.settings" is not installed
  Reply
#2
(02-15-2021, 12:19 PM)pagesix1536 Wrote: I was disappointed to find out that software only available on Sailfish (and possibly Manjaro I think I heard)?

Saw there were instructions on how to compile for Ubuntu.  Decided to be adventurous, and  I just tried to compile it on my Pinephone running Mobian. It seems to have successfully.  Daemon starts up, and app even seems to want to run. I'm guessing there's something missing still ("No drivers found") or an issue with the fact that Phosh is using Wayland.)  But it sill shows nothing on the screen and is not usable.  If you launch it from the app screen, nothing happens, but the binary will be running in the background.

Code:
mobian@mobian:~$ ps aux | grep amazfish
mobian     14183  0.0  0.7 235988 22976 ?        Ssl  12:53   0:00 /usr/local/bin/harbour-amazfish

mobian@mobian:~$ harbour-amazfish-ui
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
("/var/lib/flatpak/exports/share/icons", "/usr/local/share/icons", "/usr/share/icons", ":/icons") (":qml/custom-icons")
Connecting to daemon signals
void DaemonInterface::changeConnectionState()
No drivers found
QQmlApplicationEngine failed to load component
qrc:/qml/harbour-amazfish.qml:11:1: Type ApplicationWindowPL unavailable
qrc:/qml/components/platform/ApplicationWindowPL.qml:22:1: module "org.kde.kirigami" is not installed
qrc:/qml/components/platform/ApplicationWindowPL.qml:21:1: module "Qt.labs.settings" is not installed
qrc:/qml/components/platform/ApplicationWindowPL.qml:22:1: module "org.kde.kirigami" is not installed
qrc:/qml/components/platform/ApplicationWindowPL.qml:21:1: module "Qt.labs.settings" is not installed
Theres a pkgbuild available for manjaro It lists the dependencies in the pkgbuild file so try find the correct package names for your distro and install them

This looks like missing dependencies
Code:
qrc:/qml/components/platform/ApplicationWindowPL.qml:22:1: module "org.kde.kirigami" is not installed
qrc:/qml/components/platform/ApplicationWindowPL.qml:21:1: module "Qt.labs.settings" is not installed




https://gitlab.manjaro.org/manjaro-arm/p...r/PKGBUILD
  Reply
#3
I also built it on Mobian. The missing dependencies are packaged in debian. Installing them actually works.
Code:
sudo apt install qml-module-qt-labs-settings
The app mostly works, but it looks kinda ugly compared to the screenshots, and I can't figure out how to open the settings menu.

[Image: pObYqMJrTzozbVsBZyjMantH]
  Reply
#4
Has someone created Debian package for Amazfish? I'd be nice to use it on Mobian as well.
  Reply
#5
No package available yet that I'm aware of.

I tried another install today using the Ubuntu instructions here: https://github.com/piggz/harbour-amazfis...uctions.md
Lots of missing dependencies still and those instructions are not complete. Here's some notes:

* "qt5-default" doesn't appear to exist as an available package for mobian on the Pinephone. I skipped it. Looks like all it might do is set the default QT version up
* I installed "build-essential" to get the basic stuff needed to compile packages. Also made sure that "qt5-make" was installed
* I needed to install these packages (and their dependencies) to get things to compile and/or run after it was installed: qml-module-qtquick2, qml-module-qtquick-controls2, qml-module-org-kde-kirigami2, qml-module-qtquick-controls
* get all that installed first and REBOOT before you try to do any qmake/make stuff. No idea why but I had issues until I did a reboot and then the compile process seemed to find stuff it was looking for.

I still think there's missing packages or modules though. The interface is not quite what I think it's supposed to be. I haven't dug through all the console output (when you manually invoke harbour-amazfish-ui from command-line).

But, I can get the app to launch and it does seem to function... mostly. The top menu bar is only fully visible and usable in landscape mode. I run Phosh in either 1.5 or 1.75 scale, so I could see more of the menu than if you run it in stock 2.0 mode. So if you're looking for more "settings" and other stuff, turn the Pinephone sideways!

I haven't played around with it much yet, but it does pair and I did get it to show my heart rate on the phone when you run the app in Infinitime. No idea if notifications work yet. I'll have to launch Telegram and wait for new stuff to come in.

This app is the ONLY THING holding me back from trying to use both watch and phone on a more full-time, daily driven basis. I rely on notifications on my watch a lot, and with only being able to use the Pinetime with Android...well, that's a heck of a deal breaker for me for the watch if the whole goal is to get away from Android/Apple stuff.

UPDATE: Notifications work! I just got one from Telegram and it showed up on the watch. That's awesome! Really the killer feature I was looking for from the Pinetime and Pinephone working together running Mobian/Phosh.
  Reply
#6
(06-03-2021, 01:48 PM)pagesix1536 Wrote:
UPDATE:  Notifications work!  I just got one from Telegram and it showed up on the watch.  That's awesome!  Really the killer feature I was looking for from the Pinetime and Pinephone working together running Mobian/Phosh.

Great news!

Every time I turn around, I seem to be reading about some little advancement / feature / development moving forward.  This is what it's all about, folks!  So excited about this burgeoning ecosystem!
  Reply
#7
Been using it for the past day... still a lot of glitches with bluetooth connectivity. The watch and phone very regularly disconnect and don't re-connect. I thought it had something to do with the phone going into powersave/hibernate mode so I turned that off. Still experiencing some disconnects though. And it's not easy to get it to re-connect. If you go into bluetooth settings and try to toggle the Infinitime watch entry to "on" it literally won't even let you interact with the toggle. I've had to delete (unpair) the watch from the phone, and then re-pair it.... and then its totally fine after that (until the next disconnect). Tried reboots on both watch and phone separately, and it the watch doesn't seem to reconnect to the phone unless you un-pair/re-pair it again. Not idea, but I guess at least it somewhat works and is a step forward.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PureOS on Pinephone dukla2000 87 57,790 Yesterday, 01:14 AM
Last Post: ssilvi
  Pinephone Apps Unified Dev Hub biketool 0 47 07-28-2021, 01:02 AM
Last Post: biketool
  Fedora + Phosh for PinePhone njha 68 39,605 07-26-2021, 04:57 AM
Last Post: wizmart
  pinephone oses and qemu emulation streak 1 420 07-19-2021, 11:40 AM
Last Post: swiley
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 12 3,571 07-04-2021, 08:12 AM
Last Post: jfenn2199
  Easiest way to use Android applications on Pinephone esud 4 2,263 06-21-2021, 04:52 AM
Last Post: vanja
Brick VR apps for the Pinephone (Google Cardboard) MirceaKitsune 0 297 05-30-2021, 10:45 AM
Last Post: MirceaKitsune
  Pine Phone Desktop Mode or "Standard" Gnome Desktop on PinePhone? 4920441 4 1,080 05-11-2021, 02:42 AM
Last Post: wizmart
  Adafruit Pyloton Open Source Bike computer on the PinePhone? Peter Gamma 0 468 04-02-2021, 06:37 PM
Last Post: Peter Gamma
  openSUSE for Pinephone Alefnode 68 35,839 03-21-2021, 11:43 AM
Last Post: andresbs

Forum Jump:


Users browsing this thread: 1 Guest(s)