maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Flatpak on Sailfish OS (https://talk.maemo.org/showthread.php?t=100909)

taixzo 2020-07-03 21:03

Re: Flatpak on Sailfish OS
 
I mean, there are some fully released clients (e.g. MiniVector) that don't bother to handle event deleting or editing.

cy8aer 2020-07-03 22:06

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by taixzo (Post 1568180)
I mean, there are some fully released clients (e.g. MiniVector) that don't bother to handle event deleting or editing.

Those must bother - believe me. No Quaternion flatpak?

taixzo 2020-07-04 04:44

Re: Flatpak on Sailfish OS
 
by "don't bother" I mean that when an edit is sent it just adds the edited message to the bottom of the message list rather than updating the original, and deletes...do nothing aside from trigger the notification sound, the message is still there

rinigus 2020-07-04 07:10

Re: Flatpak on Sailfish OS
 
@cy8aer, don't know if it of any help. There is matrix client Mirage which is also using nio/pyotherside/qml. Maybe it is possible to reuse some of it's code when needed. It's not feature complete, but maybe useful to check.

Quaternion I haven't checked. When needed, using Mirage via flatpak.

monkeyisland 2020-07-04 14:33

Re: Flatpak on Sailfish OS
 
Hi there how are the override dpi settings for angelfish on xa2 ?
Please help.
And how can i delete the history?;)

carmenfdezb 2020-07-11 07:05

Re: Flatpak on Sailfish OS
 
I've updated angelfish today and I can't open it (Application finished with exit code 127).
If I open angelfish from terminal:

Code:

Starting: org.kde.mobile.angelfish
[D] unknown:0 - Using Wayland-EGL
Wayland socket: ../../display/wayland-4
WAYLAND_DISPLAY="../../display/wayland-4" FLATPAK_MALIIT_CONTAINER_DBUS="unix:abstract=/tmp/dbus-dE9VOVs7cU,guid=bd502d77f64cb830afc925445f096323" flatpak run --env=QT_WAYLAND_FORCE_DPI=240 --filesystem=/system:ro --filesystem=/vendor:ro --filesystem=/odm:ro --filesystem=/plat_property_contexts:ro --filesystem=/nonplat_property_contexts:ro --device=all --talk-name=org.maliit.server --env=QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu-compositing --num-raster-threads=1 --enable-viewport --disable-composited-antialiasing --env=QTWEBENGINE_DISABLE_GPU_THREAD=1 --env=QT_QUICK_CONTROLS_MOBILE=1 --env=QT_QUICK_CONTROLS_STYLE=Plasma --env=HYBRIS_EGLPLATFORM_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris --env=HYBRIS_LINKER_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris/linker --env=HYBRIS_LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib:/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib --env=LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/lib org.kde.mobile.angelfish
[D] onCompleted:424 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
[W] unknown:53 - file:///usr/share/flatpak-runner/qml/main.qml:53:26: Unable to assign [undefined] to bool
angelfish: error while loading shared libraries: libopenh264.so.6: cannot open shared object file: No such file or directory
[D] expression for onExit:59 - Skipping quit as it will hang the window. Proper exit is needed

Any ideas how to solve this issue?

rinigus 2020-07-11 07:31

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by carmenfdezb (Post 1568258)
I've updated angelfish today and I can't open it (Application finished with exit code 127).
If I open angelfish from terminal:

Code:

Starting: org.kde.mobile.angelfish
[D] unknown:0 - Using Wayland-EGL
Wayland socket: ../../display/wayland-4
WAYLAND_DISPLAY="../../display/wayland-4" FLATPAK_MALIIT_CONTAINER_DBUS="unix:abstract=/tmp/dbus-dE9VOVs7cU,guid=bd502d77f64cb830afc925445f096323" flatpak run --env=QT_WAYLAND_FORCE_DPI=240 --filesystem=/system:ro --filesystem=/vendor:ro --filesystem=/odm:ro --filesystem=/plat_property_contexts:ro --filesystem=/nonplat_property_contexts:ro --device=all --talk-name=org.maliit.server --env=QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu-compositing --num-raster-threads=1 --enable-viewport --disable-composited-antialiasing --env=QTWEBENGINE_DISABLE_GPU_THREAD=1 --env=QT_QUICK_CONTROLS_MOBILE=1 --env=QT_QUICK_CONTROLS_STYLE=Plasma --env=HYBRIS_EGLPLATFORM_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris --env=HYBRIS_LINKER_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris/linker --env=HYBRIS_LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib:/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib --env=LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/lib org.kde.mobile.angelfish
[D] onCompleted:424 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
[W] unknown:53 - file:///usr/share/flatpak-runner/qml/main.qml:53:26: Unable to assign [undefined] to bool
angelfish: error while loading shared libraries: libopenh264.so.6: cannot open shared object file: No such file or directory
[D] expression for onExit:59 - Skipping quit as it will hang the window. Proper exit is needed

