Active Topics

 


Reply
Thread Tools
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#21
I have made tmp solution that mounts Maliit plugin into any app running in Flatpak. This solution requires:

- flatpak-maliit-plugin-qt installed in SFOS
- app should use KDE 5.12 runtime

Just released flatpak-runner will add the plugin into container when app is running and keyboard can be used.

So, this means that we can use Flatpak applications as they are provided by KDE and Flathub. No recompile or hacking is needed. Assuming that they are QML/Qt 5.12 ...

Proper solution will be to add Maliit plugin as an extension of KDE runtime. Will talk to KDE devs about it.
 

The Following 13 Users Say Thank You to rinigus For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#22
Yesterday, patches required to libhybris linker were merged and, I presume, will be part of the next SFOS release. Which would bring Flatpak support for many, if not all, devices. If you are using unofficial port, you could already ask maintainers to bump their libhybris to version 0.0.5.34 to get it working in between updates.
 

The Following 14 Users Say Thank You to rinigus For This Useful Post:
mankir's Avatar
Posts: 276 | Thanked: 224 times | Joined on Dec 2009 @ Frankfurt, Germany
#23
great work, angelfish is running now (a bit sluggish, but that is not the point). would be nice to get some audio apps working, audacity should be possible, i saw the mic levelmeter even with the last version... unfortunally flathub does not have an arm version of mixxx, would be crazy to dj with a mobile!
__________________
MOD-Package: http://talk.maemo.org/showthread.php?t=42415
 

The Following 3 Users Say Thank You to mankir For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#24
Originally Posted by mankir View Post
great work, angelfish is running now (a bit sluggish, but that is not the point). would be nice to get some audio apps working, audacity should be possible, i saw the mic levelmeter even with the last version... unfortunally flathub does not have an arm version of mixxx, would be crazy to dj with a mobile!
Audio, as such, should work. At least I can hear sound in videos from BBC. As for audacity, check if it fulfills requirements:

- should be Qt/QML 5.12
- no additional windows open.

Requirements explained in this thread
 

The Following 4 Users Say Thank You to rinigus For This Useful Post:
Posts: 466 | Thanked: 335 times | Joined on Jan 2010 @ Vienna, Austria
#25
Originally Posted by rinigus View Post
Right now, Flatpak support is available for Sony Xperia Tama devices (unofficial port) with the hope that other devices will follow. Due to QtWayland limitations, only Qt/QML applications run well with Gdk apps refusing to start due to the absence of currently standard Wayland extensions.
What, pray tell, are Gdk apps? I suppose you are not talking about Google Glass Dev Kit? Maybe GTK is what you mean?
 

The Following 2 Users Say Thank You to bennypr0fane For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#26
Originally Posted by bennypr0fane View Post
What, pray tell, are Gdk apps? I suppose you are not talking about Google Glass Dev Kit? Maybe GTK is what you mean?
see https://en.wikipedia.org/wiki/GDK#/m...chitecture.svg

Gtk sits on top of Gdk
 

The Following 4 Users Say Thank You to rinigus For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#27
New flatpak runner is out: 0.4.0

This time it has been mainly about making it usable. From now on, you don't need to make GL extension manually anymore - its made for you on the first start of flatpak-runner.

The app takes care of refreshing the list of flatpak applications installed on your device and generates corresponding .desktop files. As a result, you can launch them as if they are SFOS apps from the app grid.

When started without hosting any app, it will show the list of installed flatpak apps and will allow you to tune environment for each of them. You can add default and app-specific env variables, change QT scaling and DPI parameters. For qtwebengine based browser, I recommend to set scaling to 2 or 3 (depending on your device) for better hidpi screen support.

Known bugs: https://together.jolla.com/question/...not-respected/
 

The Following 14 Users Say Thank You to rinigus For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#28
is tere a list/wiki with usable software? i am new to flatpak and no idea what i just installed D
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 3 Users Say Thank You to coderus For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#29
Originally Posted by coderus View Post
is tere a list/wiki with usable software? i am new to flatpak and no idea what i just installed D
Right now, unless you wish to compile it, list is short:

- Angelfish available from KDE Flatpak repo, org.kde.mobile.angelfish; developed at https://invent.kde.org/jbbgameich/plasma-angelfish

- Maybe Matrix client Spectral, https://gitlab.com/spectral-im/spectral

