Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flatpak? #17

Open
poperigby opened this issue Jun 4, 2021 · 11 comments
Open

Flatpak? #17

poperigby opened this issue Jun 4, 2021 · 11 comments
Labels
enhancement New feature or request platform:linux

Comments

@poperigby
Copy link

Feature/enhancement description:

It would definitely be useful to have this to make Linux distribution easier. There's a Godot runtime that can be used, but I was having some trouble getting it set up as there is no documentation yet.

@poperigby poperigby added the enhancement New feature or request label Jun 4, 2021
@mbrlabs
Copy link
Owner

mbrlabs commented Jun 4, 2021

I'm mostly using Windows these days so that's not really relevant to me. Godot programs are already pretty easy to distribute anyway. But i understand that flatpak install/update lorien is pretty convenient.

I'm gonna leave this open, maybe someone wants to tackle it.

@poperigby
Copy link
Author

I'll try to figure it out.

@SkyeNygaard
Copy link

Did you ever figure this out? I would be willing to take a look as well

@marknefedov
Copy link

https://github.com/markusgod/flathub/tree/new-pr I've put together files needed for submission, but as per https://github.com/flathub/flathub/wiki/App-Maintenance#acceptable-but-should-be-submitted-upstream= metadata files (desktop and appdata) should be upstreamed, and I won't be able to properly maintain flathub, so if somebody wants to help, please go ahead.

@jn64
Copy link

jn64 commented Jun 12, 2022

This is my desktop file, in case it's of use to anyone.

@tinywrkb
Copy link

Here's an initial Flatpak packaging.
This is pretty much ready for Flathub publishing, except for a higher resolution icon. IIRC Flathub requires at least 128x128px icon.
I'm not running a desktop environment, so I have no idea if the mimetype association displays the app's icon.
If no one else is willing to publish and maintain the app, then I wouldn't mind stepping forward, but note that I don't use it, and my current Stylus solution for Linux, Apple Pencil + Weylus, doesn't work well for ATM.

@jn64
Copy link

jn64 commented Jun 13, 2022

What is a Lorien file called? A Lorien canvas/whiteboard/drawing/notebook?

@tinywrkb mimetype icon must be explicitly provided since an app icon is not always suitable to represent its files. At least, this is according to shared mime info spec and works on current GNOME/Nautilus. Either:

  1. Name the icon according to the mimetype, with / replaced by -. e.g. the icon for application/lorien would go in /usr/share/icons/Adwaita/scalable/mimetypes/application-lorien.svg. No need to specify in the xml file.
  2. Or, set a different name in the xml file:
    <mime-type type="application/lorien">
    ...
      <icon name="com.github.mbrlabs.Lorien"/>
    </mime-type>
    Then it could reuse the app icon at /usr/share/icons/Adwaita/scalable/apps/com.github.mbrlabs.Lorien.svg (or it could point to a different file of course).

The paths are not necessarily /usr/share/..., could be wherever the DE looks for icons, incl home directory and Flatpak exports. And also could be specific sizes instead of scalable, and png or whatever format. For Nautilus it must be in the active icon theme (Adwaita by default) and doesn't fallback to hicolor. Don't know about other DEs/file managers or Flatpak packaging.

Demonstration of Lorien mimetype icon in GNOME Nautilus file manager

@mbrlabs
Copy link
Owner

mbrlabs commented Jun 13, 2022

What is a Lorien file called?

Lorien Canvas sounds good to me.

IIRC Flathub requires at least 128x128px icon

I also just added an svg version of the Logo, in case you need it (since the source file is an Affinity Designer file, which you might not have): https://github.com/mbrlabs/Lorien/blob/main/images/lorien.svg

@jn64
Copy link

jn64 commented Jun 14, 2022

I also just added an svg version of the Logo

The svg has a large viewBox which makes the icon appear very small.

@mbrlabs
Copy link
Owner

mbrlabs commented Jun 14, 2022

@jn64 fixed

@tonybolzan
Copy link

@poperigby and @mbrlabs I built a Snap version of Lorien

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request platform:linux
Projects
None yet
Development

No branches or pull requests

7 participants