GNOME Bugzilla – Bug 779669
Meson doesn't run glib-compile-schemas
Last modified: 2017-03-10 22:37:01 UTC
Seems it's done by jhbuild. I wonder whether it should be done by meson. I was doing an app locally with meson and I integrated it with it in the past, and it's extremely convenient even for non-jhbuild builds.
Created attachment 347368 [details] [review] meson: compile gschemas after installing As some users or developers might choose to install repo builds, they would also have to compile the installed GSettings schema manually. This commit adds a script that does that post-install.
Created attachment 347369 [details] [review] meson: move scripts to a directory This commit moves scripts used in Meson to a separate directory to declutter the root directory.
Review of attachment 347368 [details] [review]: ::: meson.build @@ +130,3 @@ endif + +meson.add_install_script ('post_install.sh') I think you can call it compile_schemas.sh since is more descriptive and we don't have anything else to go in the post install phase. Also, can you add the comment inside the script on top of this line instead?
Review of attachment 347369 [details] [review]: can you rename the folder to build-scripts? We have more scripts than just those two (uncrustify, etc)
Created attachment 347480 [details] [review] meson: compile gschemas after installing As some users or developers might choose to install repo builds, they would also have to compile the installed GSettings schema manually. This commit adds a script that does that post-install.
Created attachment 347481 [details] [review] meson: move scripts to a directory This commit moves scripts used in Meson to a separate directory to declutter the root directory.
Review of attachment 347480 [details] [review]: LGTM thanks!
Review of attachment 347481 [details] [review]: +1
Attachment 347480 [details] pushed as 9419c26 - meson: compile gschemas after installing Attachment 347481 [details] pushed as f72f5f3 - meson: move scripts to a directory