Bug 445050 - Feature Request: Also distribute KMyMoney via Flatpak, Flathub
Summary: Feature Request: Also distribute KMyMoney via Flatpak, Flathub
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: packaging (show other bugs)
Version: unspecified
Platform: Flatpak Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-06 00:50 UTC by Snarfel
Modified: 2023-07-27 01:08 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Snarfel 2021-11-06 00:50:52 UTC
"Flatpak is the primary way that apps can be installed on [Fedora] Silverblue [and Fedora Kinoite]" (Fedora Docs). If KMyMoney could be distributed as a Flatpak and the manifest pushed to Flathub to ease installs of it on Fedora systems (as well as other distros given the nature of Flatpaks) it would be very much appreciated.

It's worth noting that Skrooge, the single entry equivalent, is already set up to do so: https://flathub.org/apps/details/org.kde.skrooge
Comment 1 ChrisR 2023-06-04 20:52:17 UTC
KMyMoney has also just been requested on the Flatpak discourse: https://discourse.flathub.org/t/kmymoney-flatpak-request/4375 .
Comment 2 Jack 2023-06-04 23:48:41 UTC
See also https://invent.kde.org/office/kmymoney/-/issues/59.  I don't think anybody is against this, but unless someone steps up to do the work, it is not likely to happen.
Comment 3 Thomas Baumgart 2023-06-06 11:29:48 UTC
It's not only the initial setup work, but also maintenance. Given the trouble we lately have with AppImages and Windows builds we don't need yet another can of worms. We can assure though, that any volunteer who wants to develop and maintain a Flatpak package has our full support in doing so.
Comment 4 Justin Zobel 2023-07-19 13:16:31 UTC
The KDE Flatpak team should be able to add this to our list to maintain it easily enough.
Comment 5 Matthias Mailänder 2023-07-20 17:25:32 UTC
I submitted https://github.com/flathub/flathub/pull/4337 ready for review.
Comment 6 Jack 2023-07-21 17:09:24 UTC
I'm not a flatpak user, so I don't know if this issue is a general flatpak issue, or specific to this build.  When I run KMyMoney from flatpak, I am able to create a new .kmy file, and find it again on later runs, but I can't find that file in the "regular" filesystem, nor can I see any already existing files when running KMM through flatpak.  For a full test, I'd like to be able to access my regular data file (or at least a copy of it.)
Comment 7 Matthias Mailänder 2023-07-21 17:19:06 UTC
When I tested it, I noticed that it already uses Flatpak Portals, so I could access the file system by default. https://wiki.archlinux.org/title/XDG_Desktop_Portal

If this does not work for you, try enabling xdg-documents which I would call least privilege in this case https://docs.flatpak.org/en/latest/sandbox-permissions-reference.html
Comment 8 Jack 2023-07-21 17:59:49 UTC
While I try getting the portal set up, I just ran it again, and no longer see the data file I created a half hour ago.  Are files within the flatpak sandbox supposed to be ephemeral?  Is this something I should ask on a flatpak support list/site?
Comment 9 Jack 2023-07-21 18:07:43 UTC
Never mind.  Some local installs and a reboot got me access.  I'll worry about those ephemeral files later.  Not relevant here.  I'll do some testing and report back.
Comment 10 Jack 2023-07-21 18:21:52 UTC
Testing under both Xorg and Wayland seems OK.  The testing wasn't very deep, but I think I covered most major activities and screens.  I am assuming my problems with file access are flatpak issues having nothing to do with this build.
Comment 11 Jack 2023-07-21 23:05:30 UTC
Link to https://invent.kde.org/office/kmymoney/-/issues/59 (Invent Issue requesting Flatpak for KMyMoney)
Comment 12 Michael Carpino 2023-07-26 22:41:36 UTC
https://flathub.org/apps/org.kde.kmymoney
Comment 13 Justin Zobel 2023-07-27 01:08:46 UTC
Now in Flathub