Any ideas how to solve this issue?

Looks like someone updated something in ffmpeg/angelfish/platform builds and it all got broken :( . I will ask around...

carmenfdezb 2020-07-11 09:09

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1568259)
Looks like someone updated something in ffmpeg/angelfish/platform builds and it all got broken :( . I will ask around...

Telegram desktop doesn't work either :(

rinigus 2020-07-11 09:16

Re: Flatpak on Sailfish OS
 
In general, looks like something is broken. So, if you haven't updated today, please refrain from it. We, the ones that updated, will have to suffer for some time until fix is pushed

I have contacted the folks responsible for KDE Flatpak platform. Let's see when we get it fixed.

carmenfdezb 2020-07-11 09:25

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1568261)
In general, looks like something is broken. So, if you haven't updated today, please refrain from it. We, the ones that updated, will have to suffer for some time until fix is pushed

I have contacted the folks responsible for KDE Flatpak platform. Let's see when we get it fixed.

Thank you so much!

rinigus 2020-07-11 11:51

Re: Flatpak on Sailfish OS
 
Turned out that it was due to ffmpeg update. To get it back

Code:

flatpak update --commit=6cc32e9f41c440fd05c2bbfcf0eeafee974c95a2d89f8f738492966d68ab8a8d org.freedesktop.Platform.ffmpeg-full
Reference: https://github.com/flatpak/flatpak/issues/3097

carmenfdezb 2020-07-11 13:18

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1568265)
Turned out that it was due to ffmpeg update. To get it back

Code:

flatpak update --commit=6cc32e9f41c440fd05c2bbfcf0eeafee974c95a2d89f8f738492966d68ab8a8d org.freedesktop.Platform.ffmpeg-full
Reference: https://github.com/flatpak/flatpak/issues/3097

Great!! It works again, thank you!

rinigus 2020-07-19 17:00

Re: Flatpak on Sailfish OS
 
Flatpak has been bumped to 1.6.5. Update as usual via zypper or some other tool.

edp17 2020-08-07 01:01

Re: Flatpak on Sailfish OS
 
I am trying to install angelfish but my device always gets rebooted right after the installation starts. After the reboot, it looks like the app is installed but in reality, it is not the case. When I try to remove it with 'flatpak remove --user angelfish', the device also instantly gets rebooted.
I am following the instructions from here. (Flatpak version is 1.6.5)
Is it just I, or somebody else is having similar issues? Thanks.

rinigus 2020-08-07 07:28

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by edp17 (Post 1568653)
I am trying to install angelfish but my device always gets rebooted right after the installation starts. After the reboot, it looks like the app is installed but in reality, it is not the case. When I try to remove it with 'flatpak remove --user angelfish', the device also instantly gets rebooted.
I am following the instructions from here. (Flatpak version is 1.6.5)
Is it just I, or somebody else is having similar issues? Thanks.

Have you tried to remove setuid from flatpak-bwrap?

edp17 2020-08-07 08:25

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1568660)
Have you tried to remove setuid from flatpak-bwrap?

Thank you this helped with the install/uninstall.

However, once I successfully installed the angelfish, when I start it with 'flatpak-runner org.kde.mobile.angelfish' while the setuid is removed from flatpak-bwrap, I get this:

Code:

[nemo@GalaxyNote4 ~]$ flatpak-runner org.kde.mobile.angelfish
Starting: org.kde.mobile.angelfish
[D] unknown:0 - Using Wayland-EGL
library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it
Wayland socket: ../../display/wayland-1
WAYLAND_DISPLAY="../../display/wayland-1" FLATPAK_MALIIT_CONTAINER_DBUS="unix:abstract=/tmp/dbus-2jgsVazrhw,guid=6dbb0b460b76ace39f6f63685f2d0ab1" flatpak run --env=QT_WAYLAND_FORCE_DPI=517 --filesystem=/system:ro --filesystem=/vendor:ro --device=all --talk-name=org.maliit.server --env=QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu-compositing --num-raster-threads=1 --enable-viewport --disable-composited-antialiasing --env=QTWEBENGINE_DISABLE_GPU_THREAD=1 --env=QT_QUICK_CONTROLS_MOBILE=1 --env=QT_QUICK_CONTROLS_STYLE=Plasma --env=HYBRIS_EGLPLATFORM_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris --env=HYBRIS_LINKER_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris/linker --env=HYBRIS_LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib:/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib --env=LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/lib org.kde.mobile.angelfish
[D] onCompleted:424 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
[W] unknown:53 - file:///usr/share/flatpak-runner/qml/main.qml:53:26: Unable to assign [undefined] to bool
bwrap: Creating new namespace failed, likely because the kernel does not support user namespaces.  bwrap must be installed setuid on such systems.

The namespace is in the kernel because the 'zcat /proc/config.gz | grep CONFIG_NAMESPACES' gives me: 'CONFIG_NAMESPACES=y'

