Re: [OE-core] [oe][PATCHv2] libjson: update to 0.11 and rename to json-c

2013-10-29 Thread Martin Jansa
On Mon, Oct 28, 2013 at 03:48:17PM -0700, Khem Raj wrote:
 On Mon, Oct 28, 2013 at 1:53 PM, Jack Mitchell m...@communistcode.co.uk 
 wrote:
  As for the BPN-PV, I don't really understand, I just grepped for libjson,
  and changed all the occurrences... the separate build dir being one of them,
  how would you expect the change to look?
 
 just in SRC_URI use BPN-PN instead of P

And in next step BP instead of BPN-PV :)

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe][PATCHv2] libjson: update to 0.11 and rename to json-c

2013-10-28 Thread Jack Mitchell
On 22/10/13 21:44, Saul Wold wrote:
 On 10/21/2013 01:56 AM, Jack Mitchell wrote:
 From: Jack Mitchell jmitch...@cbnl.com

 libjson is now known as json-c, it keeps support for the old
 libjson namespace so it shouldn't break anything. Built without
 parallel make as it would fail when it tries to link to link back
 to itself, which is odd, but the official word is: don't build in
 parallel.


 Jack,

 Not sure what's going on yet, but I found a configure failure, see the
 attached log file.

 Patch review is going to be a little slower this week as RP and a
 bunch of the Yocto Project community are at Yocto Project Dev Day and
 ELC-E the rest of this week.

 Sau!


I have rebuilt this package multiple times now and have still not
managed to break it. I believe it will just be a dirty build directory,
but that shouldn't be an excuse for it not building.

Does anyone have any suggestions on how to overcome this?


-- 
  Jack Mitchell (j...@embed.me.uk)
  Embedded Systems Engineer
  Cambridgeshire, UK
  http://www.embed.me.uk
-- 

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe][PATCHv2] libjson: update to 0.11 and rename to json-c

2013-10-28 Thread Burton, Ross
On 28 October 2013 17:30, Jack Mitchell m...@communistcode.co.uk wrote:
 Not sure what's going on yet, but I found a configure failure, see the
 attached log file.

 I have rebuilt this package multiple times now and have still not
 managed to break it. I believe it will just be a dirty build directory,
 but that shouldn't be an excuse for it not building.

 Does anyone have any suggestions on how to overcome this?

Just had a look at that configure log and that's normally the error
you get when moving from B==S to B!=S.  Unless Saul can replicate it
I'd say that warning was spurious/expected and can be ignored.

Not entirely sure why this happened as the patch also updates
separatebuilddir.inc, but without the actual tmp directory and all
logs that's not going to be easy to work out...

Ross
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe][PATCHv2] libjson: update to 0.11 and rename to json-c

2013-10-28 Thread Khem Raj
On Mon, Oct 21, 2013 at 1:56 AM, Jack Mitchell m...@communistcode.co.uk wrote:
 From: Jack Mitchell jmitch...@cbnl.com

 libjson is now known as json-c, it keeps support for the old
 libjson namespace so it shouldn't break anything. Built without
 parallel make as it would fail when it tries to link to link back
 to itself, which is odd, but the official word is: don't build in
 parallel.

 Signed-off-by: Jack Mitchell jmitch...@cbnl.com
 ---

  v2: rebased to latest master

  meta/conf/distro/include/seperatebuilddir.inc |  2 +-
  meta/recipes-devtools/json-c/json-c_0.11.bb   | 13 +
  meta/recipes-devtools/libjson/libjson_0.9.bb  | 14 --
  meta/recipes-multimedia/pulseaudio/pulseaudio.inc |  2 +-
  4 files changed, 15 insertions(+), 16 deletions(-)
  create mode 100644 meta/recipes-devtools/json-c/json-c_0.11.bb
  delete mode 100644 meta/recipes-devtools/libjson/libjson_0.9.bb

 diff --git a/meta/conf/distro/include/seperatebuilddir.inc 
 b/meta/conf/distro/include/seperatebuilddir.inc
 index c067183..e1a5c6b 100644
 --- a/meta/conf/distro/include/seperatebuilddir.inc
 +++ b/meta/conf/distro/include/seperatebuilddir.inc
 @@ -294,7 +294,7 @@ B_pn-libice = ${SEPB}
  B_pn-libice-native = ${SEPB}
  B_pn-libid3tag = ${SEPB}
  B_pn-libidn = ${SEPB}
 -B_pn-libjson = ${SEPB}
 +B_pn-json-c = ${SEPB}
  B_pn-libksba = ${SEPB}
  B_pn-libmad = ${SEPB}
  B_pn-libmatchbox = ${SEPB}
 diff --git a/meta/recipes-devtools/json-c/json-c_0.11.bb 
 b/meta/recipes-devtools/json-c/json-c_0.11.bb
 new file mode 100644
 index 000..e0391f5
 --- /dev/null
 +++ b/meta/recipes-devtools/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;


