[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/62: gnu: jansson: Update to 2.14.
From: |
guix-commits |
Subject: |
17/62: gnu: jansson: Update to 2.14. |
Date: |
Sun, 26 Jun 2022 06:09:07 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit fdd4eb53731ba89b8c434fdd88b82301c0e83aa7
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Jun 26 01:02:30 2022 +0200
gnu: jansson: Update to 2.14.
* gnu/packages/web.scm (jansson): Update to 2.14.
[source](uri): Change to new download location.
[arguments]: Add #:phases to fix a test failure.
[home-page]: Follow redirect.
---
gnu/packages/web.scm | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 006ac26ace..294d8f5ab3 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1029,19 +1029,29 @@ libraries for working with JNLP applets.")
(define-public jansson
(package
(name "jansson")
- (version "2.13.1")
+ (version "2.14")
(source (origin
(method url-fetch)
- (uri
- (string-append "http://www.digip.org/jansson/releases/jansson-"
- version ".tar.bz2"))
+ (uri (string-append "https://github.com/akheron/jansson"
+ "/releases/download/v" version
+ "/jansson-" version ".tar.bz2"))
(sha256
(base32
- "1g8h18vh8gyxlwfmvdivdp1siad26ywj5zr4j4avgdyjg7wa147f"))))
+ "1fdgji964mrrz19glx0zh91asji542fvybymvzk6rrbagkr5dagv"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags '("--disable-static")))
- (home-page "http://www.digip.org/jansson/")
+ (list
+ #:configure-flags #~'("--disable-static")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-tests
+ (lambda _
+ ;; Take a fix from upstream for testing with symbol versioning:
+ ;; https://github.com/akheron/jansson/pull/593
+ (substitute* "test/suites/api/check-exports"
+ (("(grep ' \\[DT\\] ' \\$test_log/symbols.*) \\| sort" _ cmd)
+ (string-append cmd "| sed 's/@@libjansson.*//' | sort"))))))))
+ (home-page "https://github.com/akheron/jansson")
(synopsis "JSON C library")
(description
"Jansson is a C library for encoding, decoding and manipulating JSON
- 13/62: gnu: perl: Update to 5.36.0., (continued)
- 13/62: gnu: perl: Update to 5.36.0., guix-commits, 2022/06/26
- 12/62: gnu: expat: Update to 2.4.8., guix-commits, 2022/06/26
- 32/62: gnu: libmnl: Update to 1.0.5., guix-commits, 2022/06/26
- 34/62: gnu: iptables: Update to 1.8.8., guix-commits, 2022/06/26
- 36/62: gnu: iproute2: Remove input labels., guix-commits, 2022/06/26
- 40/62: gnu: libfaketime: Update to 0.9.10., guix-commits, 2022/06/26
- 29/62: gnu: libxcursor: Update to 1.2.1., guix-commits, 2022/06/26
- 01/62: gnu: libdrm: Use G-expressions., guix-commits, 2022/06/26
- 07/62: gnu: coreutils: Update to 9.1., guix-commits, 2022/06/26
- 16/62: gnu: libxml2: Update to 2.9.14., guix-commits, 2022/06/26
- 17/62: gnu: jansson: Update to 2.14.,
guix-commits <=
- 33/62: gnu: iptables: Add release-monitoring-url., guix-commits, 2022/06/26
- 20/62: gnu: libXft: Update to 2.3.4., guix-commits, 2022/06/26
- 23/62: gnu: xcb-proto: Remove input labels., guix-commits, 2022/06/26
- 26/62: gnu: libx11: Update to 1.8.1., guix-commits, 2022/06/26
- 06/62: gnu: linux-libre-headers: Update to 5.15.49., guix-commits, 2022/06/26
- 27/62: gnu: xorgproto: Update to 2022.1., guix-commits, 2022/06/26
- 22/62: gnu: xcb-proto: Update to 1.15.2., guix-commits, 2022/06/26
- 09/62: gnu: libsigsegv: Update to 2.14., guix-commits, 2022/06/26
- 28/62: gnu: libxvmc: Update to 1.0.13., guix-commits, 2022/06/26
- 37/62: gnu: libevent: Remove input label., guix-commits, 2022/06/26