libvirt: uprev to 1.3.2
PATCH 1/1 libvirt: uprev to 1.3.2
Release notes here http://libvirt.org/news.html.
Signed-off-by Yunguo Wei <[email protected]>
--- .../libvirt-1.2.19/0001-to-fix-build-error.patch | 44 ---- ...-split-to-properly-retrieve-cflags-and-ld.patch | 41 +++ .../libvirt-1.3.2/0001-to-fix-build-error.patch | 46 ++++ recipes-extended/libvirt/libvirt-python.inc | 5 +- ...vert-build-add-prefix-to-SYSTEMD_UNIT_DIR.patch | 52 ++-- .../libvirt-use-pkg-config-to-locate-libcap.patch | 11 +- .../libvirt/libvirt/libvirt_api_xml_path.patch | 4 +- recipes-extended/libvirt/libvirt/runptest.patch | 2 +- .../tests-allow-separated-src-and-build-dirs.patch | 13 +- ...ibvirt-net-rpc-to-virt-host-validate-when.patch | 107 +++----- recipes-extended/libvirt/libvirt_1.2.19.bb | 287 --------------------- recipes-extended/libvirt/libvirt_1.3.2.bb | 287 +++++++++++++++++++++ 12 files changed, 451 insertions(+), 448 deletions(-) delete mode 100644 recipes-extended/libvirt/libvirt-1.2.19/0001-to-fix-build-error.patch create mode 100644 recipes-extended/libvirt/libvirt-1.3.2/0001-Add-missing-split-to-properly-retrieve-cflags-and-ld.patch create mode 100644 recipes-extended/libvirt/libvirt-1.3.2/0001-to-fix-build-error.patch delete mode 100644 recipes-extended/libvirt/libvirt_1.2.19.bb create mode 100644 recipes-extended/libvirt/libvirt_1.3.2.bb
recipes-extended/libvirt/libvirt-1.2.19/0001-to-fix-build-error.patch deleted +0 -44
@@ -1,44 +0,0 @@ -From 62514c8c2925e48a4f20ce3d7d48387851cb76a5 Mon Sep 17 00:00:00 2001 -From: Lei Maohui <[email protected]> -Date: Fri, 31 Jul 2015 03:17:07 +0900 -Subject: [PATCH] to fix build error - -The error likes as following - -| Generating internals/command.html.tmp -| /bin/sh: line 3: internals/command.html.tmp: No such file or directory -| rm: Generating internals/locking.html.tmp -| cannot remove `internals/command.html.tmp': No such file or directory -| make[3]: *** [internals/command.html.tmp] Error 1 -| make[3]: *** Waiting for unfinished jobs.... - -Signed-off-by: Lei Maohui <[email protected]> ---- - docs/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/docs/Makefile.am b/docs/Makefile.am -index daf37b6..125c5fd 100644 ---- a/docs/Makefile.am -+++ b/docs/Makefile.am -@@ -162,7 +162,7 @@ EXTRA_DIST= \ - sitemap.html.in aclperms.htmlinc \ - todo.pl hvsupport.pl todo.cfg-example - --acl_generated = aclperms.htmlinc -+acl.html:: $(srcdir)/aclperms.htmlinc - - $(srcdir)/aclperms.htmlinc: $(top_srcdir)/src/access/viraccessperm.h \ - $(srcdir)/genaclperms.pl Makefile.am -@@ -227,7 +227,7 @@ internals/%.html.tmp: internals/%.html.in subsite.xsl page.xsl sitemap.html.in - $(top_srcdir)/docs/subsite.xsl $< > $@ \ - || { rm $@ && exit 1; }; fi - --%.html.tmp: %.html.in site.xsl page.xsl sitemap.html.in $(acl_generated) -+%.html.tmp: %.html.in site.xsl page.xsl sitemap.html.in - @if [ -x $(XSLTPROC) ] ; then \ - echo "Generating $@"; \ - name=`echo $@ | sed -e 's/.tmp//'`; \ --- -1.8.4.2 -
recipes-extended/libvirt/libvirt-1.3.2/0001-Add-missing-split-to-properly-retrieve-cflags-and-ld.patch new file +41 -0
41 lines not on this page · raw message
recipes-extended/libvirt/libvirt-1.3.2/0001-to-fix-build-error.patch new file +46 -0
46 lines not on this page · raw message
recipes-extended/libvirt/libvirt-python.inc +3 -2
@@ -17,9 +17,10 @@ FILES_${PN}-python = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*" SRC_URI += "http://libvirt.org/sources/python/libvirt-python-${PV}.tar.gz;name=libvirt_python" SRC_URI += "file://libvirt_api_xml_path.patch;patchdir=../libvirt-python-${PV}" +SRC_URI += "file://0001-Add-missing-split-to-properly-retrieve-cflags-and-ld.patch;patchdir=../libvirt-python-${PV}" -SRC_URI[libvirt_python.md5sum] = "429e328028fc59b62404a4163004f2ae" -SRC_URI[libvirt_python.sha256sum] = "88ab63b0c53e435bd2c6e8551805fe273353708efd4dfab908257dc5f37bec49" +SRC_URI[libvirt_python.md5sum] = "ed018c714d7ddbe93221c796dff283ed" +SRC_URI[libvirt_python.sha256sum] = "6d35ae9e7801573393b9c92471f39e6700d479f10b641df81d041b469f160bf8" export LIBVIRT_API_PATH = "${S}/docs/libvirt-api.xml" export LIBVIRT_CFLAGS = "-I${S}/include"
recipes-extended/libvirt/libvirt/Revert-build-add-prefix-to-SYSTEMD_UNIT_DIR.patch +16 -36
84 lines not on this page · raw message
recipes-extended/libvirt/libvirt/libvirt-use-pkg-config-to-locate-libcap.patch +6 -5
@@ -1,4 +1,4 @@ -From 3e271f6db12ffe34843428ec2f0bca7a8fe3aa65 Mon Sep 17 00:00:00 2001 +From 94896695475ea8aca56245fac2cf24540c62f6d8 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield <[email protected]> Date: Wed, 8 Apr 2015 13:03:03 -0400 Subject: [PATCH] libvirt: use pkg-config to locate libcap
@@ -12,15 +12,16 @@ To fix this issue, we patch configure to use 'pkg-config libcap' to locate the correct libraries. Signed-off-by: Bruce Ashfield <[email protected]> +Signed-off-by: Yunguo Wei <[email protected]> --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac -index f37047599b76..5f9b84363b96 100644 +index 93d347c..e1bb1f8 100644 --- a/configure.ac +++ b/configure.ac -@@ -1553,7 +1553,7 @@ fi +@@ -1545,7 +1545,7 @@ fi AM_CONDITIONAL([HAVE_NUMAD], [test "$with_numad" != "no"]) dnl pcap lib
@@ -29,7 +30,7 @@ index f37047599b76..5f9b84363b96 100644 LIBPCAP_CFLAGS="" LIBPCAP_LIBS="" LIBPCAP_FOUND="no" -@@ -1563,8 +1563,8 @@ AC_ARG_WITH([libpcap], [AS_HELP_STRING([--with-libpcap=@<:@PFX@:>@], +@@ -1555,8 +1555,8 @@ AC_ARG_WITH([libpcap], [AS_HELP_STRING([--with-libpcap=@<:@PFX@:>@], if test "$with_qemu" = "yes"; then case $with_libpcap in no) LIBPCAP_CONFIG= ;;
@@ -41,5 +42,5 @@ index f37047599b76..5f9b84363b96 100644 AS_IF([test "x$LIBPCAP_CONFIG" != "x"], [ AC_MSG_CHECKING(libpcap $LIBPCAP_CONFIG >= $LIBPCAP_REQUIRED ) -- -2.1.0 +1.9.1
recipes-extended/libvirt/libvirt/libvirt_api_xml_path.patch +2 -2
@@ -56,8 +56,8 @@ Index: libvirt-python-1.2.4/setup.py c_modules = [] py_modules = [] -- ldflags = get_pkgconfig_data(["--libs-only-L"], "libvirt", False) -- cflags = get_pkgconfig_data(["--cflags"], "libvirt", False) +- ldflags = get_pkgconfig_data(["--libs-only-L"], "libvirt", False).split() +- cflags = get_pkgconfig_data(["--cflags"], "libvirt", False).split() + libvirt_cflags = os.getenv("LIBVIRT_CFLAGS") + if libvirt_cflags: + cflags = libvirt_cflags
recipes-extended/libvirt/libvirt/runptest.patch +1 -1
@@ -20,8 +20,8 @@ Index: libvirt-1.2.4/tests/Makefile.am + -Dabs_builddir="\"$(PTEST_DIR)/tests\"" \ + -Dabs_srcdir="\"$(PTEST_DIR)/tests\"" \ $(LIBXML_CFLAGS) \ + $(LIBNL_CFLAGS) \ $(GNUTLS_CFLAGS) \ - $(SASL_CFLAGS) \ @@ -48,7 +50,7 @@ if WITH_DRIVER_MODULES
recipes-extended/libvirt/libvirt/tests-allow-separated-src-and-build-dirs.patch +7 -6
@@ -1,20 +1,21 @@ -From 884b6e3724b75cd92766d5386455983e3557a286 Mon Sep 17 00:00:00 2001 +From 077a2b1dd765788acac2944bc9c3dfe1135f6b87 Mon Sep 17 00:00:00 2001 From: Mark Asselstine <[email protected]> Date: Fri, 2 May 2014 13:45:05 -0400 -Subject: [PATCH] tests: allow separated src and build dirs +Subject: [PATCH 3/6] tests: allow separated src and build dirs Fixup Makefile.am to search for static files back in srcdir. Signed-off-by: Mark Asselstine <[email protected]> +Signed-off-by: Yunguo Wei <[email protected]> --- tests/Makefile.am | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am -index 0da514b..b8d7c19 100644 +index f1c5996..9ba3989 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am -@@ -1006,22 +1006,22 @@ install-ptest: +@@ -1321,22 +1321,22 @@ install-ptest: @(if [ -d ../tools/.libs ] ; then cd ../tools/.libs; fi; \ install * $(DEST_DIR)/tools) install -d $(DEST_DIR)/src/network
@@ -43,7 +44,7 @@ index 0da514b..b8d7c19 100644 install -d $(DEST_DIR)/tests/.libs find . -type d -name "*xml2xml*" -exec cp -r {} $(DEST_DIR)/tests \; find . -type d -name "*data" -exec cp -r {} $(DEST_DIR)/tests \; -@@ -1029,7 +1029,7 @@ install-ptest: +@@ -1344,7 +1344,7 @@ install-ptest: if [ -f .libs/$$file ]; then \ install .libs/$$file $(DEST_DIR)/tests; \ else \
@@ -53,5 +54,5 @@ index 0da514b..b8d7c19 100644 done;) @(if [ -d .libs ]; then install .libs/*.so $(DEST_DIR)/tests/.libs; fi;) -- -1.8.3.2 +1.9.1
recipes-extended/libvirt/libvirt/tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch +42 -65
138 lines not on this page · raw message
recipes-extended/libvirt/libvirt_1.2.19.bb deleted +0 -287
287 lines not on this page · raw message
recipes-extended/libvirt/libvirt_1.3.2.bb new file +287 -0
287 lines not on this page · raw message
Signature · 1 line
1.9.1