Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Flatpak on Sailfish OS

    Reply
    Page 33 of 44 | Prev | 23   31     32   33   34     35   43 | Next | Last
    Nekron | # 321 | 2020-04-29, 07:27 | Report

    Originally Posted by rinigus View Post
    Flatpak 1.6.3 is out, not tested much so far. Those who wish to test can update, others should wait and see if there will be any complaints.
    Thanks for the fast update! I installed it yesterday on X and XA2 but found no issues on both devices after the upgrade. I would say that it's safe to install the new flatpak base.

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

     
    Pim | # 322 | 2020-04-30, 17:27 | Report

    What do you think of the comment on the Sailfish blog:

    "at we do not see FlatPak as the selected Sailfish OS application bundling framework, mainly due to its high resource usage."

    https://blog.jolla.com/sailfish-os-r...now-available/

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

     
    rinigus | # 323 | 2020-04-30, 17:49 | Report

    Originally Posted by Pim View Post
    What do you think of the comment on the Sailfish blog:

    "at we do not see FlatPak as the selected Sailfish OS application bundling framework, mainly due to its high resource usage."

    https://blog.jolla.com/sailfish-os-r...now-available/
    Its absolutely correct. I think it is in the context of making Flatpak apps running Silica/Sailfish stack. As developed here, though, it brings functionality that is not available to SFOS, such as latest Qt and interoperability with other mobile Linux distros out there. A bit kind of Android emulation on SFOS, except you work with apps that are developed closer in terms of API (assuming that its Qt/QML) to what we have on SFOS.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 8 Users Say Thank You to rinigus For This Useful Post:
    Amboss, Jedibeeftrix, juiceme, ljo, mosen, Nekron, Pim, taixzo

     
    vaskas | # 324 | 2020-05-04, 04:04 | Report

    Hi guys, sorry for the offtopic. I'm curious in what is involved in having a maliit keyboard pop-up plugin responding to Xwayland (e.g. in https://github.com/elros34/sailfish_ubu_chroot) similar to how it's used in flatpak-runner. And what are your views on adopting Xwayland for the applications that can't be used through the current Flatpak setup (e.g. Firefox)?

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

     
    rinigus | # 325 | 2020-05-04, 06:54 | Report

    Re Maliit: Maliit plugin has been adjusted to respond to the info provided by Flatpak Runner (screen orientation and such). For that to work, you have to incorporate Maliit plugin into chroot and adjust Xwindows server to communicate with it.

    Maliit plugin has been adjusted as described in my commits at https://github.com/sailfishos-flatpa...ommits/flatpak .

    Flatpak Runner code is in https://github.com/sailfishos-flatpa...ree/master/src, mainly dbuscontainerstate.{cpp,hpp} and https://github.com/sailfishos-flatpa...runner.cpp#L67


    Re Firefox: I don't know how well Maliit supports Gtk apps. As we don't have them running, never looked into it. So, that will have to be investigated and maybe fixed.

    As always with such projects, someone has to do it. To be clear, I am not planning to work on it as I have other projects as a priority. So, you either have to do it yourself or find someone to do it.

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

     
    rinigus | # 326 | 2020-05-06, 20:08 | Report

    I have recompiled Flatpak using SFOS 3.3.0.x provided libseccomp and json-glib. This build is available through usual Flatpak distribution channel at OBS.

    For devices on SFOS 3.2.1.20 (Sony Xperia Tama and maybe some others), until the update is ready, use https://build.merproject.org/project...atpak:3.2.1.20 . The latter project will disappear once we all update to SFOS 3.3.0.16 as it is not needed in future.

    I expect that on SFOS 3.3.0.x, install should be clean and there are no conflicts with Jolla's json-glib. I hope it will automatically uninstall json-glib from my repo when you update Flatpak, but haven't tested it.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 11 Users Say Thank You to rinigus For This Useful Post:
    ajalkane, Amboss, elvarr, eson, juiceme, juz, Kalatti, MartinK, mosen, Nekron, olf

     
    Nekron | # 327 | 2020-05-07, 07:38 | Report

    Originally Posted by rinigus View Post
    I expect that on SFOS 3.3.0.x, install should be clean and there are no conflicts with Jolla's json-glib. I hope it will automatically uninstall json-glib from my repo when you update Flatpak, but haven't tested it.
    This looks good

    Code:
    The following packages have to be installed:
     flatpak-1.6.3.0-1.23.4.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.3.0-1.23.4.jolla.armv7hl    User D-Bus service used by flatpak and others
     libappstream-glib-0.7.15.1-1.14.1.jolla.armv7hl        Library for AppStream metadata
     ostree-libs-2019.6-1.14.2.jolla.armv7hl        Development headers for ostree
     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.8.jolla.armv7hl  Portal frontend service to flatpak
    Proceed with changes? [N/y] y
    
    
    Updating packages
    Downloading packages
    Installing packages
    Finished
     [nemo@Sailfish ~]$ devel-su pkcon search libjson-glib
    Password:
    Searching by details
    Querying
    Finished
     Installed      libjson-glib-1.4.4-1.2.1.jolla.armv7hl (installed)              Library for JavaScript Object Notation format
    [nemo@Sailfish ~]$

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

     
    Nekron | # 328 | 2020-05-07, 07:45 | Report

    Originally Posted by Nekron View Post
    This looks good

    Code:
    The following packages have to be installed:
     flatpak-1.6.3.0-1.23.4.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.3.0-1.23.4.jolla.armv7hl    User D-Bus service used by flatpak and others
     libappstream-glib-0.7.15.1-1.14.1.jolla.armv7hl        Library for AppStream metadata
     ostree-libs-2019.6-1.14.2.jolla.armv7hl        Development headers for ostree
     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.8.jolla.armv7hl  Portal frontend service to flatpak
    Proceed with changes? [N/y] y
    
    
    Updating packages
    Downloading packages
    Installing packages
    Finished
     [nemo@Sailfish ~]$ devel-su pkcon search libjson-glib
    Password:
    Searching by details
    Querying
    Finished
     Installed      libjson-glib-1.4.4-1.2.1.jolla.armv7hl (installed)              Library for JavaScript Object Notation format
    [nemo@Sailfish ~]$
    Sorry! I just double checked it and there seems to be a difference even if pkcon reports installation of the Jolla-based json-glib package.

    Code:
    [nemo@Sailfish ~]$ ls -l /usr/lib/libjson-glib-1.0.so.0.400.4
    -rwxr-xr-x    1 root     root        108032 Jan  5 09:37 /usr/lib/libjson-glib-1.0.so.0.400.4
    [nemo@Sailfish ~]$ devel-su pkcon install libjson-glib
    Password:
    Resolving
    Testing changes
    Finished                                                                 [                                    ] (0%)
    The following packages have to be installed:
     libjson-glib-1.4.4-1.2.1.jolla.armv7hl Library for JavaScript Object Notation format
    Proceed with changes? [N/y] y
    
    
    Installing
    Waiting for authentication
    Querying
    Installing packages
    Downloading packages
    Installing packages
    Finished
    [nemo@Sailfish ~]$ ls -l /usr/lib/libjson-glib-1.0.so.0.400.4
    -rwxr-xr-x    1 root     root        107988 Mar 27 08:25 /usr/lib/libjson-glib-1.0.so.0.400.4
    [nemo@Sailfish ~]$
    See the difference in filedate + size after re-installation of the Jolla-based package.

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

     
    mosen | # 329 | 2020-05-07, 07:46 | Report

    Went as expected on 3.3.0.16 Proš.

    Code:
    Checking for file conflicts: ..............................................................[error]
    Detected 1 file conflict:
    
    File /usr/lib/libjson-glib-1.0.so.0.400.4
      from install of
         libjson-glib-1.4.4-1.2.1.jolla.armv7hl (jolla)
      conflicts with file from package
         json-glib-1.4.4-1.8.2.jolla.armv7hl (@System)
    
    File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
    Continue? [yes/no] (no): yes

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

     
    magic cucumber | # 330 | 2020-05-11, 15:03 | Report

    Originally Posted by rinigus View Post
    For devices on SFOS 3.2.1.20 (Sony Xperia Tama and maybe
    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

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

     
    Page 33 of 44 | Prev | 23   31     32   33   34     35   43 | Next | Last
vBulletin® Version 3.8.8
Normal Logout