diff options
| -rw-r--r-- | meta-oe/recipes-support/raptor2/files/0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch | 34 | ||||
| -rw-r--r-- | meta-oe/recipes-support/raptor2/raptor2_2.0.15.bb | 25 |
2 files changed, 59 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/raptor2/files/0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch b/meta-oe/recipes-support/raptor2/files/0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch new file mode 100644 index 0000000000..7faeb130a7 --- /dev/null +++ b/meta-oe/recipes-support/raptor2/files/0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From 3f97aac5a1f43ef57b02fb9ccdcadd41a6b69fa9 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
| 3 | Date: Tue, 27 Oct 2015 10:21:24 +0100 | ||
| 4 | Subject: [PATCH] configure.ac: do additional checks on libxml2 also when | ||
| 5 | detected by pkg-config | ||
| 6 | MIME-Version: 1.0 | ||
| 7 | Content-Type: text/plain; charset=UTF-8 | ||
| 8 | Content-Transfer-Encoding: 8bit | ||
| 9 | |||
| 10 | Upstream-Status: Applied [1] | ||
| 11 | |||
| 12 | [1] https://github.com/dajobe/raptor/pull/33 | ||
| 13 | |||
| 14 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
| 15 | --- | ||
| 16 | configure.ac | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/configure.ac b/configure.ac | ||
| 20 | index 10ff870..35fa08e 100644 | ||
| 21 | --- a/configure.ac | ||
| 22 | +++ b/configure.ac | ||
| 23 | @@ -601,7 +601,7 @@ have_libxml=0 | ||
| 24 | need_libxml=0 | ||
| 25 | |||
| 26 | oCPPFLAGS="$CPPFLAGS" | ||
| 27 | -if test "X$XML_CONFIG" != X; then | ||
| 28 | +if test "X$libxml_source" != X; then | ||
| 29 | CPPFLAGS="$LIBXML_CFLAGS $CPPFLAGS" | ||
| 30 | LIBS="$LIBS $LIBXML_LIBS" | ||
| 31 | AC_CHECK_FUNC(xmlCreatePushParserCtxt, have_xmlCreatePushParserCtxt=yes, have_xmlCreatePushParserCtxt=no) | ||
| 32 | -- | ||
| 33 | 2.1.0 | ||
| 34 | |||
diff --git a/meta-oe/recipes-support/raptor2/raptor2_2.0.15.bb b/meta-oe/recipes-support/raptor2/raptor2_2.0.15.bb new file mode 100644 index 0000000000..dd00c14f72 --- /dev/null +++ b/meta-oe/recipes-support/raptor2/raptor2_2.0.15.bb | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | SUMMARY = "Library for parsing and serializing RDF syntaxes" | ||
| 2 | LICENSE = "GPLv2 | LGPLv2.1 | Apache-2.0" | ||
| 3 | LIC_FILES_CHKSUM = " \ | ||
| 4 | file://LICENSE.txt;md5=b840e5ae3aeb897f45b473341348cd9c \ | ||
| 5 | file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | ||
| 6 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
| 7 | file://LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | ||
| 8 | " | ||
| 9 | |||
| 10 | DEPENDS = "libxml2 libxslt curl yajl" | ||
| 11 | |||
| 12 | SRC_URI = " \ | ||
| 13 | http://download.librdf.org/source/${BPN}-${PV}.tar.gz \ | ||
| 14 | file://0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch \ | ||
| 15 | " | ||
| 16 | SRC_URI[md5sum] = "a39f6c07ddb20d7dd2ff1f95fa21e2cd" | ||
| 17 | SRC_URI[sha256sum] = "ada7f0ba54787b33485d090d3d2680533520cd4426d2f7fb4782dd4a6a1480ed" | ||
| 18 | |||
| 19 | inherit autotools pkgconfig | ||
| 20 | |||
| 21 | EXTRA_OECONF = " \ | ||
| 22 | --without-xml2-config \ | ||
| 23 | --without-curl-config \ | ||
| 24 | --without-xslt-config \ | ||
| 25 | " | ||
