mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-30 11:25:47 +00:00
build: Require glib >= 2.56
There are a few uses of g_autoslist in the qemu driver and likely more will come throughout the codebase in the future. g_autoslist first appeared in glib 2.56, so bump the minimum version https://developer.gnome.org/glib/stable/glib-Miscellaneous-Macros.html#g-autoslist Bumping the minimum version is an opportune time to update the list of minimum glib versions found on the distros targeted by libvirt's platform support policy RHEL-7: 2.56.1 RHEL-8: 2.56.4 Debian (Buster): 2.58.3 OpenBSD (Ports): 2.66.7 FreeBSD (Ports): 2.66.7 openSUSE Leap 15.2, SLE15-SP2: 2.62.6 Ubuntu (Bionic): 2.56.1 macOS (Homebrew): 2.66.7 Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
78cffd450a
commit
9386eadad4
@ -278,7 +278,7 @@ BuildRequires: systemd-units
|
|||||||
%if %{with_libxl}
|
%if %{with_libxl}
|
||||||
BuildRequires: xen-devel
|
BuildRequires: xen-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: glib2-devel >= 2.48
|
BuildRequires: glib2-devel >= 2.56
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
|
@ -1038,7 +1038,7 @@ if fuse_dep.found()
|
|||||||
conf.set('WITH_FUSE', 1)
|
conf.set('WITH_FUSE', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
glib_version = '2.48.0'
|
glib_version = '2.56.0'
|
||||||
glib_dep = dependency('glib-2.0', version: '>=' + glib_version)
|
glib_dep = dependency('glib-2.0', version: '>=' + glib_version)
|
||||||
gobject_dep = dependency('gobject-2.0', version: '>=' + glib_version)
|
gobject_dep = dependency('gobject-2.0', version: '>=' + glib_version)
|
||||||
if host_machine.system() == 'windows'
|
if host_machine.system() == 'windows'
|
||||||
|
Loading…
Reference in New Issue
Block a user