[oe] [PATCH][V2 2/2] raptor2: initial add 2.0.15

Martin Jansa martin.jansa at gmail.com
Thu Jan 5 18:04:58 UTC 2017


On Wed, Jan 04, 2017 at 02:27:23AM +0100, Andreas Müller wrote:
> * it is it in meta-office for a while. Now I need it in meta-qt5-extra too
> * LICENSE.txt summarizes all licenses and explains that ot is user's choice
>   which one to use
> 
> Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
> ---
>  ...c-do-additional-checks-on-libxml2-also-wh.patch | 34 ++++++++++++++++++++++
>  meta-oe/recipes-support/raptor2/raptor2_2.0.15.bb  | 25 ++++++++++++++++
>  2 files changed, 59 insertions(+)
>  create mode 100644 meta-oe/recipes-support/raptor2/files/0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch
>  create mode 100644 meta-oe/recipes-support/raptor2/raptor2_2.0.15.bb
> 
> 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 0000000..7faeb13
> --- /dev/null
> +++ b/meta-oe/recipes-support/raptor2/files/0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch
> @@ -0,0 +1,34 @@
> +From 3f97aac5a1f43ef57b02fb9ccdcadd41a6b69fa9 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony at googlemail.com>
> +Date: Tue, 27 Oct 2015 10:21:24 +0100
> +Subject: [PATCH] configure.ac: do additional checks on libxml2 also when
> + detected by pkg-config
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Upstream-Status: Applied [1]
> +
> +[1] https://github.com/dajobe/raptor/pull/33
> +
> +Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
> +---
> + configure.ac | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/configure.ac b/configure.ac
> +index 10ff870..35fa08e 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -601,7 +601,7 @@ have_libxml=0
> + need_libxml=0
> + 
> + oCPPFLAGS="$CPPFLAGS"
> +-if test "X$XML_CONFIG" != X; then
> ++if test "X$libxml_source" != X; then
> +   CPPFLAGS="$LIBXML_CFLAGS $CPPFLAGS"
> +   LIBS="$LIBS $LIBXML_LIBS"
> +   AC_CHECK_FUNC(xmlCreatePushParserCtxt, have_xmlCreatePushParserCtxt=yes, have_xmlCreatePushParserCtxt=no)
> +-- 
> +2.1.0
> +
> 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 0000000..8c6d008
> --- /dev/null
> +++ b/meta-oe/recipes-support/raptor2/raptor2_2.0.15.bb
> @@ -0,0 +1,25 @@
> +SUMMARY = "Library for parsing and serializing RDF syntaxes"
> +LICENSE = "GPLv2 | LGPLv2.1 | Apache-2.0"
> +LIC_FILES_CHKSUM = " \
> +    file://LICENSE.txt;md5=2d5025d4aa3495befef8f17206a5b0a1 \
> +    file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
> +    file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
> +    file://LICENSE-2.0.txt;md5=2d5025d4aa3495befef8f17206a5b0a1 \
> +"

I haven't checked why, but doesn't match for me:

ERROR: raptor2-2.0.15-r0 do_populate_lic: QA Issue: raptor2: The LIC_FILES_CHKSUM does not match for file://LICENSE.txt;md5=2d5025d4aa3495befef8f17206a5b0a1
raptor2: The new md5 checksum is b840e5ae3aeb897f45b473341348cd9c

> +DEPENDS = "libxml2 libxslt curl yajl"
> +
> +SRC_URI = " \
> +    http://download.librdf.org/source/${BPN}-${PV}.tar.gz \
> +    file://0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch \
> +"
> +SRC_URI[md5sum] = "a39f6c07ddb20d7dd2ff1f95fa21e2cd"
> +SRC_URI[sha256sum] = "ada7f0ba54787b33485d090d3d2680533520cd4426d2f7fb4782dd4a6a1480ed"
> +
> +inherit autotools pkgconfig
> +
> +EXTRA_OECONF = " \
> +    --without-xml2-config \
> +    --without-curl-config \
> +    --without-xslt-config \
> +"
> -- 
> 2.5.5
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20170105/7a1ee3f3/attachment-0002.sig>


More information about the Openembedded-devel mailing list