From 1af4eeca0051e0c4c041aad0005a08d5616965ed Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Fri, 8 Mar 2024 10:30:26 -0800 Subject: libvirt-glib: update 4.0.0 -> 5.0.0 5.0.0 - Nov 28, 2023 ==================== - Fix compatiblity with libxml2 >= 2.12.0 - Bump min libvirt version to 2.3.0 - Bump min meson to 0.56.0 - Require use of GCC >= 4.8 / CLang > 3.4 / XCode CLang > 5.1 - Mark USB disks as removable by default - Add support for audio device backend config - Add support for DBus graphics backend config - Add support for controlling firmware feature flags - Improve compiler flag handling in meson - Extend library version script handling to FreeBSD - Fix pointer sign issue in capabilities config API - Fix compat with gnome.mkenums() in Meson 0.60.0 - Avoid compiler warnings from gi-ir-scanner generated code by not setting glib version constraints - Be more robust about NULL GError parameters - Disable unimportant cast alignment compiler warnings - Use 'pragma once' in all header files - Updated translations This fixes build after libxml update: ../git/libvirt-gconfig/libvirt-gconfig-object.c:200:37: error: passing argument 2 of 'xmlSetStructuredErrorFunc' from incompatible pointer type [-Werror=incompatible-pointer-types] 200 | xmlSetStructuredErrorFunc(NULL, gvir_xml_structured_error_nop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /home/flk/poky/build/tmp/work/corei7-64-poky-linux/libvirt-glib/4.0.0/recipe-sysroot/usr/include/libxml2/libxml/relaxng.h:14, Signed-off-by: Markus Volk Signed-off-by: Bruce Ashfield --- recipes-extended/libvirt/libvirt-glib_4.0.0.bb | 21 --------------------- recipes-extended/libvirt/libvirt-glib_5.0.0.bb | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 recipes-extended/libvirt/libvirt-glib_4.0.0.bb create mode 100644 recipes-extended/libvirt/libvirt-glib_5.0.0.bb diff --git a/recipes-extended/libvirt/libvirt-glib_4.0.0.bb b/recipes-extended/libvirt/libvirt-glib_4.0.0.bb deleted file mode 100644 index 7ca65a95..00000000 --- a/recipes-extended/libvirt/libvirt-glib_4.0.0.bb +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "A toolkit to interact with the virtualization capabilities of recent versions of Linux." -HOMEPAGE = "http://libvirt.org" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" - -DEPENDS = "glib-2.0 libvirt libxml2 libxslt" - -SRC_URI = " \ - git://gitlab.com/libvirt/libvirt-glib;protocol=https;branch=master \ - file://0001-meson.build-allow-crosscompiling-gir-and-doc.patch \ -" - -SRCREV = "e0bfc34682744a74b850fa217e9c206a9eb80612" -S = "${WORKDIR}/git" - -inherit meson pkgconfig gobject-introspection gettext vala gtk-doc - -GIR_MESON_ENABLE_FLAG = 'enabled' -GIR_MESON_DISABLE_FLAG = 'disabled' -GTKDOC_MESON_ENABLE_FLAG = 'enabled' -GTKDOC_MESON_DISABLE_FLAG = 'disabled' diff --git a/recipes-extended/libvirt/libvirt-glib_5.0.0.bb b/recipes-extended/libvirt/libvirt-glib_5.0.0.bb new file mode 100644 index 00000000..4435ca0b --- /dev/null +++ b/recipes-extended/libvirt/libvirt-glib_5.0.0.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "A toolkit to interact with the virtualization capabilities of recent versions of Linux." +HOMEPAGE = "http://libvirt.org" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +DEPENDS = "glib-2.0 libvirt libxml2 libxslt" + +SRC_URI = " \ + git://gitlab.com/libvirt/libvirt-glib;protocol=https;branch=master \ + file://0001-meson.build-allow-crosscompiling-gir-and-doc.patch \ +" + +SRCREV = "9b26bec8828a38fcb3bc0e5f6f33b03fa99c4b68" +S = "${WORKDIR}/git" + +inherit meson pkgconfig gobject-introspection gettext vala gtk-doc + +GIR_MESON_ENABLE_FLAG = 'enabled' +GIR_MESON_DISABLE_FLAG = 'disabled' +GTKDOC_MESON_ENABLE_FLAG = 'enabled' +GTKDOC_MESON_DISABLE_FLAG = 'disabled' -- cgit v1.2.3-54-g00ecf