GNU bug report logs

#78790 [PATCH] DRAFT: gnu: jami: Update to 20250610.0.

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Full log

Message #71 received at 78790@debbugs.gnu.org (full text, mbox, reply):

Received: (at 78790) by debbugs.gnu.org; 18 Jun 2025 11:55:43 +0000
From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 18 07:55:43 2025
Received: from localhost ([127.0.0.1]:48123 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1uRrOH-0006Vs-Vl
	for submit@debbugs.gnu.org; Wed, 18 Jun 2025 07:55:42 -0400
Received: from layka.disroot.org ([178.21.23.139]:46502)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <gay@disroot.org>) id 1uRrO5-0006TK-CB
 for 78790@debbugs.gnu.org; Wed, 18 Jun 2025 07:55:31 -0400
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 7830F25F0C;
 Wed, 18 Jun 2025 13:55:28 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from layka.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP
 id nMi7vO3gaWQj; Wed, 18 Jun 2025 13:55:27 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1750247727; bh=KoQe9XZnpMp2KmyCmSQead5AvcHxfgLxKdXbT8vUaNo=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References;
 b=NK0Qc7uQVWWXPJi6485KuQbAnGVeCBxLpK8Aw4/MLqPgLtUVobDqTlpdpLkFWJ8lI
 HXK1RvfkzP5sm+hQrkhURKqN1AdH2e3WWZrsIq7OjYSJ1mImWLuKl8oHxhqSY4VmDE
 NnQLcCRItA4mn63eIvGQTcoYMRgE1f9zpN+1bfdE2lnW0vY3NcptLqKwp5wspwJwTS
 PrEPdRHHuTy6uReIgYidUFuNG7Y5AMK0VDgSOU6QedtaP+M3EnobhT3Gwf1dg4zZgS
 PJehdXEGW/zxZhKGYzdhSXU84/aAh7HZBEoL29OQbv3ZimoVgnf2EJjJ5F9dS5MQ43
 ts2mSenAQ7oWA==
From: Homo <gay@disroot.org>
To: 78790@debbugs.gnu.org
Subject: [PATCH v3 4/8] gnu: opendht: Update to 3.4.0.
Date: Wed, 18 Jun 2025 14:54:36 +0300
Message-ID: <20250618115507.4993-4-gay@disroot.org>
In-Reply-To: <20250618115507.4993-1-gay@disroot.org>
References: <20250618115507.4993-1-gay@disroot.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 78790
Cc: Homo <gay@disroot.org>
X-BeenThere: debbugs-submit@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@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
* gnu/packages/networking.scm (opendht): Update to 3.4.0.
[version]: Do not use git-version.
[inputs]: Replace restinio-0.6 by restinio. Add llhttp.
[arguments] <#:phases> {pkgconfig-disable-iouring}: New phase.

Change-Id: I6fed7fe1c8ba0d75d0dca8406010f7c8dd89609e
---
 gnu/packages/networking.scm | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 6ef265e0eb..594991efea 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3935,22 +3935,18 @@ (define-public restinio-0.6
        (replace "llhttp" http-parser)))))
 
 (define-public opendht
-  ;; Temporarily use the latest commit, as the latest release lacks a 'detach'
-  ;; procedure used by a recent DhtNet, required by Jami.
-  (let ((commit "318d02c55a7061a771a632ff2224b0d195a80d42")
-        (revision "0"))
     (package
       (name "opendht")
-      (version (git-version "3.1.11" revision commit))
+      (version "3.4.0")
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
                       (url "https://github.com/savoirfairelinux/opendht")
-                      (commit commit)))
+                      (commit (string-append "v" version))))
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "0d4m9bxvwa1pz8r0sfrjjyml4yp5v7n4vy8ad7k4hcryyvd5npb0"))))
+                  "069y4mgygjsfp5szfbqr7l30g7fbcqqj62h11byyq9k24rl7ilsq"))))
       (outputs '("out" "python" "tools" "debug"))
       (build-system gnu-build-system)
       (arguments
@@ -4001,6 +3997,13 @@ (define-public opendht
                   (("extra_link_args=\\[(.*)\\]" _ args)
                    (string-append "extra_link_args=[" args
                                   ", '-Wl,-rpath=" #$output "/lib']")))))
+            ;; TODO: build with liburing, requires cmake or meson.
+            (add-after 'unpack 'pkgconfig-disable-iouring
+              (lambda _
+                ;; This one causes configure error in dhtnet.
+                (substitute* "opendht.pc.in"
+                  (("@iouring_lib@")
+                   ""))))
             (replace 'check
               (lambda* (#:key tests? #:allow-other-keys)
                 (when tests?
@@ -4030,12 +4033,13 @@ (define-public opendht
              readline))
       (propagated-inputs
        (list msgpack-cxx                  ;included in several installed headers
-             restinio-0.6                 ;included in opendht/http.h
+             restinio                     ;included in opendht/http.h
              ;; The following are listed in the 'Requires.private' field of
              ;; opendht.pc:
              argon2
              gnutls
              jsoncpp
+             llhttp
              nettle
              openssl                      ;required for the DHT proxy
              python))
@@ -4072,7 +4076,7 @@ (define-public opendht
 @item dhtchat
 A very simple IM client working over the DHT.
 @end table")
-      (license license:gpl3+))))
+      (license license:gpl3+)))
 
 (define-public dhtnet
   ;; There is no tag nor release; use the latest available commit.
-- 
2.49.0





Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 08:11:11 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.