We are limited to QML apps due to QtWayland 5.4 that we have and which is used in the compositor run by flatpak-runner. On top of that, flatpak-runner compositor is in particularly bad and assumes that it has only one window to show. Which does cause some issues. Depending on Qt update on SFOS, we will either have to work with QtWayland 5.4 or just wait with this limitation for now.

I'm mainly looking into improving the browser, Spectral has issues with touch controlled devices (issues filed). Browser, as distributed now, is slow. Bugfix is known and already applied, but may require further investigation on my side.

As for other software, much is written for desktop. Gtk apps are no go for now (too old QtWayland compositor).

In sum, right now, you have to get hands dirty to get software that you want and be ready to fix it. Shouldn't be a problem, right?

Did you check that your device has newer libhybris? libhybris-0.0.5.34 is required.
 

The Following 3 Users Say Thank You to rinigus For This Useful Post:
mosen's Avatar
Community Council | Posts: 1,669 | Thanked: 10,225 times | Joined on Nov 2014 @ Lower Rhine
#30
I am trying the github instructions on Pro¹ but struggle at adding the repos.

Code:
[nemo@mosen-Pro1 ~]$ flatpak remote-add -vv --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
F: Opening user flatpak installation at path /home/nemo/.local/share/flatpak
F: Loading https://flathub.org/repo/flathub.flatpakrepo using libsoup
F: Received 4040 bytes
Usage: gpg-connect-agent [options] (-h for help)Usage: gpg-connect-agent [options] (-h for help)F: Imported 1 GPG key to remote "flathub"
F: Fetching summary file for remote ?flathub?
Warning: Could not update extra metadata for 'flathub': While fetching https://dl.flathub.org/repo/summary.sig: [28] Timeout was reached
The kdeapps repo added without that trouble but still if i do remote-ls:

Code:
flatpak remote-ls --user kdeapps
error: While fetching http://distribute.kde.org/flatpak-ap...g/summary.sig: [52] Server returned nothing (no headers, no data)
What may i miss?

When installing sth:
Code:
[nemo@mosen-Pro1 ~]$ flatpak install -vv --user org.kde.mobile.angelfish
F: Opening user flatpak installation at path /home/nemo/.local/share/flatpak
Looking for matches?
F: Fetching summary file for remote ?flathub?
F: Failed to download optional summary
F: An error was encountered searching remote ?flathub? for ?org.kde.mobile.angelfish?: Unable to load summary from remote flathub: While fetching https://dl.flathub.org/repo/summary.sig: [28] Timeout was reached
F: Fetching summary file for remote ?kdeapps?
Usage: gpg-connect-agent [options] (-h for help)Found similar ref(s) for ?org.kde.mobile.angelfish? in remote ?kdeapps? (user).
Use this remote? [Y/n]: Y
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Fetching summary file for remote ?kdeapps?
Usage: gpg-connect-agent [options] (-h for help)F: Transaction: install kdeapps:app/org.kde.mobile.angelfish/arm/master[*]
F: Looking for remote metadata updates for kdeapps
F: marking op install:app/org.kde.mobile.angelfish/arm/master resolved to 0317b5bae437bf982c139a3b9a8207fc4f736c6a56e81e9736911789dbd3ad5c
F: Fetching summary file for remote ?flathub?
F: Failed to download optional summary
error: The application org.kde.mobile.angelfish/arm/master requires the runtime org.kde.Platform/arm/5.12 which was not found
[nemo@mosen-Pro1 ~]$ flatpak install -vv --user org.kde.Platform/arm/5.12
F: Opening user flatpak installation at path /home/nemo/.local/share/flatpak
Looking for matches?
F: Fetching summary file for remote ?flathub?
F: Failed to download optional summary
F: An error was encountered searching remote ?flathub? for ?org.kde.Platform/arm/5.12?: Unable to load summary from remote flathub: While fetching https://dl.flathub.org/repo/summary.sig: [28] Timeout was reached
F: Fetching summary file for remote ?kdeapps?
Usage: gpg-connect-agent [options] (-h for help)error: No remote refs found similar to ?org.kde.Platform/arm/5.12?

Last edited by mosen; 2020-02-03 at 20:56.
 

The Following 3 Users Say Thank You to mosen For This Useful Post:
Reply

Tags
flatpak


 
Forum Jump


All times are GMT. The time now is 13:10.