be explicit and use BPN-PV so that if someday someone creates a
mutation with native of nativesdk then it works there too.
and keep RPROVIDE'ing libjson might make folks with feeds happier.
and use git format-patch -M next time

 +
 +SRC_URI[md5sum] = aa02367d2f7a830bf1e3376f77881e98
 +SRC_URI[sha256sum] = 
 28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c
 +
 +PARALLEL_MAKE = 
 +
 +inherit autotools
 diff --git a/meta/recipes-devtools/libjson/libjson_0.9.bb 
 b/meta/recipes-devtools/libjson/libjson_0.9.bb
 deleted file mode 100644
 index e4951a8..000
 --- a/meta/recipes-devtools/libjson/libjson_0.9.bb
 +++ /dev/null
 @@ -1,14 +0,0 @@
 -DESCRIPTION = JSON-C - A JSON implementation in C
 -HOMEPAGE = http://oss.metaparadigm.com/json-c/;
 -
 -LICENSE = MIT
 -LIC_FILES_CHKSUM = file://COPYING;md5=30a276a476b02c2dcd0849bde417fb17
 -
 -SRC_URI = http://oss.metaparadigm.com/json-c/json-c-${PV}.tar.gz;
 -SRC_URI[md5sum] = 3a13d264528dcbaf3931b0cede24abae
 -SRC_URI[sha256sum] = 
 702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475
 -
 -S = ${WORKDIR}/json-c-${PV}
 -
 -
 -inherit autotools
 diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc 
 b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
 index 4c10aa9..475da41 100644
 --- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
 +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
 @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
 file://GPL;md5=4325afd396febcb659c36b49533135d4 \
  DEPENDS = libatomics-ops liboil libsamplerate0 libsndfile1 libtool
  # optional
  DEPENDS += udev alsa-lib glib-2.0 dbus gconf
 -DEPENDS += libjson gdbm speex libxml-parser-perl-native
 +DEPENDS += json-c gdbm speex libxml-parser-perl-native

  inherit autotools pkgconfig useradd gettext perlnative

 --
 1.8.4

 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-core
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe][PATCHv2] libjson: update to 0.11 and rename to json-c

2013-10-28 Thread Jack Mitchell

On 28/10/2013 19:32, Khem Raj wrote:

On Mon, Oct 21, 2013 at 1:56 AM, Jack Mitchell m...@communistcode.co.uk wrote:

From: Jack Mitchell jmitch...@cbnl.com

libjson is now known as json-c, it keeps support for the old
libjson namespace so it shouldn't break anything. Built without
parallel make as it would fail when it tries to link to link back
to itself, which is odd, but the official word is: don't build in
parallel.

