libxml2: upgrade to version 2.7.7
from 2.6.29 add homepage and bugtracker, update license changes: - remove libxml-nanohttp.patch since it's already upstream - add ${libdir}/xml2Conf.sh into FILES_${PN}-dev Signed-off-by: Qing He <qing.he@intel.com>
This commit is contained in:
parent
afe4dec809
commit
90747bcf00
|
@ -1,13 +1,20 @@
|
||||||
DESCRIPTION = "GNOME XML Parser library"
|
DESCRIPTION = "GNOME XML Parser library"
|
||||||
|
HOMEPAGE = "http://www.xmlsoft.org/"
|
||||||
|
BUGTRACKER = "http://bugzilla.gnome.org/buglist.cgi?product=libxml2"
|
||||||
SECTION = "libs"
|
SECTION = "libs"
|
||||||
PRIORITY = "optional"
|
PRIORITY = "optional"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=bb90c48926316d9af6e2d70ca7013ade \
|
||||||
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
|
file://hash.c;beginline=6;endline=15;md5=ce702952bfddd7aee22639a2d6b54136 \
|
||||||
file://libxml-64bit.patch;patch=1 \
|
file://list.c;beginline=4;endline=13;md5=cdbfa3dee51c099edb04e39f762ee907 \
|
||||||
file://libxml-nanohttp.patch;patch=1"
|
file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e"
|
||||||
|
|
||||||
DEPENDS_virtclass-native = "python-native"
|
DEPENDS_virtclass-native = "python-native"
|
||||||
|
DEPENDS =+ "zlib"
|
||||||
|
|
||||||
|
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
|
||||||
|
file://libxml-64bit.patch"
|
||||||
|
|
||||||
|
|
||||||
inherit autotools pkgconfig binconfig
|
inherit autotools pkgconfig binconfig
|
||||||
|
|
||||||
|
@ -24,7 +31,7 @@ python populate_packages_prepend () {
|
||||||
|
|
||||||
PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
|
PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
|
||||||
|
|
||||||
FILES_${PN}-dev += "${bindir}/*-config"
|
FILES_${PN}-dev += "${bindir}/*-config ${libdir}/xml2Conf.sh"
|
||||||
FILES_${PN}-utils += "${bindir}/*"
|
FILES_${PN}-utils += "${bindir}/*"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
Index: libxml2-2.6.29/nanohttp.c
|
|
||||||
===================================================================
|
|
||||||
--- libxml2-2.6.29.orig/nanohttp.c 2008-10-30 10:12:11.000000000 +0800
|
|
||||||
+++ libxml2-2.6.29/nanohttp.c 2008-10-30 10:12:30.000000000 +0800
|
|
||||||
@@ -1585,7 +1585,7 @@
|
|
||||||
if (!strcmp(filename, "-"))
|
|
||||||
fd = 0;
|
|
||||||
else {
|
|
||||||
- fd = open(filename, O_CREAT | O_WRONLY);
|
|
||||||
+ fd = open(filename, O_CREAT | O_WRONLY, 0644);
|
|
||||||
if (fd < 0) {
|
|
||||||
xmlNanoHTTPClose(ctxt);
|
|
||||||
return(-1);
|
|
|
@ -1,3 +1,3 @@
|
||||||
require libxml2.inc
|
require libxml2.inc
|
||||||
|
|
||||||
PR = "r8"
|
PR = "r0"
|
Loading…
Reference in New Issue