libvirt-glib: fix introspection and documentation build
A message that is not in the archive (sent off-list or not yet received): [email protected]
v2 removes the unneeded dependency on libxslt
Quoted 98 lines · Markus Volk
Signed-off-by Markus Volk <[email protected] <mailto:[email protected]>>--- ...ild-allow-crosscompiling-gir-and-doc.patch | 37 +++++++++++++++++++ .../libvirt/libvirt-glib_4.0.0.bb | 13 +++++-- 2 files changed, 47 insertions(+), 3 deletions(-) create mode 100644
recipes-extended/libvirt/libvirt-glib/0001-meson.build-allow-crosscompiling-gir-and-doc.patch(quoted diff) +0
-0
b/recipes-extended/libvirt/libvirt-glib/0001-meson.build-allow-crosscompiling-gir-and-doc.patch(quoted diff) +1
-0@@ -0,0 +1,37 @@ +From 019d727990d41b5d7911895b75bcb021e4cca3c6 Mon Sep 17 00:00:002001
(quoted diff) +7
-0+From: Markus Volk <[email protected] <mailto:[email protected]>> +Date: Mon, 21 Aug 2023 10:23:08 +0200 +Subject: [PATCH] meson.build: allow crosscompiling gir and doc + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Markus Volk <[email protected]<mailto:[email protected]>>
+--- + meson.build | 2 +-+ 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +6
-0+ +diff --git a/meson.build b/meson.build +index 134feb6..a089f42 100644 +--- a/meson.build ++++ b/meson.build +@@ -58,7 +58,7 @@ includedir = join_paths(prefix,
get_option('includedir'))
+
+ # gobject introspection
+ gir = find_program('g-ir-scanner', required:get_option('introspection'))
+-enable_introspection =gir.found()and notmeson.is_cross_build()++enable_introspection =gir.found()(quoted diff) +7
-0+ + # vala + vapi_opt = get_option('vapi') +@@ -73,7 +73,7 @@ endif + # gtk-doc + if not get_option('docs').disabled() + gtk_doc = find_program('gtkdoc-scan', required:
get_option('docs'))+- enable_doc = gtk_doc.found() and not meson.is_cross_build() ++ enable_doc = gtk_doc.found()+ else
(quoted diff) +5
-0+ enable_doc = false + endif +-- +2.41.0 +recipes-extended/libvirt/libvirt-glib_4.0.0.bb +0
-0@@ -5,10 +5,17 @@ LIC_FILES_CHKSUM ="file://COPYING;md5=4fbd65380cdd255951079008b364516c"
DEPENDS = "glib-2.0 libvirt libxml2"
-SRC_URI = "
git://gitlab.com/libvirt/libvirt-glib;protocol=https;branch=master"recipes-extended/libvirt/libvirt-glib_4.0.0.bb +3
-0+SRC_URI = " \ + git://gitlab.com/libvirt/libvirt-glib;protocol=https;branch=master \ + file://0001-meson.build-allow-crosscompiling-gir-and-doc.patch<file://0001-meson.build-allow-crosscompiling-gir-and-doc.patch/> \
+"SRCREV = "
e0bfc34682744a74b850fa217e9c206a9eb80612" S = "${WORKDIR}/git"recipes-extended/libvirt/libvirt-glib_4.0.0.bb +6
-3-inherit meson pkgconfig gobject-introspection vala -GIR_MESON_OPTION = '' +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' --2.41.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8221): <https://lists.yoctoproject.org/g/meta-virtualization/message/8221>
Mute This Topic: <https://lists.yoctoproject.org/mt/100904573/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.yoctoproject.org/g/meta-virtualization/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-