Skip to contentSkip to conversation

package/json-c: bump to version 0.14

PATCH New Ryan Barnett 2 participants 2 messages Apr 30, 2020 – Aug 27, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/json-c: bump to version 0.14

* Switch to cmake infrastructure
* Update hash file to two space format

Results of test-pkg:

  $ ./utils/test-pkg -c json-c.config -p json-c
                             br-arm-full [1/6]: OK
                  br-arm-cortex-a9-glibc [2/6]: OK
                   br-arm-cortex-m4-full [3/6]: OK
                          br-x86-64-musl [4/6]: OK
                      br-arm-full-static [5/6]: OK
                            sourcery-arm [6/6]: OK
  6 builds, 0 skipped, 0 build failed, 0 legal-info failed
---
 package/json-c/json-c.hash |  4 ++--
 package/json-c/json-c.mk   | 14 +++-----------
 2 files changed, 5 insertions(+), 13 deletions(-)
package/json-c/json-c.hash +2 -2
index 0e03007476..28715418e5 100644
@@ -1,4 +1,4 @@
 # From https://github.com/json-c/json-c/wiki
-sha256 b87e608d4d3f7bfdd36ef78d56d53c74e66ab278d318b71e6002a369d36f4873  json-c-0.13.1.tar.gz
+sha256  b377de08c9b23ca3b37d9a9828107dff1de5ce208ff4ebb35005a794f30c6870  json-c-0.14.tar.gz
 # Locally calculated
-sha256 74c1e6ca5eba76b54d0ad00d4815c8315c1b3bc45ff99de61d103dc92486284c  COPYING
+sha256  74c1e6ca5eba76b54d0ad00d4815c8315c1b3bc45ff99de61d103dc92486284c  COPYING
package/json-c/json-c.mk +3 -11
index 2788fe563b..3e17effdad 100644
@@ -4,19 +4,11 @@
 #
 ################################################################################
 
-JSON_C_VERSION = 0.13.1
+JSON_C_VERSION = 0.14
 JSON_C_SITE = https://s3.amazonaws.com/json-c_releases/releases
 JSON_C_INSTALL_STAGING = YES
 JSON_C_LICENSE = MIT
 JSON_C_LICENSE_FILES = COPYING
 
-# update config.h.in timestamp to avoid autoheader run
-define JSON_C_UPDATE_CONFIG_TIMESTAMP
-	touch $(@D)/config.h.in
-endef
-
-JSON_C_POST_EXTRACT_HOOKS += JSON_C_UPDATE_CONFIG_TIMESTAMP
-HOST_JSON_C_POST_EXTRACT_HOOKS += JSON_C_UPDATE_CONFIG_TIMESTAMP
-
-$(eval $(autotools-package))
-$(eval $(host-autotools-package))
+$(eval $(cmake-package))
+$(eval $(host-cmake-package))
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 package/json-c: bump to version 0.14

Quoted 14 lines · On Wed, 29 Apr 2020 21:25:05 -0500 Ryan Barnett <[email protected]> wrote:

* Switch to cmake infrastructure
* Update hash file to two space format

Results of test-pkg:

  $ ./utils/test-pkg -c json-c.config -p json-c
                             br-arm-full [1/6]: OK
                  br-arm-cortex-a9-glibc [2/6]: OK
                   br-arm-cortex-m4-full [3/6]: OK
                          br-x86-64-musl [4/6]: OK
                      br-arm-full-static [5/6]: OK
                            sourcery-arm [6/6]: OK
  6 builds, 0 skipped, 0 build failed, 0 legal-info failed
Quoted 5 lines
---
 package/json-c/json-c.hash |  4 ++--
 package/json-c/json-c.mk   | 14 +++-----------
 2 files changed, 5 insertions(+), 13 deletions(-)

Sorry, another patch posted by Christopher Pelloux doing the same thing got merged, even though it was posted after yours. Sorry about that :-/

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com