Replies: 6 comments 20 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Making some good progress on the local build to produce the single file
Still in my own forks though, though the first PRs are in the making. I've got a little demo app here: https://github.com/Beanow/hi-flatpak |
Beta Was this translation helpful? Give feedback.
-
Hi all, I'm currently trying to package https://elk.zone as Flatpak so maybe I can share some insights on the preferred workflow for that. Already Flatpak'ed Tauri AppsFWIW, some people already successfully packaged Tauri apps:
Flatpak Manifests vs. Flatpak BundlesGenerally, though, publishing a Flatpak usually does not mean to provide a downloaded .flatpak (a so-called bundle) but to provide a recipe that allows for (reproducible?) builds of said file. This recipe comes in form of a YAML or JSON manifest to be fed into While being able to use Creating Manifests
ReferencesAdditionally, it'd be also interesting on how GNOME Builder does that. From what I can gather (e.g., from here), it simply
I'm not sure which way is easier to implement though. Blockers / ProblemsWhile packaging elk.zone I discovered in cooperation with @JonasKruckenberg that currently we have the dependency chain Unfortunately these work only with the Rust SDK from 21.08 which ships a too old cargo to work with Rusts workspaces feature. I have to investigate whether the above mentioned Flatpaks workaround this or simply use an older Tauri version that doesn't make use of workspaces. |
Beta Was this translation helpful? Give feedback.
-
FWIW, the GNOME 42 SDK is not supported anymore:
So it would be great for Tauri to support newer WebkitGTK so we could use supported runtimes, which would also bring newer versions of Rust for application developers to use (see flathub/io.github.neil_morrison44.pocket-sync#54). Should I file a separate issue about this? |
Beta Was this translation helpful? Give feedback.
-
Hi there :D I really like this idea: #4426 (reply in thread). As far as I know, GitHub Actions are just like docker containers, right? I tried building a flatpak for my simple tauri app based on this freedesktop runtime, with this .deb approach. Building and installing works, but this currently fails at runtime because there is a hardcoded path to webkitgtk that I cant link to the correct path. So the gnome runtime would probably be the better pick for this case. My idea would be to require the developers to build their .deb in the container image of the gnome runtime, and use this .deb package to build a flatpak with the same runtime.
|
Beta Was this translation helpful? Give feedback.
-
I opened a pull request which adds a docs page for this: tauri-apps/tauri-docs#1760 |
Beta Was this translation helpful? Give feedback.
-
Moving discussion from #3619 to brainstorm about how we should build/publish Flatpaks.
Beta Was this translation helpful? Give feedback.
All reactions