Signed-off-by: Jack Mitchell jmitch...@cbnl.com
---

  v2: rebased to latest master

  meta/conf/distro/include/seperatebuilddir.inc |  2 +-
  meta/recipes-devtools/json-c/json-c_0.11.bb   | 13 +
  meta/recipes-devtools/libjson/libjson_0.9.bb  | 14 --
  meta/recipes-multimedia/pulseaudio/pulseaudio.inc |  2 +-
  4 files changed, 15 insertions(+), 16 deletions(-)
  create mode 100644 meta/recipes-devtools/json-c/json-c_0.11.bb
  delete mode 100644 meta/recipes-devtools/libjson/libjson_0.9.bb

diff --git a/meta/conf/distro/include/seperatebuilddir.inc 
b/meta/conf/distro/include/seperatebuilddir.inc
index c067183..e1a5c6b 100644
--- a/meta/conf/distro/include/seperatebuilddir.inc
+++ b/meta/conf/distro/include/seperatebuilddir.inc
@@ -294,7 +294,7 @@ B_pn-libice = ${SEPB}
  B_pn-libice-native = ${SEPB}
  B_pn-libid3tag = ${SEPB}
  B_pn-libidn = ${SEPB}
-B_pn-libjson = ${SEPB}
+B_pn-json-c = ${SEPB}
  B_pn-libksba = ${SEPB}
  B_pn-libmad = ${SEPB}
  B_pn-libmatchbox = ${SEPB}
diff --git a/meta/recipes-devtools/json-c/json-c_0.11.bb 
b/meta/recipes-devtools/json-c/json-c_0.11.bb
new file mode 100644
index 000..e0391f5
--- /dev/null
+++ b/meta/recipes-devtools/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;



be explicit and use BPN-PV so that if someday someone creates a
mutation with native of nativesdk then it works there too.
and keep RPROVIDE'ing libjson might make folks with feeds happier.
and use git format-patch -M next time


Thanks for the feedback Khem. My local copy actually has the RPROVIDES 
already and that will come in V3. The patch was formatted with -M, I 
think git couldn't cope with the move and the changes, so just decided 
it was a full rewrite.


As for the BPN-PV, I don't really understand, I just grepped for 
libjson, and changed all the occurrences... the separate build dir being 
one of them, how would you expect the change to look?


Cheers,
Jack.

--

  Jack Mitchell (j...@embed.me.uk)
  Embedded Systems Engineer
  http://www.embed.me.uk

--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe][PATCHv2] libjson: update to 0.11 and rename to json-c

2013-10-28 Thread Khem Raj
On Mon, Oct 28, 2013 at 1:53 PM, Jack Mitchell m...@communistcode.co.uk wrote:
 As for the BPN-PV, I don't really understand, I just grepped for libjson,
 and changed all the occurrences... the separate build dir being one of them,
 how would you expect the change to look?

just in SRC_URI use BPN-PN instead of P
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe][PATCHv2] libjson: update to 0.11 and rename to json-c

2013-10-23 Thread Burton, Ross
On 22 October 2013 23:30, Jack Mitchell m...@communistcode.co.uk wrote:
 Urgh, this library is a PITA. I'm going to be at the Dev Day/ELC-E myself so
 I might seek some professional guidance ;)

[plug] there's a maintainer QA session this morning... :)

Ross
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe][PATCHv2] libjson: update to 0.11 and rename to json-c

2013-10-22 Thread Saul Wold

On 10/21/2013 01:56 AM, Jack Mitchell wrote:

From: Jack Mitchell jmitch...@cbnl.com

libjson is now known as json-c, it keeps support for the old
libjson namespace so it shouldn't break anything. Built without
parallel make as it would fail when it tries to link to link back
to itself, which is odd, but the official word is: don't build in
parallel.



Jack,

Not sure what's going on yet, but I found a configure failure, see the 
attached log file.


Patch review is going to be a little slower this week as RP and a bunch 
of the Yocto Project community are at Yocto Project Dev Day and ELC-E 
the rest of this week.