If I put the setguid back to the flatpak-bwrap, upon starting angelfish I get a screen whith the circle animation and the following in the console:
Code:

[nemo@GalaxyNote4 ~]$ flatpak-runner org.kde.mobile.angelfish
Starting: org.kde.mobile.angelfish
[D] unknown:0 - Using Wayland-EGL
library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it
Wayland socket: ../../display/wayland-2
WAYLAND_DISPLAY="../../display/wayland-2" FLATPAK_MALIIT_CONTAINER_DBUS="unix:abstract=/tmp/dbus-1MAKn0UhdE,guid=ff1e7aa17d091e23d6b5f2775f2d0bb5" flatpak run --env=QT_WAYLAND_FORCE_DPI=517 --filesystem=/system:ro --filesystem=/vendor:ro --device=all --talk-name=org.maliit.server --env=QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu-compositing --num-raster-threads=1 --enable-viewport --disable-composited-antialiasing --env=QTWEBENGINE_DISABLE_GPU_THREAD=1 --env=QT_QUICK_CONTROLS_MOBILE=1 --env=QT_QUICK_CONTROLS_STYLE=Plasma --env=HYBRIS_EGLPLATFORM_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris --env=HYBRIS_LINKER_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris/linker --env=HYBRIS_LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib:/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib --env=LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/lib org.kde.mobile.angelfish
[D] onCompleted:424 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
[W] unknown:53 - file:///usr/share/flatpak-runner/qml/main.qml:53:26: Unable to assign [undefined] to bool
bwrap: execvp xdg-dbus-proxy: No such file or directory

The last line rings a bell about something but I don't remember. Can you help me out, please?

rinigus 2020-08-07 11:13

Re: Flatpak on Sailfish OS
 
xdg-dbus-proxy: do you have it installed? maybe try to install again flatpak-runner, that should pull all dependencies...

edp17 2020-08-07 12:10

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1568665)
xdg-dbus-proxy: do you have it installed? maybe try to install again flatpak-runner, that should pull all dependencies...

Yes, that is installed:

Code:

[nemo@GalaxyNote4 ~]$ sudo zypper se xdg-dbus-proxy
Loading repository data...
Reading installed packages...

S | Name                      | Summary                                     
--+----------------------------+-------------------------------------------
i | xdg-dbus-proxy            | Filtering proxy for D-Bus connections
  | xdg-dbus-proxy-debuginfo  | Debug information for package xdg-dbus-proxy
  | xdg-dbus-proxy-debugsource | Debug sources for package xdg-dbus-proxy


rinigus 2020-08-07 13:46

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by edp17 (Post 1568667)
Yes, that is installed:

Code:

[nemo@GalaxyNote4 ~]$ sudo zypper se xdg-dbus-proxy
Loading repository data...
Reading installed packages...

S | Name                      | Summary                                     
--+----------------------------+-------------------------------------------
i | xdg-dbus-proxy            | Filtering proxy for D-Bus connections
  | xdg-dbus-proxy-debuginfo  | Debug information for package xdg-dbus-proxy
  | xdg-dbus-proxy-debugsource | Debug sources for package xdg-dbus-proxy


Beats me. Maybe try to reinstall it. Don't remember seeing this error...

edp17 2020-08-07 14:50

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1568669)
Beats me. Maybe try to reinstall it. Don't remember seeing this error...

No, I wouldn't do that! Ever. :)
Instead, I'll go and double-check the requirements and try to reinstall everything. ;)
I wouldn't be surprised if this was a limitation/bug of my port for this device. I'll let you know the outcome here anyway. Thank you.

claustn 2020-08-10 07:40

Re: Flatpak on Sailfish OS
 
I've just bought a XA2 and installed official Sailfish on it, could you please point me to the updated procedure to have Angelfish running?

rinigus 2020-08-10 07:41

Re: Flatpak on Sailfish OS
 
As far as I know, follow the docs. If something breaks and there are some workarounds needed, please submit pull request to update the docs as well.

aspergerguy 2020-08-10 18:34

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by claustn (Post 1568690)
could you please point me to the updated procedure to have Angelfish running?

After adding rinigus repo and install flatpack-runner and rebooting first stage went well but seemed to hang at this point and had to manually reboot, but perhaps I didn't leave it long enough:
Code:

Sailfish OS 3.3.0.16 (Rokua)
'---
[nemo@XperiaXA2-DualSIM ~]$ devel-su
Password:
[root@XperiaXA2-DualSIM nemo]# ssu addrepo rinigus-flatpak http://repo.merproject.org/obs/home:/rinigus:/flatpak/sailfish_latest_armv7hl/
[root@XperiaXA2-DualSIM nemo]# pkcon refresh
Refreshing cache                                                               
Waiting for authentication                                                   
Refreshing software list                                                     
Finished                                                                     
[root@XperiaXA2-DualSIM nemo]# pkcon install flatpak-runner
Resolving                                                                     
Querying                                                                       
Testing changes                                                               
Finished                                      [                      ] (0%) 
The following packages have to be installed:
 flatpak-1.6.5.0-1.25.1.jolla.armv7hl        Application deployment framework for desktop apps
 flatpak-runner-0.8.5-1.35.2.jolla.armv7hl        Flatpak runner
 flatpak-session-helper-1.6.5.0-1.25.1.jolla.armv7hl        User D-Bus service used by flatpak and others
 gdk-pixbuf-2.38.1-1.2.1.jolla.armv7hl        An image loading library
 libappstream-glib-0.7.15.1-1.14.1.jolla.armv7hl        Library for AppStream metadata
 libcroco-0.6.13-1.2.1.jolla.armv7hl        A CSS2 parsing library
 libpython3_81_0-3.8.1+git1-1.8.1.jolla.armv7hl        Python Interpreter shared library
 librsvg-2.40.20-1.2.1.jolla.armv7hl        An SVG library based on cairo
 libseccomp-2.4.2-1.2.1.jolla.armv7hl        An Enhanced Seccomp (mode 2) Helper Library
 ostree-libs-2019.6-1.14.2.jolla.armv7hl        Development headers for ostree
 pyotherside-qml-plugin-python3-qt5-1.5.9+git2-1.5.1.jolla.armv7hl        Asynchronous Python 3 Bindings for Qt 5
 python3-base-3.8.1+git1-1.8.1.jolla.armv7hl        Python3 Interpreter
 xdg-dbus-proxy-0.1.2-1.5.2.jolla.armv7hl        Filtering proxy for D-Bus connections
 xdg-desktop-portal-1.4.2-1.10.10.jolla.armv7hl        Portal frontend service to flatpak
Proceed with changes? [N/y] y

                                                                             
Installing                                                                   
Refreshing software list                                                     
Querying                                                                     
Resolving dependencies                                                       
Installing packages                                                           
Downloading packages                                                         
Installing packages                                                           
Finished                                                                     
[root@XperiaXA2-DualSIM nemo]# exit
exit
[nemo@XperiaXA2-DualSIM ~]$ flatpak-runner
Starting empty Wayland server and enabling settings
[D] unknown:0 - Using Wayland-EGL
Wayland socket: ../../display/wayland-1
[D] onCompleted:424 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
[D] unknown:0 - Got library name:  "/usr/lib/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so"
Synchronize main libraries
  libEGL.so.1
  libEGL.so.1.0.0
  libGLESv2.so.2
  libGLESv2.so.2.0.0
  libandroid-properties.so.1
  libandroid-properties.so.1.0.0
  libgralloc.so
  libgralloc.so.1
  libgralloc.so.1.0.0
  libhardware.so.2
  libhardware.so.2.0.0
  libhwc2.so
  libhwc2.so.1
  libhwc2.so.1.0.0
  libhybris-common.so.1
  libhybris-common.so.1.0.0
  libhybris-eglplatformcommon.so.1
  libhybris-eglplatformcommon.so.1.0.0
  libhybris-hwcomposerwindow.so.1
  libhybris-hwcomposerwindow.so.1.0.0
  libsync.so.2
  libsync.so.2.0.0
  libwayland-egl.so.1
  libwayland-egl.so.1.0.0
  libwifi.so.1
  libwifi.so.1.0.0

Synchronize /usr/lib/libhybris
sending incremental file list
./
eglplatform_fbdev.so
eglplatform_hwcomposer.so
eglplatform_null.so
eglplatform_wayland.so
linker/
linker/jb.la
linker/jb.so
linker/mm.la
linker/mm.so
linker/n.la
linker/n.so
linker/o.la
linker/o.so

sent 556,085 bytes  received 259 bytes  1,112,688.00 bytes/sec
total size is 555,163  speedup is 1.00

