OpenSeeFace icon indicating copy to clipboard operation
OpenSeeFace copied to clipboard

[SUGGESTION] officially support OpenSeeFace as a flatpak

Open orowith2os opened this issue 1 year ago • 8 comments

I am currently in the process of writing a Flatpak for OpenSeeFace, and have already gotten vpuppr (formerly openseefacegd) to work as a flatpak. I think it would be beneficial for OpenSeeFace to officially support being ran as a flatpak, as it allows for one command to install (literally just flatpak install) and it wouldn't break on system python upgrades. This would probably only be beneficial to Linux, and maybe any other UNIX-like OSes.

orowith2os avatar Jul 20 '22 23:07 orowith2os

I have never used anything flatpak related. What would be required to support this?

emilianavt avatar Jul 20 '22 23:07 emilianavt

Pretty much, all you'd need to support it is say "replace python facetracker.py for flatpak run osfflatpakhere" when I have the flatpak finished up.

orowith2os avatar Jul 20 '22 23:07 orowith2os

Making progress. When I get the pip dependencies to install inside of the environment, it'll be ready to use. image

orowith2os avatar Jul 21 '22 00:07 orowith2os

What I meant is, would all that would be needed to include some control file like with e.g. poetry, or would I also have to make some kind of additional builds to upload when releasing new versions?

emilianavt avatar Jul 21 '22 09:07 emilianavt

It seems to be able to just build using the method of release you're doing now, so no extra work needs to be done. To build the flatpak, just modify the manifest to change the archive (or git commit) to build from and it'll build whatever you tell it to with little to no issue.

orowith2os avatar Jul 21 '22 12:07 orowith2os

Thank you, that sounds good then.

emilianavt avatar Jul 21 '22 12:07 emilianavt

Still not done, waiting on some bug fixes in the flatpak-builder tools. I'll take another look at using prebuilt binaries though.

orowith2os avatar Apr 22 '23 03:04 orowith2os

Oh, if you're still working on it, I'll keep the issue open!

emilianavt avatar Apr 22 '23 10:04 emilianavt