Sau!


Signed-off-by: Jack Mitchell jmitch...@cbnl.com
---

  v2: rebased to latest master

  meta/conf/distro/include/seperatebuilddir.inc |  2 +-
  meta/recipes-devtools/json-c/json-c_0.11.bb   | 13 +
  meta/recipes-devtools/libjson/libjson_0.9.bb  | 14 --
  meta/recipes-multimedia/pulseaudio/pulseaudio.inc |  2 +-
  4 files changed, 15 insertions(+), 16 deletions(-)
  create mode 100644 meta/recipes-devtools/json-c/json-c_0.11.bb
  delete mode 100644 meta/recipes-devtools/libjson/libjson_0.9.bb

diff --git a/meta/conf/distro/include/seperatebuilddir.inc 
b/meta/conf/distro/include/seperatebuilddir.inc
index c067183..e1a5c6b 100644
--- a/meta/conf/distro/include/seperatebuilddir.inc
+++ b/meta/conf/distro/include/seperatebuilddir.inc
@@ -294,7 +294,7 @@ B_pn-libice = ${SEPB}
  B_pn-libice-native = ${SEPB}
  B_pn-libid3tag = ${SEPB}
  B_pn-libidn = ${SEPB}
-B_pn-libjson = ${SEPB}
+B_pn-json-c = ${SEPB}
  B_pn-libksba = ${SEPB}
  B_pn-libmad = ${SEPB}
  B_pn-libmatchbox = ${SEPB}
diff --git a/meta/recipes-devtools/json-c/json-c_0.11.bb 
b/meta/recipes-devtools/json-c/json-c_0.11.bb
new file mode 100644
index 000..e0391f5
--- /dev/null
+++ b/meta/recipes-devtools/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
diff --git a/meta/recipes-devtools/libjson/libjson_0.9.bb 
b/meta/recipes-devtools/libjson/libjson_0.9.bb
deleted file mode 100644
index e4951a8..000
--- a/meta/recipes-devtools/libjson/libjson_0.9.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-DESCRIPTION = JSON-C - A JSON implementation in C
-HOMEPAGE = http://oss.metaparadigm.com/json-c/;
-
-LICENSE = MIT
-LIC_FILES_CHKSUM = file://COPYING;md5=30a276a476b02c2dcd0849bde417fb17
-
-SRC_URI = http://oss.metaparadigm.com/json-c/json-c-${PV}.tar.gz;
-SRC_URI[md5sum] = 3a13d264528dcbaf3931b0cede24abae
-SRC_URI[sha256sum] = 
702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475
-
-S = ${WORKDIR}/json-c-${PV}
-
-
-inherit autotools
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc 
b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index 4c10aa9..475da41 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
file://GPL;md5=4325afd396febcb659c36b49533135d4 \
  DEPENDS = libatomics-ops liboil libsamplerate0 libsndfile1 libtool
  # optional
  DEPENDS += udev alsa-lib glib-2.0 dbus gconf
-DEPENDS += libjson gdbm speex libxml-parser-perl-native
+DEPENDS += json-c gdbm speex libxml-parser-perl-native

  inherit autotools pkgconfig useradd gettext perlnative


DEBUG: Executing python function sysroot_cleansstate
DEBUG: Python function sysroot_cleansstate finished
DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 
'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell function autotools_preconfigure
DEBUG: Shell function autotools_preconfigure finished
DEBUG: Executing shell function do_configure
automake (GNU automake) 1.13.4
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later 
http://gnu.org/licenses/gpl-2.0.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey tro...@redhat.com
   and Alexandre Duret-Lutz a...@gnu.org.
AUTOV is 1.13
NOTE: Executing ACLOCAL=aclocal 
--system-acdir=/home/sgw/yocto/builds/minnow/tmp/work/core2-poky-linux/json-c/0.11-r0/build/aclocal-copy/
 
