Lorien icon indicating copy to clipboard operation
Lorien copied to clipboard

Flatpak?

Open poperigby opened this issue 4 years ago • 11 comments

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 avatar Jun 04 '21 17:06 poperigby

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.

mbrlabs avatar Jun 04 '21 17:06 mbrlabs

I'll try to figure it out.

poperigby avatar Jun 04 '21 18:06 poperigby

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

SkyeNygaard avatar Dec 03 '21 18:12 SkyeNygaard

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.

marknefedov avatar Jun 05 '22 18:06 marknefedov

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

jn64 avatar Jun 12 '22 16:06 jn64

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.

tinywrkb avatar Jun 13 '22 14:06 tinywrkb

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

jn64 avatar Jun 13 '22 18:06 jn64

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

mbrlabs avatar Jun 13 '22 18:06 mbrlabs

I also just added an svg version of the Logo

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

jn64 avatar Jun 14 '22 07:06 jn64

@jn64 fixed

mbrlabs avatar Jun 14 '22 12:06 mbrlabs

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

  • https://github.com/mbrlabs/Lorien/issues/171

tonybolzan avatar Jun 30 '22 06:06 tonybolzan