Add flatpak package #587
Replies: 7 comments 6 replies
-
Hey @muznyo, thank you for this suggestion! I agree with the idea - Our wish was to support as many Linux packaging mechanisms as possible, but at least support both Flatpak and AppImages. However, we ran into an issue when we tried integrating Flatpak into our build pipeline. What we found is that we could only get AppImages to reliably work with the automatic app update mechanism that we were using (We use Electron). We haven't looked since, it's been a while, maybe that issue has been fixed now though. And then there is another issue related to publishing to Flathub (https://www.electron.build/configuration/flatpak): Again, I'm sure if we dig deep enough we'll be able to find workarounds. But since functionally AppImages provided the baseline functionality, we let it be when we last looked, hoping to get back to this at a later point. We'll take another peek at this soon though. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I hope this goes through! Ente Auth is amazing! |
Beta Was this translation helpful? Give feedback.
-
I'd love ente auth and photos on flathub too! |
Beta Was this translation helpful? Give feedback.
-
I was trying to package Ente Auth as a flatpak but ran into a few errors that I'm not sure why are happening. If someone else more knowledge or the app developers are interested, maybe this could help. Manifest:id: auth.ente.io
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: ente_auth
finish-args:
- --device=dri
- --socket=fallback-x11
- --socket=wayland
- --socket=x11
- --share=network
- --socket=session-bus
modules:
- name: ente-auth
buildsystem: simple
build-commands:
- chmod +x ente-auth-*.AppImage
- ./ente-auth-*.AppImage --appimage-extract
- ls ./squashfs-root/usr
# - install -D ./squashfs-root/usr/share/icons/hicolor/128x128/apps/ente_auth.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
# - install -D ./squashfs-root/usr/share/icons/hicolor/256x256/apps/ente_auth.png /app/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
- mkdir -p ${FLATPAK_DEST}
- install -d "${FLATPAK_DEST}/lib"
- cp -r ./squashfs-root/lib/* "${FLATPAK_DEST}/lib/"
- cp -r ./squashfs-root/usr/lib/* "${FLATPAK_DEST}/lib/"
- install -d "${FLATPAK_DEST}/data"
- cp -r ./squashfs-root/data/* "${FLATPAK_DEST}/data/"
- install -D ./squashfs-root/ente_auth -t /app/bin
# - mv ./squashfs-root /app/bin
sources:
- type: file
url: https://github.com/ente-io/ente/releases/download/auth-v3.1.3/ente-auth-v3.1.3-x86_64.AppImage
sha256: 1de25049af644c9e27705d87af51c0435528ff0a89066a91444695ccebe13698
only-arches: [x86_64]
x-checker-data:
type: json
url: https://api.github.com/repos/ente-io/ente/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: .assets[] | select(.name|match("ente-auth-.*\\.AppImage")) |
.browser_download_url Build Command:
Error when launching with Wayland permission enabled
Error when launching with Wayland disabled (so XWayland gets used)
|
Beta Was this translation helpful? Give feedback.
-
Hi everyone! I'm excited to see that Ente Auth is now available on Flathub. Are there any plans to have Flatpak support for Ente Photos in the near future? Thank you! |
Beta Was this translation helpful? Give feedback.
-
Is an Ente Photo coming soon? |
Beta Was this translation helpful? Give feedback.
-
Hey, it's great news that Ente Auth it's on Flathub. I've seen that the latest release available to download from the release page is |
Beta Was this translation helpful? Give feedback.
-
AppImages are nice, but flatpaks are much better on Linux in my opinion. They are supported by repositories and sandboxed.
Here is a comparision
Beta Was this translation helpful? Give feedback.
All reactions