--automake-acdir=/home/sgw/yocto/builds/minnow/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.13
 autoreconf --verbose --install --force --exclude=autopoint
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal 

Re: [OE-core] [oe][PATCHv2] libjson: update to 0.11 and rename to json-c

2013-10-22 Thread Jack Mitchell

On 10/22/13 21:44, Saul Wold wrote:

On 10/21/2013 01:56 AM, Jack Mitchell wrote:

From: Jack Mitchell jmitch...@cbnl.com

libjson is now known as json-c, it keeps support for the old
libjson namespace so it shouldn't break anything. Built without
parallel make as it would fail when it tries to link to link back
to itself, which is odd, but the official word is: don't build in
parallel.



Jack,

Not sure what's going on yet, but I found a configure failure, see the 
attached log file.


Patch review is going to be a little slower this week as RP and a 
bunch of the Yocto Project community are at Yocto Project Dev Day and 
ELC-E the rest of this week.


Sau!


Urgh, this library is a PITA. I'm going to be at the Dev Day/ELC-E 
myself so I might seek some professional guidance ;)





Signed-off-by: Jack Mitchell jmitch...@cbnl.com
---

  v2: rebased to latest master

  meta/conf/distro/include/seperatebuilddir.inc |  2 +-
  meta/recipes-devtools/json-c/json-c_0.11.bb   | 13 +
  meta/recipes-devtools/libjson/libjson_0.9.bb  | 14 --
  meta/recipes-multimedia/pulseaudio/pulseaudio.inc |  2 +-
  4 files changed, 15 insertions(+), 16 deletions(-)
  create mode 100644 meta/recipes-devtools/json-c/json-c_0.11.bb
  delete mode 100644 meta/recipes-devtools/libjson/libjson_0.9.bb

diff --git a/meta/conf/distro/include/seperatebuilddir.inc 
b/meta/conf/distro/include/seperatebuilddir.inc

index c067183..e1a5c6b 100644
--- a/meta/conf/distro/include/seperatebuilddir.inc
+++ b/meta/conf/distro/include/seperatebuilddir.inc
@@ -294,7 +294,7 @@ B_pn-libice = ${SEPB}
  B_pn-libice-native = ${SEPB}
  B_pn-libid3tag = ${SEPB}
  B_pn-libidn = ${SEPB}
-B_pn-libjson = ${SEPB}
+B_pn-json-c = ${SEPB}
  B_pn-libksba = ${SEPB}
  B_pn-libmad = ${SEPB}
  B_pn-libmatchbox = ${SEPB}
diff --git a/meta/recipes-devtools/json-c/json-c_0.11.bb 
b/meta/recipes-devtools/json-c/json-c_0.11.bb

new file mode 100644
index 000..e0391f5
--- /dev/null
+++ b/meta/recipes-devtools/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
diff --git a/meta/recipes-devtools/libjson/libjson_0.9.bb 
b/meta/recipes-devtools/libjson/libjson_0.9.bb

deleted file mode 100644
index e4951a8..000
--- a/meta/recipes-devtools/libjson/libjson_0.9.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-DESCRIPTION = JSON-C - A JSON implementation in C
-HOMEPAGE = http://oss.metaparadigm.com/json-c/;
-
-LICENSE = MIT
-LIC_FILES_CHKSUM = 
file://COPYING;md5=30a276a476b02c2dcd0849bde417fb17

-
-SRC_URI = http://oss.metaparadigm.com/json-c/json-c-${PV}.tar.gz;
-SRC_URI[md5sum] = 3a13d264528dcbaf3931b0cede24abae
-SRC_URI[sha256sum] = 
702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475

-
-S = ${WORKDIR}/json-c-${PV}
-
-
-inherit autotools
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc 
b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc

