GNU bug report logs - #73794
[PATCH staging 0/2] Upgrade json-c to v0.18

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Aaron Covrig <aaron.covrig.us@HIDDEN>; Keywords: patch; dated Sun, 13 Oct 2024 15:40:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 73794 <at> debbugs.gnu.org:


Received: (at 73794) by debbugs.gnu.org; 27 Oct 2024 22:17:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 27 18:17:35 2024
Received: from localhost ([127.0.0.1]:46638 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5BZm-0006BO-KL
	for submit <at> debbugs.gnu.org; Sun, 27 Oct 2024 18:17:35 -0400
Received: from mail-qk1-f180.google.com ([209.85.222.180]:48606)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aaron.covrig.us@HIDDEN>) id 1t5BZi-0006Av-9N
 for 73794 <at> debbugs.gnu.org; Sun, 27 Oct 2024 18:17:30 -0400
Received: by mail-qk1-f180.google.com with SMTP id
 af79cd13be357-7b1539faa0bso268768285a.1
 for <73794 <at> debbugs.gnu.org>; Sun, 27 Oct 2024 15:16:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=ieee.org; s=google; t=1730067348; x=1730672148; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=4S3YCloY0ne0Cz/alZZxt/I+0bp4ooDCCTceYOjFMQ4=;
 b=Ic8sH/jVTMVMPECyrDD7k+JsBg/Bt0se0768+glCaKFJm4YN9OQobvLcJm+AkQj9rI
 U6haDxFNkfgq/jN4vrCs6o46meV7V1/QHY3Iwpg/uIqnZ7wMM3VnVrvjAP1/w3t0caUh
 uCTb8Gv4mwqFm007XL8Phhy5EYldlpEqtULFo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1730067348; x=1730672148;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=4S3YCloY0ne0Cz/alZZxt/I+0bp4ooDCCTceYOjFMQ4=;
 b=kXf5lBdNf8OQ9tIZ7v/NtVKSFm62JkwJIO3P6N/ehsuX2GuOL0bPJ9jP2AUE2NI0mV
 oWZX4J1Q8M7F0KyS3yBv2NVhWK+0kKlvOhoIGm+cJSLMntAdwxrcQXRkz9s7JmTuvMxJ
 vVoaSf7AKNId0exVaOCwU/8Tne8Mx/3VsLE35LetkQ0xd7xG2roKe36AsipL+qXF0z2/
 OHdhik+8n/cu6ndeqdHWiSnO5DsXusJ78WPqaBGO5siPTfhRVpJ0T1c8gjmlfCCRFTtT
 lPsDM43ko1pOz6y3jwoA0KXY/LFh02EbkOM9UIh0gnuDnnHlxyqSr4GNArousVW1x8rU
 V/tA==
X-Gm-Message-State: AOJu0YwmeTvXYNkyKjVwS64J7wl5LuiHGS9kJGsjs3oytBewP4ysYqnE
 a7gVjat//2kc7Lm3gKYaGhF5XcuMeyQVuCcUs3LpmeRoELCT5dhKZHR2bXtDW9rDZyAYsBbqCDC
 wQS7OZOwA3zTg+AnnZc6coR6sT7BgIT5rMDhdypvj3NHtDPYjqfHn9LHk84ehqF01wE1JQ/uDcW
 NJ8VX5z/p28HJ6O2+W/YH2VeppTy9eX0hKEZO0dLs=
X-Google-Smtp-Source: AGHT+IGWy8EKkwv6gUR60z7oYtLZs6Yh2IhIfX06ao7UJ2CcWCL+Vo+NPedabYFw2nhn5OFP6zcZXA==
X-Received: by 2002:a05:620a:371a:b0:7b1:3754:7d83 with SMTP id
 af79cd13be357-7b193ed75a4mr1155938185a.9.1730067347546; 
 Sun, 27 Oct 2024 15:15:47 -0700 (PDT)
