docs icon indicating copy to clipboard operation
docs copied to clipboard

gsettings schema install with flatpak

Open aral opened this issue 4 years ago • 2 comments

In the State Saving section, you’re instructed to use ninja install to ensure that the settings schema is installed and compiled.

Given you can’t do that with a flatpak install, would it make sense to include a link here to the equivalent flatpak configuration instructions?

(I’m assuming something like this? https://github.com/flathub/org.gnome.Mahjongg/pull/10/commits/7ae0aa0960317c86f9186af3147f5ff29415e485)

aral avatar Aug 22 '21 17:08 aral

I believe this is already handled by the build system in the Flatpak packaging process; are you seeing otherwise? If you're developing "natively" e.g. not building with Flatpak every time, then you do need to ensure the settings schema is installed natively as well, and ninja would be the way to do that. Perhaps it's a matter of cleaning up language around when to use ninja and when to use flatpak-builder for development.

cassidyjames avatar Aug 23 '21 18:08 cassidyjames

Perhaps it's a matter of cleaning up language around when to use ninja and when to use flatpak-builder for development.

Yeah, I think this would help newcomers (it would have helped me a few weeks ago) :)

aral avatar Sep 15 '21 11:09 aral