PINE64
Amazfish on Pinephone - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: Amazfish on Pinephone (/showthread.php?tid=13122)

Pages: 1 2


Amazfish on Pinephone - pagesix1536 - 02-15-2021

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



RE: Amazfish on Pinephone - NO_ob - 02-15-2021

(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/packages/community/plasma-mobile/amazfish/-/blob/master/PKGBUILD


RE: Amazfish on Pinephone - Peetz0r - 02-20-2021

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]


RE: Amazfish on Pinephone - EuvzO8 - 05-23-2021

Has someone created Debian package for Amazfish? I'd be nice to use it on Mobian as well.


RE: Amazfish on Pinephone - pagesix1536 - 06-03-2021

No package available yet that I'm aware of.

I tried another install today using the Ubuntu instructions here: https://github.com/piggz/harbour-amazfish/blob/master/documentation/build-instructions.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.


RE: Amazfish on Pinephone - TRS-80 - 06-03-2021

(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!


RE: Amazfish on Pinephone - pagesix1536 - 06-04-2021

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.


RE: Amazfish on Pinephone - S.E.B - 12-08-2021

Thank you , your post helped me alot! Pinetime+Pinephone!


RE: Amazfish on Pinephone - johns - 01-12-2022

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


RE: Amazfish on Pinephone - thomzane - 04-11-2022

I had to install qtdeclarative5-dev to install the dependencies.

Code:
sudo apt install -y qtdeclarative5-dev