Synchronize /usr/libexec/droid-hybris
sending incremental file list
./
lib-dev-alog/
lib-dev-alog/libcutils.so -> ../system/lib/libcutils.so
lib-dev-alog/liblog.so -> ../system/lib/liblog.so
lib64-dev-alog/
lib64-dev-alog/libcutils.so -> ../system/lib64/libcutils.so
lib64-dev-alog/liblog.so -> ../system/lib64/liblog.so
system/
system/bin/
system/bin/adbd
system/bin/bootctl
system/bin/e2fsdroid
system/bin/linker
system/bin/linker64
system/bin/linker_asan -> linker
system/bin/linker_asan64 -> linker64
system/bin/logcat
system/bin/miniafservice
system/bin/minimediaservice
system/bin/minisfservice
system/bin/mke2fs
system/bin/servicemanager
system/bin/updater
system/etc/
system/etc/init/
system/etc/init/android.hardware.keymaster@3.0-service-qti.rc
system/etc/init/audioserver.rc
system/etc/init/cameraserver.rc
system/etc/init/ecclist.rc
system/etc/init/hwservicemanager.rc
system/etc/init/hybris_extras.rc
system/etc/init/keystore.rc
system/etc/init/lmkd.rc
system/etc/init/mediaserver.rc
system/etc/init/netd.rc
system/etc/init/servicemanager.rc
system/etc/init/surfaceflinger.rc
system/etc/init/vndservicemanager.rc
system/etc/init/vold.rc
system/etc/init/wificond.rc
system/lib/
system/lib/android.frameworks.vr.composer@1.0.so
system/lib/android.hardware.audio.common@2.0-util.so
system/lib/android.hardware.audio.common@2.0.so
system/lib/android.hardware.audio.effect@2.0.so
system/lib/android.hardware.audio@2.0.so
system/lib/android.hardware.boot@1.0.so
system/lib/android.hardware.broadcastradio@1.0.so
system/lib/android.hardware.broadcastradio@1.1.so
system/lib/android.hardware.camera.common@1.0.so
system/lib/android.hardware.camera.device@1.0.so
system/lib/android.hardware.camera.device@3.2.so
system/lib/android.hardware.camera.device@3.3.so
system/lib/android.hardware.camera.provider@2.4.so
system/lib/android.hardware.cas.native@1.0.so
system/lib/android.hardware.cas@1.0.so
system/lib/android.hardware.configstore-utils.so
system/lib/android.hardware.configstore@1.0.so
system/lib/android.hardware.drm@1.0.so
system/lib/android.hardware.gnss@1.0.so
system/lib/android.hardware.graphics.allocator@2.0.so
system/lib/android.hardware.graphics.bufferqueue@1.0.so
system/lib/android.hardware.graphics.common@1.0.so
system/lib/android.hardware.graphics.composer@2.1.so
system/lib/android.hardware.graphics.mapper@2.0.so
system/lib/android.hardware.media.omx@1.0.so
system/lib/android.hardware.media@1.0.so
system/lib/android.hardware.memtrack@1.0.so
system/lib/android.hardware.nfc@1.0.so
system/lib/android.hardware.power@1.0.so
system/lib/android.hardware.radio.deprecated@1.0.so
system/lib/android.hardware.radio@1.0.so
system/lib/android.hardware.radio@1.1.so
system/lib/android.hardware.renderscript@1.0.so
system/lib/android.hardware.sensors@1.0.so
system/lib/android.hardware.soundtrigger@2.0.so
system/lib/android.hardware.thermal@1.0.so
system/lib/android.hardware.vibrator@1.0.so
system/lib/android.hidl.allocator@1.0.so
system/lib/android.hidl.memory@1.0.so
system/lib/android.hidl.token@1.0-utils.so
system/lib/android.hidl.token@1.0.so
system/lib/ld-android.so
system/lib/libEGL.so
system/lib/libGLESv1_CM.so
system/lib/libGLESv2.so
system/lib/libGLESv3.so
system/lib/libaudioflingerglue.so
system/lib/libaudioroute.so
system/lib/libaudioutils.so
system/lib/libbacktrace.so
system/lib/libbase.so
system/lib/libbinder.so
system/lib/libc++.so
system/lib/libc.so
system/lib/libcamera_metadata.so
system/lib/libcap.so
system/lib/libcrypto.so
system/lib/libcutils.so
system/lib/libdl.so
system/lib/libdroidmedia.so
system/lib/libeffectsconfig.so
system/lib/libexpat.so
system/lib/libfmq.so
system/lib/libgraphicsenv.so
system/lib/libgui.so
system/lib/libhardware.so
system/lib/libhardware_legacy.so
system/lib/libhidlbase.so
system/lib/libhidlmemory.so
system/lib/libhidltransport.so
system/lib/libhwbinder.so
system/lib/libhwc2_compat_layer.so
system/lib/liblog.so
system/lib/liblzma.so
system/lib/libm.so
system/lib/libmedia_omx.so
system/lib/libminisf.so
system/lib/libnativebridge.so
system/lib/libnativehelper.so
system/lib/libnativeloader.so
system/lib/libnativewindow.so
system/lib/libpowermanager.so
system/lib/libprotobuf-cpp-full.so
system/lib/libprotobuf-cpp-lite.so
system/lib/libselinux_stubs.so
system/lib/libspeexresampler.so
system/lib/libstagefright_foundation.so
system/lib/libstagefright_omx.so
system/lib/libstagefright_omx_utils.so
system/lib/libstagefright_xmlparser.so
system/lib/libsurfaceflinger.so
system/lib/libsync.so
system/lib/libtinyalsa.so
system/lib/libtinyxml2.so
system/lib/libui.so
system/lib/libunwind.so
system/lib/libutils.so
system/lib/libvndksupport.so
system/lib/libvulkan.so
system/lib/libz.so
system/lib/libziparchive.so
system/lib64/
system/lib64/android.frameworks.vr.composer@1.0.so
system/lib64/android.hardware.audio.common@2.0-util.so
system/lib64/android.hardware.audio.common@2.0.so
system/lib64/android.hardware.audio.effect@2.0.so
system/lib64/android.hardware.audio@2.0.so
system/lib64/android.hardware.biometrics.fingerprint@2.1.so
system/lib64/android.hardware.bluetooth@1.0.so
system/lib64/android.hardware.boot@1.0.so
system/lib64/android.hardware.camera.common@1.0.so
system/lib64/android.hardware.camera.device@1.0.so
system/lib64/android.hardware.camera.device@3.2.so
system/lib64/android.hardware.camera.device@3.3.so
system/lib64/android.hardware.camera.provider@2.4.so
system/lib64/android.hardware.configstore-utils.so
system/lib64/android.hardware.configstore@1.0.so
system/lib64/android.hardware.gnss@1.0.so
system/lib64/android.hardware.graphics.allocator@2.0.so
system/lib64/android.hardware.graphics.bufferqueue@1.0.so
system/lib64/android.hardware.graphics.common@1.0.so
system/lib64/android.hardware.graphics.composer@2.1.so
system/lib64/android.hardware.graphics.mapper@2.0.so
system/lib64/android.hardware.light@2.0.so
system/lib64/android.hardware.media@1.0.so
system/lib64/android.hardware.memtrack@1.0.so
system/lib64/android.hardware.nfc@1.0.so
system/lib64/android.hardware.power@1.0.so
system/lib64/android.hardware.radio.deprecated@1.0.so
system/lib64/android.hardware.radio@1.0.so
system/lib64/android.hardware.radio@1.1.so
system/lib64/android.hardware.renderscript@1.0.so
system/lib64/android.hardware.sensors@1.0.so
system/lib64/android.hardware.thermal@1.0.so
system/lib64/android.hardware.usb@1.0.so
system/lib64/android.hardware.vibrator@1.0.so
system/lib64/android.hardware.wifi.supplicant@1.0.so
system/lib64/android.hardware.wifi@1.0.so
system/lib64/android.hardware.wifi@1.1.so
system/lib64/android.hidl.allocator@1.0.so
system/lib64/android.hidl.memory@1.0.so
system/lib64/android.hidl.token@1.0-utils.so
system/lib64/android.hidl.token@1.0.so
system/lib64/android.system.wifi.keystore@1.0.so
system/lib64/ld-android.so
system/lib64/libEGL.so
system/lib64/libGLESv1_CM.so
system/lib64/libGLESv2.so
system/lib64/libGLESv3.so
system/lib64/libaudioroute.so
system/lib64/libaudioutils.so
system/lib64/libbacktrace.so
system/lib64/libbase.so
system/lib64/libbinder.so
system/lib64/libc++.so
system/lib64/libc.so
system/lib64/libcamera_metadata.so
system/lib64/libcap.so
system/lib64/libclang_rt.ubsan_standalone-aarch64-android.so
system/lib64/libcrypto.so
system/lib64/libcutils.so
system/lib64/libdl.so
system/lib64/libeffectsconfig.so
system/lib64/libexpat.so
system/lib64/libext2_blkid.so
system/lib64/libext2_com_err.so
system/lib64/libext2_e2p.so
system/lib64/libext2_misc.so
system/lib64/libext2_quota.so
system/lib64/libext2_uuid.so
system/lib64/libext2fs.so
system/lib64/libfmq.so
system/lib64/libgraphicsenv.so
system/lib64/libgui.so
system/lib64/libhardware.so
system/lib64/libhardware_legacy.so
system/lib64/libhidlbase.so
system/lib64/libhidlmemory.so
system/lib64/libhidltransport.so
system/lib64/libhwbinder.so
system/lib64/libhwc2_compat_layer.so
system/lib64/libicuuc.so
system/lib64/libion.so
system/lib64/liblog.so
system/lib64/liblogcat.so
system/lib64/liblzma.so
system/lib64/libm.so
system/lib64/libnativebridge.so
system/lib64/libnativehelper.so
system/lib64/libnativeloader.so
system/lib64/libnativewindow.so
system/lib64/libnl.so
system/lib64/libpackagelistparser.so
system/lib64/libpcre2.so
system/lib64/libpcrecpp.so
system/lib64/libpowermanager.so
system/lib64/libprotobuf-cpp-full.so
system/lib64/libprotobuf-cpp-lite.so
system/lib64/libselinux.so
system/lib64/libselinux_stubs.so
system/lib64/libsparse.so
system/lib64/libspeexresampler.so
system/lib64/libssl.so
system/lib64/libstagefright_foundation.so
system/lib64/libsurfaceflinger.so
system/lib64/libsync.so
system/lib64/libtinyalsa.so
system/lib64/libtinyxml2.so
system/lib64/libui.so
system/lib64/libunwind.so
system/lib64/libutils.so
system/lib64/libvndksupport.so
system/lib64/libvulkan.so
system/lib64/libwifi-system-iface.so
system/lib64/libz.so
system/lib64/libziparchive.so

