Insomnia: [Feature Request] Provide a Flatpak as software package โ€” for Linux systems

Created on 20 May 2018  ยท  10Comments  ยท  Source: Kong/insomnia

Flatpak is a technology for building, distributing, installing and running applications โ€“ primarily targeted at the Linux desktop and desktop applications.

I use Arch Linux, and while there is an "official" package for Insomnia (though I don't use AUR), it would be awesome to have the option to install it via a Flatpak.

Most helpful comment

Can this issue be reopened? The PR https://github.com/flathub/flathub/pull/504 was closed and Insomnia is _not_ packaged as a Flatpak. It would be really great if it could be.

All 10 comments

๐Ÿ‘‹ Thanks for opening your first issue! If you're reporting a ๐Ÿž bug, please make sure
you include steps to reproduce it. If you're requesting a feature ๐ŸŽ, please provide real
use cases that would benefit. ๐Ÿ‘ช

To help make this a smooth process, please be sure you have first read the
contributing guidelines.

Here is some further context as you provide already a Snap and AppImage of Insomnia:
On ArchLinux Flatpak is a first-class application distribution method officially supported by the maintainers (you can install the Flatpak packages from the official repositories). Like Insomnia, AppImage and Snap have to be installed from AUR and some users prefer to keep the list of AUR to a minimum (there are no automatic updates unless you fiddle with AUR helpers).
Having Insomnia packaged as Flatpak (e.g. on flathub.org) will allow easy installation and updates for Arch Linux and also other distributions like Fedora or RHEL.

This is probably affected by bundler used in this project which not provide Flatpak support at the moment.
I am not sure what will be best option here. Provide support for Flatpak on electron-builder by new plugin or provide dedicated Flatpak package? The question is electon-builder allows us to create first class integration with Flathub?

I just created Flathub package:
https://github.com/flathub/flathub/pull/504
We can close this issue probably.

Pull Request for Insomnia here.

Omg this is awesome @baszczewski!

@gschier
My pull request was just reviewed and new some actions. So I have few questions here:

  • Are you interested in future maintenance of this package or at least to gain access to write on Flathub repository?
  • To finish this package I have to provide at least two additional files. App manifest (.xml) where you can provide some descriptions and details about yours application and desktop file (.desktop) important for DE. Do you have preferred place for that? What you say about appdata or xdg directory on top of this repository? You have screenshots there already so I think this is nice place.

It would be nice if this can move forward. The AppImage doesn't work anymore in my system. It's throwing this error: Aug 19 15:24:52 uplink org.gnome.Nautilus[989]: /tmp/.mount_insomn8plZ5p/app/insomnia: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory.

Looks like it doesn't bundle GTK2+ libraries:

Aug 19 15:24:52 uplink org.gnome.Nautilus[989]: /tmp/.mount_insomn8plZ5p/app/insomnia: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Aug 19 15:24:52 uplink nautilus[11501]: gdkselection-wayland.c:261: error reading selection buffer: Operation was cancelled
Aug 19 15:24:52 uplink gnome-shell[1022]: Object Meta.WindowActor (0x56362bb18be0), has been already finalized. Impossible to get any property from it.

Can this issue be reopened? The PR https://github.com/flathub/flathub/pull/504 was closed and Insomnia is _not_ packaged as a Flatpak. It would be really great if it could be.

Hi,
I'm also a user of Flatpak and Insomnia is still not available as a package.
What is the state of the process ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Fyb3roptik picture Fyb3roptik  ยท  4Comments

Natfan picture Natfan  ยท  3Comments

tmaiaroto picture tmaiaroto  ยท  4Comments

chrisvis picture chrisvis  ยท  4Comments

dextermb picture dextermb  ยท  3Comments