Received: from mobile-dev.fios-router.home
 (pool-71-244-152-222.bltmmd.fios.verizon.net. [71.244.152.222])
 by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7b18d3261e5sm266614885a.95.2024.10.27.15.15.45
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 27 Oct 2024 15:15:46 -0700 (PDT)
From: Aaron Covrig <aaron.covrig.us@HIDDEN>
To: 73794 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: json-c: Update to v0.18
Date: Sun, 27 Oct 2024 18:15:17 -0400
Message-ID: <20241027221542.51629-1-aaron.covrig.us@HIDDEN>
X-Mailer: git-send-email 2.47.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73794
Cc: Aaron Covrig <aaron.covrig.us@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/web.scm (json-c): Update to v0.18
* gnu/packages/web.scm (json-c-0.15): New variable
* gnu/packages/web.scm: Deprecate json-c < 0.18
---
 gnu/packages/web.scm | 82 +++++++++++++++++++++++++++-----------------
 1 file changed, 50 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 34739bf088..0d21306e6e 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -87,6 +87,7 @@ (define-module (gnu packages web)
   #:use-module (ice-9 match)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
+  #:use-module (guix deprecation)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix cvs-download)
@@ -1269,16 +1270,17 @@ (define-public jansson
 (define-public json-c
   (package
     (name "json-c")
-    (version "0.15")
-    (source (origin
-             (method url-fetch)
-             (uri (string-append
-                   "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
-                   version ".tar.gz"))
-             (sha256
-              (base32
-               "1im484iz08j3gmzpw07v16brwq46pxxj65i996kkp2vivcfhmn5q"))))
+    (version "0.18")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "090pn7gyicvpqq01451zhkjw1fw3h4l6v2f6mxlvhrli8x3b0sl7"))))
     (build-system cmake-build-system)
+    (native-inputs (list doxygen))
     (home-page "https://github.com/json-c/json-c/wiki")
     (synopsis "JSON implementation in C")
     (description
@@ -1289,9 +1291,24 @@ (define-public json-c
     (license license:x11)))
 
 ;; TODO: Remove these old versions when all dependents have been updated.
