GNOME Bugzilla – Bug 779603
Meson build fails on Debian build servers
Last modified: 2017-03-10 22:37:01 UTC
Some build servers don’t have git installed, which makes the tarball build fail when trying to update the libgd submodule.
Created attachment 347253 [details] [review] meson: update submodule only if git is installed
Created attachment 347278 [details] [review] meson: update submodule only if it doesn’t exist Some build servers don’t have git installed, which makes the tarball build fail when trying to update the libgd submodule. This commit adds a check for the existence of the root meson.build of libgd before running git.
So I heard you like scripts. :)
Review of attachment 347278 [details] [review]: :( more scripts... but yeah I think is the way to go. Feel free to commit after this change: ::: meson.build @@ -103,3 @@ subdir ('libnautilus-extension') -message ('Updating libgd submodule…') I like the message. Change it to "checking libgd..." or so)
Created attachment 347322 [details] [review] meson: update submodule only if it doesn’t exist Some build servers don’t have git installed, which makes the tarball build fail when trying to update the libgd submodule. This commit adds a check for the existence of the root meson.build of libgd before running git.
Attachment 347322 [details] pushed as dc57c21 - meson: update submodule only if it doesn’t exist