sent 56,837,858 bytes  received 4,679 bytes  22,737,014.80 bytes/sec
total size is 56,807,371  speedup is 1.00


Broadcast message from root@XperiaXA2-DualSIM (Mon 2020-08-10 17:50:20 BST):

The system is going down for reboot NOW!

Although following installation instructions at https://github.com/sailfishos-flatpak/main things started to go wrong at this point and ended up using:
Code:

[nemo@XperiaXA2-DualSIM ~]$ flatpak install -vv --user org.kde.mobile.angelfish
with successful result as here:https://pastebin.com/9zRBd9w2

rinigus 2020-08-23 19:23

Re: Flatpak on Sailfish OS
 
New release is out - 0.8.6 - with the updated translations. Thanks to all the translators!

Some news regarding Angelfish:

- due to the bug/feature in KConfig and the fact that flatpak runner closes Angelfish rather abruptly, user settings (search engine, button preferences) are not saved on exit. If you made some changes that you would like to keep, please kill angelfish process from terminal (not with sig 9 though). That would save the settings before closing. I have not found any good way of doing it on flatpak-runner side.

- JBB has added support for single instance. Should allow now to open URL in Angelfish from outside, no mime type support yet done/merged

claustn 2020-08-24 09:45

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1568881)
New release is out - 0.8.6 - with the updated translations. Thanks to all the translators!

