Patchwork [meta-oe,PATCHv3,1/3] json-c: add 0.11

login
register
mail settings
Submitter ml@communistcode.co.uk
Date Oct. 14, 2013, 2:20 p.m.
Message ID <1381760413-15098-2-git-send-email-ml@communistcode.co.uk>
Download mbox | patch
Permalink /patch/59835/
State Changes Requested, archived
Headers show

Comments

ml@communistcode.co.uk - Oct. 14, 2013, 2:20 p.m.
From: Jack Mitchell <jmitchell@cbnl.com>

Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
---
 meta-oe/recipes-support/json-c/json-c_0.11.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-support/json-c/json-c_0.11.bb
Martin Jansa - Oct. 17, 2013, 3:34 p.m.
On Mon, Oct 14, 2013 at 03:20:11PM +0100, Jack Mitchell wrote:
> From: Jack Mitchell <jmitchell@cbnl.com>
> 
> Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
> ---
>  meta-oe/recipes-support/json-c/json-c_0.11.bb | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>  create mode 100644 meta-oe/recipes-support/json-c/json-c_0.11.bb
> 
> diff --git a/meta-oe/recipes-support/json-c/json-c_0.11.bb b/meta-oe/recipes-support/json-c/json-c_0.11.bb
> new file mode 100644
> index 0000000..e0391f5
> --- /dev/null
> +++ b/meta-oe/recipes-support/json-c/json-c_0.11.bb
> @@ -0,0 +1,13 @@
> +SUMMARY = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C"
> +HOMEPAGE = "https://github.com/json-c/json-c/wiki"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
> +
> +SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz"
> +
> +SRC_URI[md5sum] = "aa02367d2f7a830bf1e3376f77881e98"
> +SRC_URI[sha256sum] = "28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c"
> +
> +PARALLEL_MAKE = ""
> +
> +inherit autotools

It conflicts with libjson from oe-core:
WARNING: libjson-0.9 is already registered as shlib
provider for libjson.so.0, ignoring json-c-0.11 trying to register the
same

openembedded-core/meta/recipes-devtools/libjson/libjson_0.9.bb

You probably want to upgrade libjson in oe-core if it's the same json-c...
ml@communistcode.co.uk - Oct. 18, 2013, 8:46 a.m.
On 17/10/13 16:34, Martin Jansa wrote:
> On Mon, Oct 14, 2013 at 03:20:11PM +0100, Jack Mitchell wrote:
>> From: Jack Mitchell <jmitchell@cbnl.com>
>>
>> Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
>> ---
>>  meta-oe/recipes-support/json-c/json-c_0.11.bb | 13 +++++++++++++
>>  1 file changed, 13 insertions(+)
>>  create mode 100644 meta-oe/recipes-support/json-c/json-c_0.11.bb
>>
>> diff --git a/meta-oe/recipes-support/json-c/json-c_0.11.bb b/meta-oe/recipes-support/json-c/json-c_0.11.bb
>> new file mode 100644
>> index 0000000..e0391f5
>> --- /dev/null
>> +++ b/meta-oe/recipes-support/json-c/json-c_0.11.bb
>> @@ -0,0 +1,13 @@
>> +SUMMARY = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C"
>> +HOMEPAGE = "https://github.com/json-c/json-c/wiki"
>> +LICENSE = "MIT"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
>> +
>> +SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz"
>> +
>> +SRC_URI[md5sum] = "aa02367d2f7a830bf1e3376f77881e98"
>> +SRC_URI[sha256sum] = "28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c"
>> +
>> +PARALLEL_MAKE = ""
>> +
>> +inherit autotools
> 
> It conflicts with libjson from oe-core:
> WARNING: libjson-0.9 is already registered as shlib
> provider for libjson.so.0, ignoring json-c-0.11 trying to register the
> same
> 
> openembedded-core/meta/recipes-devtools/libjson/libjson_0.9.bb
> 
> You probably want to upgrade libjson in oe-core if it's the same json-c...
> 
> 

Ah, that's not confusing at all eh!

I've sent a patch to oe-core, if they take it i'll ping you about
pulling the libestr and rsyslogd.

Thanks JaMa!

Patch

diff --git a/meta-oe/recipes-support/json-c/json-c_0.11.bb b/meta-oe/recipes-support/json-c/json-c_0.11.bb
new file mode 100644
index 0000000..e0391f5
--- /dev/null
+++ b/meta-oe/recipes-support/json-c/json-c_0.11.bb
@@ -0,0 +1,13 @@ 
+SUMMARY = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C"
+HOMEPAGE = "https://github.com/json-c/json-c/wiki"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
+
+SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz"
+
+SRC_URI[md5sum] = "aa02367d2f7a830bf1e3376f77881e98"
+SRC_URI[sha256sum] = "28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c"
+
+PARALLEL_MAKE = ""
+
+inherit autotools