<div dir="ltr">Also the version went from 0.13.2 to 1.0 which doesn&#39;t match with the sources. Don&#39;t forget to set PV when migrating recipes to use git fetcher.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 11, 2019 at 3:58 AM Douglas Royds via Openembedded-core &lt;<a href="mailto:openembedded-core@lists.openembedded.org">openembedded-core@lists.openembedded.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Upstream json-c haven&#39;t made a release since March 2018.<br>
Adopt the current HEAD revision, pulling it directly from git.<br>
<br>
icecc preprocesses source files locally before shipping them off to be compiled<br>
on remote hosts. This preprocessing removes comments, including /* fallthough */<br>
comments in switch statements that normally prevent an implicit-fallthrough<br>
warning, see <a href="https://github.com/icecc/icecream/issues/419" rel="noreferrer" target="_blank">https://github.com/icecc/icecream/issues/419</a><br>
<br>
Rather than turning off -Werror by patching <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>, the upstream project<br>
has implemented a configure option, --disable-werror, in response to Ross&#39;s<br>
<a href="https://github.com/json-c/json-c/issues/489" rel="noreferrer" target="_blank">https://github.com/json-c/json-c/issues/489</a><br>
<br>
Signed-off-by: Douglas Royds &lt;<a href="mailto:douglas.royds@taitradio.com" target="_blank">douglas.royds@taitradio.com</a>&gt;<br>
---<br>
 meta/recipes-devtools/json-c/<a href="http://json-c_0.13.1.bb" rel="noreferrer" target="_blank">json-c_0.13.1.bb</a> | 30 -------------------<br>
 meta/recipes-devtools/json-c/<a href="http://json-c_git.bb" rel="noreferrer" target="_blank">json-c_git.bb</a>    | 19 ++++++++++++<br>
 2 files changed, 19 insertions(+), 30 deletions(-)<br>
 delete mode 100644 meta/recipes-devtools/json-c/<a href="http://json-c_0.13.1.bb" rel="noreferrer" target="_blank">json-c_0.13.1.bb</a><br>
 create mode 100644 meta/recipes-devtools/json-c/<a href="http://json-c_git.bb" rel="noreferrer" target="_blank">json-c_git.bb</a><br>
<br>
diff --git a/meta/recipes-devtools/json-c/<a href="http://json-c_0.13.1.bb" rel="noreferrer" target="_blank">json-c_0.13.1.bb</a> b/meta/recipes-devtools/json-c/<a href="http://json-c_0.13.1.bb" rel="noreferrer" target="_blank">json-c_0.13.1.bb</a><br>
deleted file mode 100644<br>
index 5b10e68297..0000000000<br>
--- a/meta/recipes-devtools/json-c/<a href="http://json-c_0.13.1.bb" rel="noreferrer" target="_blank">json-c_0.13.1.bb</a><br>
+++ /dev/null<br>
@@ -1,30 +0,0 @@<br>
-SUMMARY = &quot;C bindings for apps which will manipulate JSON data&quot;<br>
-DESCRIPTION = &quot;JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C.&quot;<br>
-HOMEPAGE = &quot;<a href="https://github.com/json-c/json-c/wiki" rel="noreferrer" target="_blank">https://github.com/json-c/json-c/wiki</a>&quot;<br>
-LICENSE = &quot;MIT&quot;<br>
-LIC_FILES_CHKSUM = &quot;file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2&quot;<br>
-<br>
-SRC_URI = &quot;<a href="https://s3.amazonaws.com/json-c_releases/releases/$%7BBP%7D.tar.gz" rel="noreferrer" target="_blank">https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz</a>&quot;<br>
-SRC_URI[md5sum] = &quot;04969ad59cc37bddd83741a08b98f350&quot;<br>
-SRC_URI[sha256sum] = &quot;b87e608d4d3f7bfdd36ef78d56d53c74e66ab278d318b71e6002a369d36f4873&quot;<br>
-<br>
-UPSTREAM_CHECK_REGEX = &quot;json-c-(?P&lt;pver&gt;\d+(\.\d+)+).tar&quot;<br>
-# json-c releases page is fetching the list of releases in some weird XML format<br>
-# from <a href="https://s3.amazonaws.com/json-c_releases" rel="noreferrer" target="_blank">https://s3.amazonaws.com/json-c_releases</a> and processes it with javascript :-/<br>
-#UPSTREAM_CHECK_URI = &quot;<a href="https://s3.amazonaws.com/json-c_releases/releases/index.html" rel="noreferrer" target="_blank">https://s3.amazonaws.com/json-c_releases/releases/index.html</a>&quot;<br>
-RECIPE_UPSTREAM_VERSION = &quot;0.13.1&quot;<br>
-RECIPE_UPSTREAM_DATE = &quot;Mar 04, 2018&quot;<br>
-CHECK_DATE = &quot;May 02, 2018&quot;<br>
-<br>
-RPROVIDES_${PN} = &quot;libjson&quot;<br>
-<br>
-inherit autotools<br>
-<br>
-EXTRA_OECONF = &quot;--enable-rdrand&quot;<br>
-<br>
-do_configure_prepend() {<br>
-    # Clean up autoconf cruft that should not be in the tarball<br>
-    rm -f ${S}/config.status<br>
-}<br>
-<br>
-BBCLASSEXTEND = &quot;native nativesdk&quot;<br>
diff --git a/meta/recipes-devtools/json-c/<a href="http://json-c_git.bb" rel="noreferrer" target="_blank">json-c_git.bb</a> b/meta/recipes-devtools/json-c/<a href="http://json-c_git.bb" rel="noreferrer" target="_blank">json-c_git.bb</a><br>
new file mode 100644<br>
index 0000000000..07daa5ba11<br>
--- /dev/null<br>
+++ b/meta/recipes-devtools/json-c/<a href="http://json-c_git.bb" rel="noreferrer" target="_blank">json-c_git.bb</a><br>
@@ -0,0 +1,19 @@<br>
+SUMMARY = &quot;C bindings for apps which will manipulate JSON data&quot;<br>
+DESCRIPTION = &quot;JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C.&quot;<br>
+HOMEPAGE = &quot;<a href="https://github.com/json-c/json-c/wiki" rel="noreferrer" target="_blank">https://github.com/json-c/json-c/wiki</a>&quot;<br>
+LICENSE = &quot;MIT&quot;<br>
+LIC_FILES_CHKSUM = &quot;file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2&quot;<br>
+<br>
+SRC_URI = &quot;git://<a href="http://github.com/json-c/json-c.git" rel="noreferrer" target="_blank">github.com/json-c/json-c.git</a>&quot;<br>
+SRCREV = &quot;07ea04e65193c3e5c902c5b79421d5fa48ff67c7&quot;<br>
+S = &quot;${WORKDIR}/git&quot;<br>
+<br>
+RPROVIDES_${PN} = &quot;libjson&quot;<br>
+<br>
+inherit autotools<br>
+<br>
+EXTRA_OECONF = &quot;--disable-werror \<br>
+                --enable-rdrand \<br>
+                &quot;<br>
+<br>
+BBCLASSEXTEND = &quot;native nativesdk&quot;<br>
-- <br>
2.17.1<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>