Some news regarding Angelfish:

- due to the bug/feature in KConfig and the fact that flatpak runner closes Angelfish rather abruptly, user settings (search engine, button preferences) are not saved on exit. If you made some changes that you would like to keep, please kill angelfish process from terminal (not with sig 9 though). That would save the settings before closing. I have not found any good way of doing it on flatpak-runner side.

- JBB has added support for single instance. Should allow now to open URL in Angelfish from outside, no mime type support yet done/merged

Could you please give an example on how to properly kill the process?
I see that copy and paste between Angelfish and Sailfish doesn't work, is it a known bug?

rinigus 2020-08-24 10:07

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by claustn (Post 1568889)
Could you please give an example on how to properly kill the process?
I see that copy and paste between Angelfish and Sailfish doesn't work, is it a known bug?

with "ps -u nemo | grep angel" you will get a pid that can be used for killing

copy and paste works from sfos -> angelfish, not in reverse. it is known issue, no solution on sight.

claustn 2020-09-07 08:51

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1568890)
with "ps -u nemo | grep angel" you will get a pid that can be used for killing

copy and paste works from sfos -> angelfish, not in reverse. it is known issue, no solution on sight.

Settings preferences are still not saved, what I did:
  1. ps -u nemo | grep angel
  2. kill PID
  3. close app cover showing (Application finished with exit code 143)
  4. reopen Angelfish

Some more questions:
Will be possible to speed up the opening of Angelfish?
How to prevent opening old tabs?
Is it possible to have some kind of adblock? (Defender from openrepos freezed my XA2)

Thanks for your work!

rinigus 2020-09-07 09:09

Re: Flatpak on Sailfish OS
 
Re settings: don't know why it is not saving for you :( . sounds like you did it right. Is the version that you use updated to the latest?

Re speed: no idea

Re old tabs: you will have to write the corresponding code enabling such option in settings and upstream it

Re adblock: there is interest (judging from an open issue), but nobody worked on it.

claustn 2020-09-07 09:41

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1569151)
Re settings: don't know why it is not saving for you :( . sounds like you did it right. Is the version that you use updated to the latest?

Ok updating flatpak and angelfish solved the problems, now settings are correctly saved.

carmenfdezb 2020-10-09 19:55

Re: Flatpak on Sailfish OS
 
I've been testing kotatogram as a telegram client and I must say that kotatogram works much better than telegram desktop and it doesn't crash with animated stikers.

ogustbiller 2020-12-24 17:16

Re: Flatpak on Sailfish OS
 
Hi, All.
I deleted usr/libexec/flatpak* files. How i can get them again? All flatpak apps crash after startup with exit code 1 and log:

