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
#8
Thank you , your post helped me alot! Pinetime+Pinephone!
  Reply
#9
I really got in the weeds trying to do this.

What did you do about the libiphb and mce dependencies? I couldn't find those in Mobian, and couldn't get them built from source.

-john
  Reply
#10
I had to install qtdeclarative5-dev to install the dependencies.

Code:
sudo apt install -y qtdeclarative5-dev
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Struggle to install LibreOffice on the PinePhone Peter Gamma 13 414 Yesterday, 01:50 AM
Last Post: wibble
  Trouble building pinephone-keyboard tools 64_Tesseract 0 47 05-22-2022, 12:18 AM
Last Post: 64_Tesseract
  openSUSE for Pinephone Alefnode 71 61,926 05-15-2022, 10:44 AM
Last Post: flembcke
  Latest firmware for PinePhone modem! Subsentient 105 70,668 05-14-2022, 08:56 PM
Last Post: kk22
  Slack on PinePhone Adam Seline 2 1,107 05-01-2022, 04:04 AM
Last Post: nickolas
  AVMultiphone on Pinephone Juergen 8 6,677 04-04-2022, 12:47 PM
Last Post: Juergen
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 19 6,938 01-19-2022, 03:03 PM
Last Post: acid andy
  HowTo: Get a passcode from DUO Mobile working on the Pinephone kop316 2 1,846 01-16-2022, 03:46 PM
Last Post: michel_luc
Video PinePhone "click" or "tic" GrapeJuice 2 711 01-10-2022, 02:39 PM
Last Post: GrapeJuice
  Common Lisp on the PinePhone duncan_bayne 2 2,387 01-08-2022, 12:13 AM
Last Post: duncan_bayne

Forum Jump:


Users browsing this thread: 1 Guest(s)