build: Move gvdb to a subproject

Rather than carrying the copylib around inside GLib, which is a pain to
synchronise and affects our code coverage statistics.

This requires updating the CI images to cache the new subproject,
including updating the `cache-subprojects.sh` script to pull in git
submodules.

It also requires adding `gioenumtypes_dep` to be added to the
dependencies list of `libgio`, since it needs to be build before GVDB as
it’s pulled in by the GIO headers which GVDB includes.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Helps: #2603
This commit is contained in:
Philip Withnall
2022-06-07 18:11:32 +01:00
parent d7c3b0fbf2
commit b3f49d08a6
15 changed files with 29 additions and 1670 deletions

View File

@@ -10,10 +10,10 @@ cache:
- _ccache/
variables:
FEDORA_IMAGE: "registry.gitlab.gnome.org/gnome/glib/fedora:v15"
COVERITY_IMAGE: "registry.gitlab.gnome.org/gnome/glib/coverity:v4"
DEBIAN_IMAGE: "registry.gitlab.gnome.org/gnome/glib/debian-stable:v10"
MINGW_IMAGE: "registry.gitlab.gnome.org/gnome/glib/mingw:v6"
FEDORA_IMAGE: "registry.gitlab.gnome.org/gnome/glib/fedora:v16"
COVERITY_IMAGE: "registry.gitlab.gnome.org/gnome/glib/coverity:v5"
DEBIAN_IMAGE: "registry.gitlab.gnome.org/gnome/glib/debian-stable:v11"
MINGW_IMAGE: "registry.gitlab.gnome.org/gnome/glib/mingw:v7"
MESON_TEST_TIMEOUT_MULTIPLIER: 2
G_MESSAGES_DEBUG: all
MESON_COMMON_OPTIONS: "--buildtype debug --wrap-mode=nodownload --fatal-meson-warnings"