[oe-commits] : libxml2: update to 2.6.32

OE GIT Trial gittrial at amethyst.openembedded.net
Thu Sep 18 12:59:57 UTC 2008


Module: OE.dev
Branch: org.openembedded.dreambox
Commit: 7a6cd98046643cda2da1160c33becef058ff58ec
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=7a6cd98046643cda2da1160c33becef058ff58ec

Author:  <tmbinc at openembedded.org>
Date:   Thu Sep 18 12:41:15 2008 +0000

libxml2: update to 2.6.32

---

 packages/libxml/files/no-testapi_2.6.32.patch |   65 +++++++++++++++++++++++++
 packages/libxml/libxml2_2.6.32.bb             |   28 +++++++++++
 2 files changed, 93 insertions(+), 0 deletions(-)

diff --git a/packages/libxml/files/no-testapi_2.6.32.patch b/packages/libxml/files/no-testapi_2.6.32.patch
new file mode 100644
index 0000000..7f3e65e
--- /dev/null
+++ b/packages/libxml/files/no-testapi_2.6.32.patch
@@ -0,0 +1,65 @@
+--- libxml2-2.6.32/Makefile.am	2008-01-11 08:22:32.000000000 +0100
++++ libxml2-2.6.32/Makefile.am	2008-07-18 13:43:32.000000000 +0200
+@@ -8,7 +8,7 @@
+ 
+ noinst_PROGRAMS=testSchemas testRelax testSAX testHTML testXPath testURI \
+                 testThreads testC14N testAutomata testRegexp \
+-                testReader testapi testModule runtest runsuite
++                testReader testModule runtest runsuite
+ 
+ bin_PROGRAMS = xmllint xmlcatalog
+ 
+@@ -135,20 +135,20 @@
+ testdso_la_LDFLAGS = -module -rpath $(libdir)
+ 
+ # that one forces the rebuild when "make rebuild" is run on doc/
+-rebuild_testapi:
+-	-@(if [ "$(PYTHON)" != "" ] ; then \
+-	    $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
++#rebuild_testapi:
++#	-@(if [ "$(PYTHON)" != "" ] ; then \
++#	    $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
+ 
+ # that one is just to make sure it is rebuilt if missing
+ # but adding the dependances generate mess
+-testapi.c:
+-	-@(if [ "$(PYTHON)" != "" ] ; then \
+-	    $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
+-
+-testapi_SOURCES=testapi.c
+-testapi_LDFLAGS = 
+-testapi_DEPENDENCIES = $(DEPS)
+-testapi_LDADD= $(LDADDS)
++#testapi.c:
++#	-@(if [ "$(PYTHON)" != "" ] ; then \
++#	    $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
++
++#testapi_SOURCES=testapi.c
++#testapi_LDFLAGS = 
++#testapi_DEPENDENCIES = $(DEPS)
++#testapi_LDADD= $(LDADDS)
+ 
+ #testOOM_SOURCES=testOOM.c testOOMlib.h testOOMlib.c
+ #testOOM_LDFLAGS = 
+@@ -169,9 +169,9 @@
+ 	@echo '## Go get a cup of coffee it is gonna take a while ...'
+ 	$(MAKE) CHECKER='valgrind -q' tests
+ 
+-APItests: testapi$(EXEEXT)
+-	@echo "## Running the API regression tests this may take a little while"
+-	-@($(CHECKER) $(top_builddir)/testapi -q)
++#APItests: testapi$(EXEEXT)
++#	@echo "## Running the API regression tests this may take a little while"
++#	-@($(CHECKER) $(top_builddir)/testapi -q)
+ 
+ HTMLtests : testHTML$(EXEEXT)
+ 	@(echo > .memdump)
+@@ -1116,7 +1116,7 @@
+ dist-test: distdir
+ 	(mkdir -p $(distdir))
+ 	(cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn xstc/Tests) | (cd $(distdir); tar xf -)
+-	tar -cf - $(distdir)/test $(distdir)/result $(distdir)/xstc/Tests  $(distdir)/Makefile.tests $(distdir)/README $(distdir)/README.tests $(distdir)/AUTHORS $(distdir)/testapi.c $(distdir)/runtest.c $(distdir)/runsuite.c | GZIP=$(GZIP_ENV) gzip -c >`echo "$(distdir)" | sed "s+libxml2+libxml2-tests+"`.tar.gz
++	tar -cf - $(distdir)/test $(distdir)/result $(distdir)/xstc/Tests  $(distdir)/Makefile.tests $(distdir)/README $(distdir)/README.tests $(distdir)/AUTHORS $(distdir)/runtest.c $(distdir)/runsuite.c | GZIP=$(GZIP_ENV) gzip -c >`echo "$(distdir)" | sed "s+libxml2+libxml2-tests+"`.tar.gz
+ 	@(rm -rf $(distdir)/xstc/Test)
+ 
+ cleantar:
diff --git a/packages/libxml/libxml2_2.6.32.bb b/packages/libxml/libxml2_2.6.32.bb
new file mode 100644
index 0000000..9f2543b
--- /dev/null
+++ b/packages/libxml/libxml2_2.6.32.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "GNOME XML library"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "MIT"
+PR = "r3"
+
+SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
+		   file://no-testapi_${PV}.patch;patch=1"
+
+inherit autotools pkgconfig binconfig
+
+EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --without-c14n"
+
+do_stage() {
+	autotools_stage_all
+	install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/
+}
+
+python populate_packages_prepend () {
+	# autonamer would call this libxml2-2, but we don't want that
+	if bb.data.getVar('DEBIAN_NAMES', d, 1):
+		bb.data.setVar('PKG_libxml2', 'libxml2', d)
+}
+
+PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
+
+FILES_${PN}-dev += "${bindir}/*-config"
+FILES_${PN}-utils += "${bindir}/*"





More information about the Openembedded-commits mailing list