Skip to contentSkip to conversation

libvirt: uprev to 1.2.4

PATCH New Bruce Ashfield 1 participant 1 message May 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvirt: uprev to 1.2.4

Updating the version of libvirt to 1.2.4. Only small changes are required to the ptest and python chnages for this new version, but otherwise, all packaging and build optinos are the same.

Sanity tests show no regressions from 1.2.2.

---
 recipes-extended/libvirt/libvirt-python.inc        |  4 +-
 .../libvirt/libvirt/libvirt_api_xml_path.patch     | 88 ++++++++++------------
 recipes-extended/libvirt/libvirt/runptest.patch    | 31 ++++----
 .../libvirt/{libvirt_1.2.2.bb => libvirt_1.2.4.bb} |  4 +-
 4 files changed, 61 insertions(+), 66 deletions(-)
 rename recipes-extended/libvirt/{libvirt_1.2.2.bb => libvirt_1.2.4.bb} (98%)
recipes-extended/libvirt/libvirt-python.inc +2 -2
index 181e9d3cbd6c..1c95b07f5655 100644
@@ -18,8 +18,8 @@ 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[libvirt_python.md5sum] = "cd3b75c0eb64e933f0b648fbdca6e868"
-SRC_URI[libvirt_python.sha256sum] = "94d79d662b6010f6c688b8856b2d95077736d48ffa35feed5a339d7fafbf8c39"
+SRC_URI[libvirt_python.md5sum] = "fbcb68f898390b321cbfcbdaa8d0c1ba"
+SRC_URI[libvirt_python.sha256sum] = "a2f30059b8870b3808b2bd2f19210422a348649a8f53523c2cbfa5cd64af217e"
 
 export LIBVIRT_API_PATH = "${S}/docs/libvirt-api.xml"
 export LIBVIRT_CFLAGS = "-I${S}/include"
recipes-extended/libvirt/libvirt/libvirt_api_xml_path.patch +41 -47

105 lines not on this page · raw message

recipes-extended/libvirt/libvirt/runptest.patch +16 -15
index 0c0197511a77..cdc0f65c34ad 100644
@@ -4,24 +4,25 @@ Change TESTS_ENVIRONMENT to allow running outside build dir.
 Signed-off-by: Mihaela Sendrea <[email protected]>
 Upstream-status: Pending
 
-diff -uNr a/tests/Makefile.am b/tests/Makefile.am
---- a/tests/Makefile.am	2014-03-11 11:37:31.497605736 +0200
-+++ b/tests/Makefile.am	2014-03-17 15:57:35.515268399 +0200
-@@ -27,9 +27,11 @@
+Index: libvirt-1.2.4/tests/Makefile.am
+===================================================================
+--- libvirt-1.2.4.orig/tests/Makefile.am
++++ libvirt-1.2.4/tests/Makefile.am
+@@ -31,9 +31,11 @@
  	-I$(top_srcdir)/src/conf \
  	$(GETTEXT_CPPFLAGS)
  
 +PTEST_DIR ?= /usr/lib/libvirt/ptest
 +
  AM_CFLAGS = \
--	-Dabs_builddir="\"`pwd`\"" \
--	-Dabs_srcdir="\"`cd '$(srcdir)'; pwd`\"" \
+-	-Dabs_builddir="\"$(abs_builddir)\"" \
+-	-Dabs_srcdir="\"$(abs_srcdir)\"" \
 +	-Dabs_builddir="\"$(PTEST_DIR)/tests\"" \
 +	-Dabs_srcdir="\"$(PTEST_DIR)/tests\"" \
  	$(LIBXML_CFLAGS) \
  	$(GNUTLS_CFLAGS) \
  	$(SASL_CFLAGS) \
-@@ -41,7 +43,7 @@
+@@ -48,7 +50,7 @@
  
  if WITH_DRIVER_MODULES
  INCLUDES += \
@@ -30,11 +31,11 @@ diff -uNr a/tests/Makefile.am b/tests/Makefile.am
  endif WITH_DRIVER_MODULES
  
  PROBES_O =
