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!
Cheers,
TRS-80

What is Free Software and why is it so important for society?

Protocols, not Platforms

For the most Linux-y experience on your Linux phone, try SXMO!

I am (nominally) the Armbian Maintainer for PineBook Pro (although severely lacking in time these days).
  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
  Office applications for the Pinephone Peter Gamma 2 620 09-05-2024, 09:22 AM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 50 36,810 07-26-2024, 10:35 PM
Last Post: Peter Gamma
  Why does Pine64 sabotage office on the Pinephone? Peter Gamma 5 1,200 07-04-2024, 07:34 AM
Last Post: Kevin Kofler
  Which word processor to choose for the Pinephone? Peter Gamma 16 5,891 06-22-2024, 07:28 AM
Last Post: Peter Gamma
  Samba share on the Pinephone? Peter Gamma 0 699 06-16-2024, 10:26 PM
Last Post: Peter Gamma
  Possible Free Backup Carrier for PinePhone PineFone 0 604 06-13-2024, 03:45 PM
Last Post: PineFone
  Using Signal on PinePhone in mid-2023? dante404 47 23,668 05-03-2024, 02:19 AM
Last Post: dragonhospital
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 38 33,975 04-23-2024, 10:29 AM
Last Post: donchurch
Wink PINEPHONE not booting Touchwood 2 1,292 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 6,619 12-20-2023, 07:20 AM
Last Post: nickolas

Forum Jump:


Users browsing this thread: 5 Guest(s)