Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Flatpak on Sailfish OS

    Reply
    Page 34 of 44 | Prev | 24   32     33   34   35     36   | Next | Last
    rinigus | # 331 | 2020-05-11, 18:29 | Report

    Originally Posted by magic cucumber View Post
    3.2.1.20:

    Fatal error: nothing provides libgdk_pixbuf-2.0.so.0 needed by flatpak-1.6.3.0-1.4.1.jolla.armv7hl

    Seems there is no libgdk_pixbuf-2.0 or similar package
    pkcon refresh may help? I just switched to 3.3.0.16, cannot test it here, unfortunately.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to rinigus For This Useful Post:
    Amboss, elvarr, juiceme, mosen

     
    magic cucumber | # 332 | 2020-05-12, 07:49 | Report

    Originally Posted by rinigus View Post
    pkcon refresh may help? I just switched to 3.3.0.16, cannot test it here, unfortunately.
    Aye, it helps. Everything seems OK for now. Thx

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to magic cucumber For This Useful Post:
    Amboss, elvarr, juiceme, mosen, rinigus

     
    woidboy | # 333 | 2020-05-18, 19:11 | Report

    I'm trying to build a flatpak application for Sailfish OS running on Xperia 10. Since I ran over the QEMU bug when compiling for arm on 64-bit hosts, I tried to use the aarch64 architecture (uname -a on the phone says it is aarch64 und with flatpak, I can install all the aarch64 libraries). However, flatpak-runner fails to launch the application.

    I get something like this:
    [W] unknown:164 - file:///usr/share/flatpak-runner/qml/MainPage.qml:164:5: QML Image: Cannot open: file:///usr/share/flatpak-runner/qml/flatpak-runner
    [W] unknown:164 - file:///usr/share/flatpak-runner/qml/MainPage.qml:164:5: QML Image: Cannot open: file:///usr/share/flatpak-runner/qml/flatpak-runner
    [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
    error: Failed to block syscall -10097

    Is this error due to the fact of compiling for the aarch64 architecture? By the way, flatpak-runner is working with arm apps like, e.g., angelfish.

    On the github pages, it tells us to use a i686 virtual host with the restriction to use only 32 bits when compiling for arm on 64-bit hosts. Would it be also to compile the code on an arm host, e.g., a Rasperry Pi?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by woidboy; 2020-05-18 at 19:18.
    The Following 3 Users Say Thank You to woidboy For This Useful Post:
    Amboss, juiceme, mosen

     
    rinigus | # 334 | 2020-05-18, 19:21 | Report

    Right now launching aarch64 doesn't work. There is issue https://github.com/flatpak/flatpak/issues/3548 and, in addition, we don't have hybris arm64 either.

    I did try to compile on older Pi, that was very slow. maybe new ones are better. i686 worked for me.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to rinigus For This Useful Post:
    Amboss, juiceme, olf

     
    woidboy | # 335 | 2020-05-19, 08:17 | Report

    Thanks for this information. Then, I'll try first to compile it on my Rasperry Pi.

    Actually, I've one more question. The application which I want to compile is a flight navigation app which needs access to GPS data. In order to check if there is GPS access within flatpak, I've installed your Puremaps application, the one which is available on flathub. Unfortunately, geolocation is not working for this app on my Xperia 10 with the official Sailfish OS. Is it possible to enable geolocation for flatpak apps? Do I just need to set the proper finish-args like, e.g., "--allow=geolocation"?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to woidboy For This Useful Post:
    Amboss, elvarr, juiceme, lal, mosen, rinigus

     
    rinigus | # 336 | 2020-05-19, 08:41 | Report

    Originally Posted by woidboy View Post
    Thanks for this information. Then, I'll try first to compile it on my Rasperry Pi.

    Actually, I've one more question. The application which I want to compile is a flight navigation app which needs access to GPS data. In order to check if there is GPS access within flatpak, I've installed your Puremaps application, the one which is available on flathub. Unfortunately, geolocation is not working for this app on my Xperia 10 with the official Sailfish OS. Is it possible to enable geolocation for flatpak apps? Do I just need to set the proper finish-args like, e.g., "--allow=geolocation"?
    Right now, GPS is not supported. As I have rather large amount of projects, I do not plan to work on it either. However, it is maybe possible to make it work if someone investigates the issues and, possibly, writes some code for it.

    Flatpak as of now, supports GeoClue2. SFOS is on Geoclue1 version, I think. So, somehow, you would have to figure out how to connect to geoclue1. For Geoclue2 permissions are as in https://github.com/flathub/io.github...eMaps.json#L18

    Also, you have to figure out how to make Qt ask geoclue1 for positioning. I would expect its all doable, but requires time investment and testing. Would be great if someone would pick it up.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to rinigus For This Useful Post:
    Amboss, elvarr, juiceme, lal, mosen

     
    coderus | # 337 | 2020-05-19, 09:23 | Report

    hi, i have bottom bar bug in angelfish on jtab: https://gist.github.com/CODeRUS/2b6d...93c5a3276e37a8
    https://youtu.be/2cUKZZtqrOQ

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to coderus For This Useful Post:
    Amboss, juiceme, mosen, Nekron, rinigus

     
    rinigus | # 338 | 2020-05-19, 09:34 | Report

    Originally Posted by coderus View Post
    hi, i have bottom bar bug in angelfish on jtab: https://gist.github.com/CODeRUS/2b6d...93c5a3276e37a8
    https://youtu.be/2cUKZZtqrOQ
    that was from the start on jtab, right?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to rinigus For This Useful Post:
    Amboss, juiceme, mosen

     
    coderus | # 339 | 2020-05-19, 09:56 | Report

    i dont remember exactly, but for a long time )

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to coderus For This Useful Post:
    Amboss, juiceme, rinigus

     
    woidboy | # 340 | 2020-05-19, 13:04 | Report

    Originally Posted by rinigus View Post
    Right now, GPS is not supported. As I have rather large amount of projects, I do not plan to work on it either. However, it is maybe possible to make it work if someone investigates the issues and, possibly, writes some code for it.

    Flatpak as of now, supports GeoClue2. SFOS is on Geoclue1 version, I think. So, somehow, you would have to figure out how to connect to geoclue1. For Geoclue2 permissions are as in https://github.com/flathub/io.github...eMaps.json#L18

    Also, you have to figure out how to make Qt ask geoclue1 for positioning. I would expect its all doable, but requires time investment and testing. Would be great if someone would pick it up.
    Thanks a lot!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to woidboy For This Useful Post:
    Amboss, juiceme, mosen, rinigus

     
    Page 34 of 44 | Prev | 24   32     33   34   35     36   | Next | Last
vBulletin® Version 3.8.8
Normal Logout