-(define-public json-c-0.13
+(define-deprecated/public json-c-0.15 #f
   (package
     (inherit json-c)
+    (name "json-c")
+    (version "0.15")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "1im484iz08j3gmzpw07v16brwq46pxxj65i996kkp2vivcfhmn5q"))))
+    (build-system cmake-build-system)))
+
+(define-deprecated/public json-c-0.13 #f
+  (package
+    (inherit json-c-0.15)
     (version "0.13.1")
     (source (origin
              (method url-fetch)
@@ -1312,31 +1329,32 @@ (define-public json-c-0.13
                  #t))))
     (build-system gnu-build-system)))
 
-(define-public json-c-0.12
+(define-deprecated/public json-c-0.12 #f
   (package
     (inherit json-c-0.13)
     (version "0.12.1")
-    (source (origin
-             (method url-fetch)
-             (uri (string-append
-                   "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
-                   version ".tar.gz"))
-             (sha256
-              (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
-              (patches (search-patches "json-c-0.12-CVE-2020-12762.patch"))
-             (modules '((guix build utils)))
-             (snippet
-              '(begin
-                 ;; Somehow 'config.h.in' is older than
-                 ;; 'aclocal.m4', which would trigger a rule to
-                 ;; run 'autoheader'.
-                 (set-file-time "config.h.in"
-                                (stat "aclocal.m4"))
-
-                 ;; Don't try to build with -Werror.
-                 (substitute* (find-files "." "Makefile\\.in")
-                   (("-Werror") ""))
-                 #t))))))
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
+       (patches (search-patches "json-c-0.12-CVE-2020-12762.patch"))
+       (modules '((guix build utils)))
+       (snippet '(begin
+                   ;; Somehow 'config.h.in' is older than
+                   ;; 'aclocal.m4', which would trigger a rule to
+                   ;; run 'autoheader'.
+                   (set-file-time "config.h.in"
+                                  (stat "aclocal.m4"))
+
+                   ;; Don't try to build with -Werror.
+                   (substitute* (find-files "." "Makefile\\.in")
+                     (("-Werror")
+                      ""))
+                   #t))))))
 
 (define-public json-parser
   (package

base-commit: 091131af64fd4e4e925fff829fa19097cfcdfcc5
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#73794; Package guix-patches. Full text available.

Message received at 73794 <at> debbugs.gnu.org:


Received: (at 73794) by debbugs.gnu.org; 27 Oct 2024 22:17:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 27 18:17:30 2024
Received: from localhost ([127.0.0.1]:46635 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5BZi-0006B7-4T
	for submit <at> debbugs.gnu.org; Sun, 27 Oct 2024 18:17:30 -0400
Received: from mail-qk1-f173.google.com ([209.85.222.173]:51677)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aaron.covrig.us@HIDDEN>) id 1t5BZe-0006Ay-Vt
 for 73794 <at> debbugs.gnu.org; Sun, 27 Oct 2024 18:17:28 -0400
Received: by mail-qk1-f173.google.com with SMTP id
 af79cd13be357-7b147a2ff04so334418485a.3
 for <73794 <at> debbugs.gnu.org>; Sun, 27 Oct 2024 15:16:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=ieee.org; s=google; t=1730067350; x=1730672150; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=++ktzj4lmY9mYlgvIWrvnO8XyHWwQ0qa5F2ygVB7lqc=;
 b=aFgjJxrpOQ2uIN1BC3oLN/i4+BqR7tlW3L6tK2msdHaIqfg/HeLCOEztWIc5bafQGF
 /13qJi9ADkQPGJXILqLynBPzE6iaewAFN6/Ok7hHJlNUE7/xs1Rf2iL0GLllnyZmTa+l
 yI+iVEjMWqJIJSDpBPQaBn1TuA8qc5s53FrLM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1730067350; x=1730672150;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=++ktzj4lmY9mYlgvIWrvnO8XyHWwQ0qa5F2ygVB7lqc=;
 b=eMCz4TGedxJsOH8R/ab1SWsTAVO+h8mIo/GGSmavaO3Um1vijh0AEH8DUAbSoz1ShS
 xZEZqimMaQVtwMds84Gmse//TPT8GnSsOsAxwAysvGdsyo5ZL/lrpA8fs4oZf0uH4OyF
 T9qdwONJxgQJA2BctH3j20ykCZwKIhhi3G8si0gfpPq/UqcmPeTDRYElHltIjD+XNXFT
 gHvAuf5shdjc60ay1xQBaEqMUOAuUrp7YZLh11ObK4UyiRAC1MYxPT6ZSEy0quJBUF5R
 T1NLnjKZwS/n5vCmUDYq7Vq+1acuK4r4JH9hONYn6Sscc7jrl5XyieKwELUf++FpYIgw
 sGag==
X-Gm-Message-State: AOJu0Yx3S1ep+LKU2IttAFDrE9t+7XVPfMr6BRpbEUW6oT/WcT9LMOg3
 5+joHKE/sm2kE5ylrcP6lsnCfTRp3uHALMZWvhYb3j6yH8M/xmYTw5ilSMaNkSwaNaxFEqcPjnK
 fmLiPMxE2Q9X37CpwMJBW1noUJpjNXkL6tocjZOadiQvzuMQM7b34gN8cXV0GwUjwdoXw91IYkv
 PgEcPY4amcghiPWNAB5fp5Eq4GXT7Fnq715+nN1jE=
X-Google-Smtp-Source: AGHT+IH96jKzOJtxBCZeqJJUKMRJhBX+q5TZgQzYS/VE7PgoTzgxDEhIkdvhOpYHy9B9SO1JAOSCIA==
X-Received: by 2002:a05:620a:45a2:b0:7b1:374d:760 with SMTP id
 af79cd13be357-7b193ed5c34mr935038785a.11.1730067350316; 
 Sun, 27 Oct 2024 15:15:50 -0700 (PDT)
Received: from mobile-dev.fios-router.home
 (pool-71-244-152-222.bltmmd.fios.verizon.net. [71.244.152.222])
 by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7b18d3261e5sm266614885a.95.2024.10.27.15.15.49
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 27 Oct 2024 15:15:49 -0700 (PDT)
From: Aaron Covrig <aaron.covrig.us@HIDDEN>
To: 73794 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: hubbub: Remove dependency on json-c v0.12
Date: Sun, 27 Oct 2024 18:15:18 -0400
Message-ID: <20241027221542.51629-2-aaron.covrig.us@HIDDEN>
X-Mailer: git-send-email 2.47.0
In-Reply-To: <20241027221542.51629-1-aaron.covrig.us@HIDDEN>
References: <20241027221542.51629-1-aaron.covrig.us@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73794
Cc: Aaron Covrig <aaron.covrig.us@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/web.scm (hubbub): Update json-c dependency
---
 gnu/packages/web.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 0d21306e6e..01b256a424 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5823,7 +5823,7 @@ (define-public hubbub
            pkg-config
            doxygen
            gperf
-           json-c-0.12 ; check whether json-c-0.12 can be removed
+           json-c
            perl))
     (propagated-inputs
      (list libparserutils)) ;for libhubbub.pc
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#73794; Package guix-patches. Full text available.

Message received at 73794 <at> debbugs.gnu.org:


Received: (at 73794) by debbugs.gnu.org; 13 Oct 2024 15:45:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 13 11:45:19 2024
Received: from localhost ([127.0.0.1]:52139 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t00mV-0001j8-14
	for submit <at> debbugs.gnu.org; Sun, 13 Oct 2024 11:45:19 -0400
Received: from mail-qv1-f47.google.com ([209.85.219.47]:52476)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aaron.covrig.us@HIDDEN>) id 1t00mT-0001iW-QG
 for 73794 <at> debbugs.gnu.org; Sun, 13 Oct 2024 11:45:18 -0400
Received: by mail-qv1-f47.google.com with SMTP id
 6a1803df08f44-6cb82317809so25759766d6.0
 for <73794 <at> debbugs.gnu.org>; Sun, 13 Oct 2024 08:45:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=ieee.org; s=google; t=1728834236; x=1729439036; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=TI1m6xZvCFmpBgLsrg+p2jf2uT5Q6X9Pl1wBQzr4R2s=;
 b=dDF2ofjH8JsMk9/irG1NQUzhOcMKMDiWhNScDXz6Eal9QSGj+UTYGwJstirHO7Vgr3
 5V8byd3zE421766AXFfjwCUkHudPyVL5NPIAMa90ZpnCyHo5WI9m2y1HtPPZRhteBEMT
 z99Cx7qEBzzpS1DeERZ1AmVvucqdGAADmAYLk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728834236; x=1729439036;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=TI1m6xZvCFmpBgLsrg+p2jf2uT5Q6X9Pl1wBQzr4R2s=;
 b=O+/Re2Iq6U4nfkK2seEgmKQHguF5I3t9yxOD5cXd3RYjlwqzfmuelYOCGkJCov7pwD
 OhjyTbp7+WA+yCenYuODMOvL4wS6DEvAdWE2xSasEXp7nkPM52fSK8sYWceUZa1LsDl1
 NWMpCC74Khtw9Fla3itljOrSFUTW55YU2NNqHLHyNFxl0c4paMEdrZEZFqRYdd3Bv2OB
 apb8YwSd8ZLjvu4gGThVvNSR3a063BHHJdIJFNEvgzf4Bl8MhoE/uQ8qYUAEEmgyeBJv
 8RRYwuSQ8fAtinJt6N+HXV1Zn8Z7kvGDiY0VdBFPR5Ogl4wePjG0RIVLAquoMRk+vsEq
 Q+4g==
X-Gm-Message-State: AOJu0Yww37knB8QFB3jxO2rjgtIP/OYkqAxeBpZHS2th01euO4qO8JPu
 CoC9a7VC+ahwsIqkJkXogBYxDYbkNp7fQVnPYe7IODsxe9qmPONi7ZesPCYLVCDf2//AjCVh8FQ
 E3Y/gZ3ujtVM8n+sq7/fsVAbs0gBhoRcjnMsNJxyriagHmd/yImTkEF8YpifKFPG0E2uv2z/uKC
 GfNjh4gZr420uPKDYN82Mex7LQQ/IPiTyC/r1ERfo=
X-Google-Smtp-Source: AGHT+IHlo89HiGRFL7ZYRDC4qa/vkjvAAmRAZIIRj5C2NhLKTwJh6cx7SZ61vOGtWAWFjFPDMPmm8Q==
X-Received: by 2002:a05:6214:5911:b0:6cb:9359:1e90 with SMTP id
 6a1803df08f44-6cbf9ea302dmr96110206d6.43.1728834236052; 
 Sun, 13 Oct 2024 08:43:56 -0700 (PDT)
Received: from mobile-dev.fios-router.home
 (pool-71-244-152-222.bltmmd.fios.verizon.net. [71.244.152.222])
 by smtp.gmail.com with ESMTPSA id
 6a1803df08f44-6cbe8609ebbsm36128966d6.87.2024.10.13.08.43.55
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 13 Oct 2024 08:43:55 -0700 (PDT)
From: Aaron Covrig <aaron.covrig.us@HIDDEN>
To: 73794 <at> debbugs.gnu.org
Subject: [PATCH staging 2/2] gnu: hubbub: Remove dependency on json-c v0.12
Date: Sun, 13 Oct 2024 11:43:44 -0400
Message-ID: <20241013154344.330506-2-aaron.covrig.us@HIDDEN>
X-Mailer: git-send-email 2.47.0
In-Reply-To: <20241013154344.330506-1-aaron.covrig.us@HIDDEN>
References: <20241013154344.330506-1-aaron.covrig.us@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73794
Cc: Aaron Covrig <aaron.covrig.us@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/web.scm (hubbub): Update json-c dependency
---
 gnu/packages/web.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 53238e7f16..cf15e9328a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5797,7 +5797,7 @@ (define-public hubbub
            pkg-config
            doxygen
            gperf
-           json-c-0.12 ; check whether json-c-0.12 can be removed
+           json-c
            perl))
     (propagated-inputs
      (list libparserutils)) ;for libhubbub.pc
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#73794; Package guix-patches. Full text available.

Message received at 73794 <at> debbugs.gnu.org:


Received: (at 73794) by debbugs.gnu.org; 13 Oct 2024 15:45:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 13 11:45:13 2024
Received: from localhost ([127.0.0.1]:52134 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t00mP-0001ic-09
	for submit <at> debbugs.gnu.org; Sun, 13 Oct 2024 11:45:13 -0400
Received: from mail-qv1-f52.google.com ([209.85.219.52]:49315)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aaron.covrig.us@HIDDEN>) id 1t00mM-0001iO-P4
 for 73794 <at> debbugs.gnu.org; Sun, 13 Oct 2024 11:45:11 -0400
Received: by mail-qv1-f52.google.com with SMTP id
 6a1803df08f44-6cbe68f787dso22913856d6.2
 for <73794 <at> debbugs.gnu.org>; Sun, 13 Oct 2024 08:44:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=ieee.org; s=google; t=1728834234; x=1729439034; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=4ieTWtYPZTyKa42xQ9kyAq+QrNq6O1LRl1xensXJuVs=;
 b=EAD4BEkEGDwSa8uH4kAJJmIremqJ5Ax48NcrucqXny+yJBkXP+W3J1ASkGUloGEOJg
 zEKYv5UtTUlrgAMNG9U9eNbf1tL3TvQwsO0PSr8mxgiALJwTd6ulE6SVVpurfOAlPAd8
 4njtntxft604zuMmegocSshEa25rrcXDYbN7c=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728834234; x=1729439034;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=4ieTWtYPZTyKa42xQ9kyAq+QrNq6O1LRl1xensXJuVs=;
 b=MkN8p3889fLFm4R5i9dsmoKlOOwcjm2p7FL+vHUc02zE/OCT3XAFKcWhWLa0lIDAm7
 a9OlZ8cW302+rRUVxG7AlhZSdET3X/eIlraXWUe8wFYV+A6+Ja7pBMOkxEfriB3VEKuL
 7lZzUoP0rQNG652oMuy6Z+jmZldyuZxNFd+FiXIVGbzBmI4sRxA3DxyYRjN2BCS5T5uf
 xYYKgrR46rol/6lmlAATH4InVhFgnbyQxLr42gW4SGMJ/vP3bMGg8IjsA9WlObmUH3/G
 lxRRWuI5pcDX4lIJl6tk8dz/N3aiOl4LlbPtxqKZ/qoIzcKwfr3mUR49ak8coMzaH76L
 WqZA==
X-Gm-Message-State: AOJu0YzSs625Y8ogO4ucvWO3KxdzA6CK/6GCeGVbj8osFmJL1DwY5Up3
 rv48evcUc6Y/qN7PJHVyQHXSkp35+wGPGiyCCiTBCpD0Itwi29DENmRZMTt0NjeBNdVxYT0oPjI
 ung0fQdKh/bhSfG1KVEKs37+jFY/SWxvUPFOafbN7o0rIE2JIQ62qK/O7l4woTasyauqsmY2oHw
 w5O/rTy5CoWBlLH0Eogh4t/D6UuO532ZW2kTRYlbE=
X-Google-Smtp-Source: AGHT+IHa4wO6Vjehev55QcrFSZUV+gPexgh2A8ja9j6EZ/8Vsm0p5IQ2IHFd/48ajAdj1ACzIABhYQ==
X-Received: by 2002:a05:6214:4341:b0:6cc:380:b04f with SMTP id
 6a1803df08f44-6cc0380d4b7mr70757016d6.6.1728834233809; 
 Sun, 13 Oct 2024 08:43:53 -0700 (PDT)
Received: from mobile-dev.fios-router.home
 (pool-71-244-152-222.bltmmd.fios.verizon.net. [71.244.152.222])
 by smtp.gmail.com with ESMTPSA id
 6a1803df08f44-6cbe8609ebbsm36128966d6.87.2024.10.13.08.43.53
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 13 Oct 2024 08:43:53 -0700 (PDT)
From: Aaron Covrig <aaron.covrig.us@HIDDEN>
To: 73794 <at> debbugs.gnu.org
Subject: [PATCH staging 1/2] gnu: json-c: Update to v0.18
Date: Sun, 13 Oct 2024 11:43:43 -0400
Message-ID: <20241013154344.330506-1-aaron.covrig.us@HIDDEN>
X-Mailer: git-send-email 2.47.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73794
Cc: Aaron Covrig <aaron.covrig.us@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/web.scm (json-c): Update to v0.18
* gnu/packages/web.scm (json-c-0.15): New variable
---
 gnu/packages/web.scm | 36 ++++++++++++++++++++++++++----------
 1 file changed, 26 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index f1938d7b11..53238e7f16 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1269,16 +1269,17 @@ (define-public jansson
 (define-public json-c
   (package
     (name "json-c")
-    (version "0.15")
-    (source (origin
-             (method url-fetch)
-             (uri (string-append
-                   "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
-                   version ".tar.gz"))
-             (sha256
-              (base32
-               "1im484iz08j3gmzpw07v16brwq46pxxj65i996kkp2vivcfhmn5q"))))
+    (version "0.18")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "090pn7gyicvpqq01451zhkjw1fw3h4l6v2f6mxlvhrli8x3b0sl7"))))
     (build-system cmake-build-system)
+    (native-inputs (list doxygen))
     (home-page "https://github.com/json-c/json-c/wiki")
     (synopsis "JSON implementation in C")
     (description
@@ -1288,10 +1289,25 @@ (define-public json-c
 It aims to conform to RFC 7159.")
     (license license:x11)))
 
+(define-public json-c-0.15
+  (package
+    (inherit json-c)
+    (name "json-c")
+    (version "0.15")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append
+                   "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
+                   version ".tar.gz"))
+             (sha256
+              (base32
+               "1im484iz08j3gmzpw07v16brwq46pxxj65i996kkp2vivcfhmn5q"))))
+    (build-system cmake-build-system)))
+
 ;; TODO: Remove these old versions when all dependents have been updated.
 (define-public json-c-0.13
   (package
-    (inherit json-c)
+    (inherit json-c-0.15)
     (version "0.13.1")
     (source (origin
              (method url-fetch)
-- 
2.46.0





Information forwarded to guix-patches@HIDDEN:
bug#73794; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Oct 2024 15:39:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 13 11:39:10 2024
Received: from localhost ([127.0.0.1]:52120 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t00gY-0001PG-Cn
	for submit <at> debbugs.gnu.org; Sun, 13 Oct 2024 11:39:10 -0400
Received: from lists.gnu.org ([209.51.188.17]:47094)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aaron.covrig.us@HIDDEN>) id 1t00gW-0001P8-7Z
 for submit <at> debbugs.gnu.org; Sun, 13 Oct 2024 11:39:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <aaron.covrig.us@HIDDEN>)
 id 1t00gG-0007Sp-8x
 for guix-patches@HIDDEN; Sun, 13 Oct 2024 11:38:52 -0400
Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <aaron.covrig.us@HIDDEN>)
 id 1t00gE-0001Do-8m
 for guix-patches@HIDDEN; Sun, 13 Oct 2024 11:38:52 -0400
Received: by mail-qv1-xf32.google.com with SMTP id
 6a1803df08f44-6c5ab2de184so23159876d6.0
 for <guix-patches@HIDDEN>; Sun, 13 Oct 2024 08:38:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=ieee.org; s=google; t=1728833927; x=1729438727; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=Ln0s8QHDjPlrOcGQ0ddYZJa5O+KQoG3oR4xhPz+3Kdo=;
 b=ebLF/ajHh26vzHdNvzYf8AORK1/eQSD7Yrn5QYBsplmHKJjMyzMNQpTEfzy4JAZJN6
 /oK2YfLLKODPWzw/tqBeY4ON6b8oyw4HfOdsDZrB872mVBX0jk6UAZ7KYOFvCMG11WDu
 fRA0N7nR3OZ992PnFSrytDXxHFWxAj9z1U65w=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728833927; x=1729438727;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=Ln0s8QHDjPlrOcGQ0ddYZJa5O+KQoG3oR4xhPz+3Kdo=;
 b=ORx6qKYifHHNEqubk0qrnzL5QQPkdOPgE9nllirfNJu1aGNvPmkFVrVjrv9N8X2XI1
 YGpoinbfz3HAp6qmGBpWFO6l/9SXuRU1NZyI5C5GUm9KCQammOVCjqROt7UL0sV4WNz2
 EjPUE5EhKoazi6goM9Ob39ifBYz4bdzy5G5PbsQ70cdv1X7X1jb1UGJUKgWM5XOz+5+H
 VbLT+nNwXchPqt3PRdPdSASYU/uFg2vn5ymS5Be5fvIvIxTGe6Omr4ErbcQteJ3V4V8F
 g8OoAdqvOxWDpD5HDJ+NylKN43fhzkNfNKQLY2/K3F9G0Ls0/u033OOzbnPWk+65BtqH
 bNjg==
X-Gm-Message-State: AOJu0YzG957wzBbLGBBo1nRemAW3BN1jWNS4cloibc187YG1tWwoy+yx
 RBOCvOJc29JbqDhHG4FM834WUaP3FIa7Q7YWhiNaH28iXAR4ryV5glEI05fsIS3WI+GCQnW0ScQ
 b+CYoA/R575+WIC12zGJcHeBnBa3lAQzNnQ+pR1pEkfJct1RWs/yEfZ23Ma/wH2VY5gTmggDWrz
 GBmf4N39KPRt3is8+/KfxL7iWJoT8pxj8/i29qOQ==
X-Google-Smtp-Source: AGHT+IGIDzWbGEs4acyooLDo6l3DWRu3+GHt5cQ8tIyg+p7rjp/n9+VgYpBiu3sIshr0cuRG2KEx4g==
X-Received: by 2002:a05:6214:4598:b0:6cb:fe7f:27c1 with SMTP id
 6a1803df08f44-6cbfe7f29e8mr77531026d6.49.1728833926620; 
 Sun, 13 Oct 2024 08:38:46 -0700 (PDT)
Received: from mobile-dev.fios-router.home
 (pool-71-244-152-222.bltmmd.fios.verizon.net. [71.244.152.222])
 by smtp.gmail.com with ESMTPSA id
 6a1803df08f44-6cbe862fe87sm35416676d6.106.2024.10.13.08.38.46
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 13 Oct 2024 08:38:46 -0700 (PDT)
From: Aaron Covrig <aaron.covrig.us@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH staging 0/2] Upgrade json-c to v0.18
Date: Sun, 13 Oct 2024 11:38:36 -0400
Message-ID: <20241013153842.284364-1-aaron.covrig.us@HIDDEN>
X-Mailer: git-send-email 2.47.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::f32;
 envelope-from=aaron.covrig.us@HIDDEN; helo=mail-qv1-xf32.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.028,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Aaron Covrig <aaron.covrig.us@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

This upgrades json-c to v0.18 and adds json-c-0.15 incase someone needs
to depend on the older version. I have not built all the json-c
dependent packages (`guix refresh --list-dependent json-c`); but had no
issues building the packages found within the repo using `rg ' json-c
'`. Additionally, this upgrades the json-c dependency for hubbub to the
latest version (build succeeded with json-c v0.18). I believe this
removes all the json-c@HIDDEN dependents so that this library can now be
removed as was mentioned in the web.scm file.

Hubbub README on json-c inclusion can be found here:
https://github.com/servo/libhubbub/blob/6d09893991dedc616b264058442a304c03842213/README#L27

I have not attempted to replace json-c@HIDDEN; doing so looks like it
will require several other packages to be upgraded first.

Aaron Covrig (2):
  gnu: json-c: Update to v0.18
  gnu: hubbub: Remove dependency on json-c v0.12

 gnu/packages/web.scm | 38 +++++++++++++++++++++++++++-----------
 1 file changed, 27 insertions(+), 11 deletions(-)


base-commit: e032a0f38ff3394816fdc29554933ce77c545eff
-- 
2.46.0





Acknowledgement sent to Aaron Covrig <aaron.covrig.us@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#73794; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.