index 4c10aa9..475da41 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
file://GPL;md5=4325afd396febcb659c36b49533135d4 \

  DEPENDS = libatomics-ops liboil libsamplerate0 libsndfile1 libtool
  # optional
  DEPENDS += udev alsa-lib glib-2.0 dbus gconf
-DEPENDS += libjson gdbm speex libxml-parser-perl-native
+DEPENDS += json-c gdbm speex libxml-parser-perl-native

  inherit autotools pkgconfig useradd gettext perlnative




___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [oe][PATCHv2] libjson: update to 0.11 and rename to json-c

2013-10-21 Thread Jack Mitchell
From: Jack Mitchell jmitch...@cbnl.com

libjson is now known as json-c, it keeps support for the old
libjson namespace so it shouldn't break anything. Built without
parallel make as it would fail when it tries to link to link back
to itself, which is odd, but the official word is: don't build in
parallel.

Signed-off-by: Jack Mitchell jmitch...@cbnl.com
---

 v2: rebased to latest master

 meta/conf/distro/include/seperatebuilddir.inc |  2 +-
 meta/recipes-devtools/json-c/json-c_0.11.bb   | 13 +
 meta/recipes-devtools/libjson/libjson_0.9.bb  | 14 --
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc |  2 +-
 4 files changed, 15 insertions(+), 16 deletions(-)
 create mode 100644 meta/recipes-devtools/json-c/json-c_0.11.bb
 delete mode 100644 meta/recipes-devtools/libjson/libjson_0.9.bb

diff --git a/meta/conf/distro/include/seperatebuilddir.inc 
b/meta/conf/distro/include/seperatebuilddir.inc
index c067183..e1a5c6b 100644
--- a/meta/conf/distro/include/seperatebuilddir.inc
+++ b/meta/conf/distro/include/seperatebuilddir.inc
@@ -294,7 +294,7 @@ B_pn-libice = ${SEPB}
 B_pn-libice-native = ${SEPB}
 B_pn-libid3tag = ${SEPB}
 B_pn-libidn = ${SEPB}
-B_pn-libjson = ${SEPB}
+B_pn-json-c = ${SEPB}
 B_pn-libksba = ${SEPB}
 B_pn-libmad = ${SEPB}
 B_pn-libmatchbox = ${SEPB}
diff --git a/meta/recipes-devtools/json-c/json-c_0.11.bb 
b/meta/recipes-devtools/json-c/json-c_0.11.bb
new file mode 100644
index 000..e0391f5
--- /dev/null
+++ b/meta/recipes-devtools/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
diff --git a/meta/recipes-devtools/libjson/libjson_0.9.bb 
b/meta/recipes-devtools/libjson/libjson_0.9.bb
deleted file mode 100644
index e4951a8..000
--- a/meta/recipes-devtools/libjson/libjson_0.9.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-DESCRIPTION = JSON-C - A JSON implementation in C
-HOMEPAGE = http://oss.metaparadigm.com/json-c/;
-
-LICENSE = MIT
-LIC_FILES_CHKSUM = file://COPYING;md5=30a276a476b02c2dcd0849bde417fb17
-
-SRC_URI = http://oss.metaparadigm.com/json-c/json-c-${PV}.tar.gz;
-SRC_URI[md5sum] = 3a13d264528dcbaf3931b0cede24abae
-SRC_URI[sha256sum] = 
702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475
-
-S = ${WORKDIR}/json-c-${PV}
-
-
-inherit autotools
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc 
b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index 4c10aa9..475da41 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
file://GPL;md5=4325afd396febcb659c36b49533135d4 \
 DEPENDS = libatomics-ops liboil libsamplerate0 libsndfile1 libtool
 # optional
 DEPENDS += udev alsa-lib glib-2.0 dbus gconf
-DEPENDS += libjson gdbm speex libxml-parser-perl-native
+DEPENDS += json-c gdbm speex libxml-parser-perl-native
 
 inherit autotools pkgconfig useradd gettext perlnative
 
-- 
1.8.4

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core