-@@ -344,20 +346,19 @@
+@@ -409,20 +411,19 @@
  # Also, BSD sh doesn't like 'a=b b=$$a', so we can't use an
  # intermediate shell variable, but must do all the expansion in make
  
--lv_abs_top_builddir=`cd '$(top_builddir)'; pwd`
+-lv_abs_top_builddir=$(shell cd '$(top_builddir)' && pwd)
  path_add = $(subst :,$(PATH_SEPARATOR),\
 -	$(subst !,$(lv_abs_top_builddir)/,!daemon:!tools:!tests))
 +	$(subst !,$(PTEST_DIR)/,!daemon:!tools:!tests))
@@ -43,9 +44,9 @@ diff -uNr a/tests/Makefile.am b/tests/Makefile.am
  TESTS_ENVIRONMENT =				\
 -  abs_top_builddir=$(lv_abs_top_builddir)	\
 -  abs_top_srcdir=`cd '$(top_srcdir)'; pwd`	\
--  abs_builddir=`pwd`				\
--  abs_srcdir=`cd '$(srcdir)'; pwd`		\
--  CONFIG_HEADER="`cd '$(top_builddir)'; pwd`/config.h"	\
+-  abs_builddir=$(abs_builddir)			\
+-  abs_srcdir=$(abs_srcdir)			\
+-  CONFIG_HEADER="$(lv_abs_top_builddir)/config.h"	\
 +  abs_top_builddir="$(PTEST_DIR)"             \
 +  abs_top_srcdir="$(PTEST_DIR)"               \
 +  abs_builddir="$(PTEST_DIR)/tests"           \
@@ -58,8 +59,8 @@ diff -uNr a/tests/Makefile.am b/tests/Makefile.am
    LIBVIRT_AUTOSTART=0				\
    LC_ALL=C					\
    VIR_TEST_EXPENSIVE=$(VIR_TEST_EXPENSIVE)	\
-@@ -933,5 +934,51 @@
- EXTRA_DIST += object-locking.ml
+@@ -1137,5 +1138,51 @@
+ EXTRA_DIST += objectlocking.ml
  endif ! WITH_CIL
  
 +buildtest-TESTS: $(TESTS) $(test_libraries) $(test_helpers)
@@ -109,4 +110,4 @@ diff -uNr a/tests/Makefile.am b/tests/Makefile.am
 +	sed -i -e 's|^\(.*\.log:\) \(.*EXEEXT.*\)|\1|g' $(DEST_DIR)/tests/Makefile
 +
  CLEANFILES = *.cov *.gcov .libs/*.gcda .libs/*.gcno *.gcno *.gcda *.cmi *.cmx \
- 	object-locking-files.txt
+ 	objectlocking-files.txt
recipes-extended/libvirt/libvirt_1.2.4.bb renamed from recipes-extended/libvirt/libvirt_1.2.2.bb +2 -2
similarity index 98%
rename from recipes-extended/libvirt/libvirt_1.2.2.bb
rename to recipes-extended/libvirt/libvirt_1.2.4.bb
index 22ae2c7a0ad5..c2eea495682e 100644
@@ -32,8 +32,8 @@ SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz;name=libvirt \
            file://tests-allow-separated-src-and-build-dirs.patch \
           "
 
-SRC_URI[libvirt.md5sum] = "592958ad1ddce7574d8cb0a31e635acd"
-SRC_URI[libvirt.sha256sum] = "a48377e307c5c21b67e43db99af909a23c33aff8cbbaa3361fd389eb047cbbc3"
+SRC_URI[libvirt.md5sum] = "da7a9ca519df45a460659189fe0024e6"
+SRC_URI[libvirt.sha256sum] = "e43ac5f6b2baeafcd01777be03a897e636f8d48c0cdfb4c4cbb80d45faa9e875"
 
 inherit autotools gettext update-rc.d pkgconfig ptest
 
Signature · 1 line
1.8.1.2