[nemo@Sailfish flatpak]$ flatpak-runner org.kde.mobile.angelfish
Starting: org.kde.mobile.angelfish
[D] unknown:0 - Using Wayland-EGL
Wayland socket: ../../display/wayland-1
WAYLAND_DISPLAY="../../display/wayland-1" FLATPAK_MALIIT_CONTAINER_DBUS="unix:abstract=/tmp/dbus-CdCjMOOlsh,guid=e35d30e5b1989ab21342457a5fe4ccb4" flatpak run --env=QT_WAYLAND_FORCE_DPI=129 --env=QT_SCALE_FACTOR=2 --filesystem=/system:ro --filesystem=/vendor:ro --filesystem=/odm:ro --device=all --talk-name=org.maliit.server --env=QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu-compositing --env=QTWEBENGINE_DISABLE_GPU_THREAD=0 --env=QT_QUICK_CONTROLS_MOBILE=1 --env=QT_QUICK_CONTROLS_STYLE=Plasma --env=filesystem=homr --env=HYBRIS_EGLPLATFORM_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris --env=HYBRIS_LINKER_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris/linker --env=HYBRIS_LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib:/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib --env=LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/lib org.kde.mobile.angelfish
[W] unknown:0 - Theme dir "/usr/share/themes/jolla/meegotouch/z1.25/" does not exist
[D] onCompleted:433 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
[W] unknown:53 - file:///usr/share/flatpak-runner/qml/main.qml:53:26: Unable to assign [undefined] to bool
error: Failed to execute child process ?/usr/libexec/flatpak-bwrap? (No such file or directory)
[D] expression for onExit:59 - Skipping quit as it will hang the window. Proper exit is needed

What can i do?

rinigus 2020-12-24 20:06

Re: Flatpak on Sailfish OS
 
Uninstall flatpak support and install again.

ogustbiller 2020-12-24 20:20

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1570547)
Uninstall flatpak support and install again.

i did it, but there are no flatpak* files in /usr/libexec directory.
Ok, i give tem from fresh installed system on tablet. Copy at phone, setup permussins. And when i tried run flatpak app, then get:

bwrap: Can't mount devpts on /newroot/dev/pts: Operation not permitted
error: ldconfig failed, exit status 256

rinigus 2020-12-24 21:44

Re: Flatpak on Sailfish OS
 
Are you mixing x86 and ARM files? What kind of tablet is it?

ogustbiller 2020-12-25 08:45

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1570553)
Are you mixing x86 and ARM files? What kind of tablet is it?

Tablet is Sony Z3 Tablet Mini

rinigus 2020-12-25 09:07

Re: Flatpak on Sailfish OS
 
Please uninstall all RPMs that you installed for flatpak support and install them again on your phone. Do not mess with /usr/XXX files manually unless you develop something and know what are you doing. Copying the files from one device to another should not be needed

ogustbiller 2020-12-25 11:18

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1570559)
Please uninstall all RPMs that you installed for flatpak support and install them again on your phone. Do not mess with /usr/XXX files manually unless you develop something and know what are you doing. Copying the files from one device to another should not be needed

I tried reinstall flatpak as follows:

Code:

flatpak remove org.kde.mobile.angelfish
devel-su pkcon remove flatpak-runner
devel-su pkcon refresh

then reboot, and follow:

Code:

devel-su pkcon install flatpak-runner
flatpak-runner 
^c

then reboot, and finally:

Code:

flatpak install --user org.kde.mobile.angelfish
flatpak-runner 
^c
flatpak-runner org.kde.mobile.angelfish


But got same error:
Code:

bwrap: Can't mount devpts on /newroot/dev/pts: Operation not permitted
error: ldconfig failed, exit status 256

I don't know (

PS: when i removed angelfish, i got messsage with can't mount devpts... and permissions too.

rinigus 2020-12-25 21:47

Re: Flatpak on Sailfish OS
 
@ogustbiller - you would have to uninstall dependencies that were pulled from my flatpak repo as well. flatpak-runner is mostly GUI, there are few other packages involved. Just check what you have installed from the repo and remove that. the files you deleted were from another package, probably flatpak - but I don't remember for sure.

s_mario 2020-12-26 19:03

Re: Flatpak on Sailfish OS
 
2 Attachment(s)
Thanks for the work you have invested in using Flatpaks, but it is currently not usable for me.
This is my second attempt, where I try to get it to work on my XperiaX.
Perhaps the download and installation script can be optimized so that it also ensures the completeness of the downloaded data.
The downloads never seems to be complete (see screenshots). The installation of Angelfish always ends in a reboot. It says "Installation complete." displayed even though the download is incomplete.
I've never been lucky enough to have an icon created for Angelfish. However, starting from the terminal is possible and it appears to be working.
If you want to reinstall it because of the missing icon, the uninstallation of Angelfish ends 5-8 times with a reboot until it is finally installed and you can reinstall it.
Is there actually a force or override option for installing an app? That would be very helpful in such cases ;-).

Maybe I'm doing something wrong, I don't know.
But I have a bad feeling when the sizes of the downloads do not match.

ogustbiller 2020-12-26 20:05

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1570572)
@ogustbiller - you would have to uninstall dependencies that were pulled from my flatpak repo as well. flatpak-runner is mostly GUI, there are few other packages involved. Just check what you have installed from the repo and remove that. the files you deleted were from another package, probably flatpak - but I don't remember for sure.

Ok, thank you . I'll try .


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

vBulletin® Version 3.8.8