From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yJkZNDxYQWWGNQAA9RJhRA:P1 (envelope-from ) for ; Tue, 31 Oct 2023 20:40:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yJkZNDxYQWWGNQAA9RJhRA (envelope-from ) for ; Tue, 31 Oct 2023 20:40:44 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 796525CFA5 for ; Tue, 31 Oct 2023 20:40:44 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniB header.b="S WdGD5F"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698781244; a=rsa-sha256; cv=none; b=qefJttdI69HYiAbePhywldFMqYDpsvn72cRJ52GUFbk6j5hQrt8i3msxllsxYCamlpHvu6 YsSnpOgOzqe7CiETvDS1nbsw87ne1oCHldYGG0fkY8m6+VsWkHBYEI5IohY0zwj+ZYKgyr uOIKPQWAG0jbYj75cW/NWaJaKSPZSuA/45KrYg3rCMu+el6zV6V5DukN7wMIk97m04Ir36 mBgldGdO94Sy88oos2oMXIkAj9y+hXlcLxENN8RdxgH+WNPobC9Mif5TpvDKcyWckUtF46 BNJjf8CDuQ2gdZXY8DbsKN6f1dslzaRbvj24Qy2ezbVE92H6hMI4J7di669MrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698781244; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=cTXM48wO1/pA1zz2wOaZiGmxqdXHtJbHvGaqFPink+k=; b=iaM+3yvoHr4eNEsHBuHhsDN4daefljHPQSnkMOorLq3fBpgcHLLPV6nmRIq1pN6FgAkSEI f7inCGaN06V3g+U52hz8zv0YhaSUAFlSkRoc9daV5xXBGqbkb8Na6naI+p6EUSRs1IRj7J 3u1Kt2tEHFRiMjNksN2AV3crSYhEK+SNhPQUawJVIfCWbrVsL+j2zBOMi0c+r2VuvEtLsM Jy+WevxWvNO41oD0cmT92TmNxFLmkj/iNpqd/tx4QcZwU2/wC8/i59LLpiAkE9tp2ygz6A 5IEUzQ+aC7GIwVGUz152dwc/MO/LU6UiX411i+r6oJCBUUfZU0ko/GjhZt1l+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniB header.b="S WdGD5F"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxubH-0003VY-GZ; Tue, 31 Oct 2023 15:40:31 -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 ) id 1qxubG-0003UI-Jh for guix-patches@gnu.org; Tue, 31 Oct 2023 15:40:30 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxubG-0005XZ-BM for guix-patches@gnu.org; Tue, 31 Oct 2023 15:40:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxubo-0005vV-7e for guix-patches@gnu.org; Tue, 31 Oct 2023 15:41:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66823] [PATCH gnome-team v3 3/6] gnu: Add sofia-sip. Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Oct 2023 19:41:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66823 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: rg@raghavgururajan.name, Liliana Marie Prikler , 66823@debbugs.gnu.org Received: via spool by 66823-submit@debbugs.gnu.org id=B66823.169878126122730 (code B ref 66823); Tue, 31 Oct 2023 19:41:04 +0000 Received: (at 66823) by debbugs.gnu.org; 31 Oct 2023 19:41:01 +0000 Received: from localhost ([127.0.0.1]:49210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxubj-0005uV-8M for submit@debbugs.gnu.org; Tue, 31 Oct 2023 15:41:00 -0400 Received: from planete-kraus.eu ([89.234.140.182]:41906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxubd-0005sx-Bm for 66823@debbugs.gnu.org; Tue, 31 Oct 2023 15:40:55 -0400 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id f45f7b6c; Tue, 31 Oct 2023 19:40:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to:cc :mime-version; s=albinoniB; bh=H8/gDcXmJZg06MIq1rNf74FTT0c=; b=S WdGD5FEy0aV+0sUGWYcoSFAH5Qu5WRB/Myw3zi722ECbBgIyWKInhia2XsPgGvYW D80vS252FnKabr8ggDVJdOXdHXs8Y8u4arQuugVQ3Mxuq7Rqsi2UkgyYznJ5tef+ ORHPCAVDxhS59U4wA/TkdxToy51LbL8WW3n4nBqH6MzpzMNB9aTyjtX7e5bUUbY5 Mxa67dxtOTLAkDvWfUi9DBda0eNudcbbiWhZB/6dwMLui1mGQORYl5bUjx8RgLxF DPIpYIdoQRo/faxKm9fEhyQAEbvf+HA6RyrNDvwXJ37U6JH243j7Mmpn61FvOhSY 850D9hAWdSQQPO9b3+mqA== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 3827fe90 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Tue, 31 Oct 2023 19:40:17 +0000 (UTC) Message-ID: In-Reply-To: References: Date: Tue, 31 Oct 2023 20:34:49 +0100 MIME-Version: 1.0 User-Agent: Evolution 3.46.4 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Vivien Kraus X-ACL-Warn: , Vivien Kraus via Guix-patches From: Vivien Kraus via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -1.61 X-Migadu-Queue-Id: 796525CFA5 X-Migadu-Spam-Score: -1.61 X-TUID: gNreWYDFkBYm * gnu/packages/telephony.scm (sofia-sip): New variable. Change-Id: I18dd31fa62f5cfe528d7558915135f17d49b798d --- gnu/packages/telephony.scm | 81 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 42158784ca..ff99b79ae4 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -51,6 +51,7 @@ (define-module (gnu packages telephony) #:use-module (gnu packages base) #:use-module (gnu packages boost) #:use-module (gnu packages check) + #:use-module (gnu packages compression) #:use-module (gnu packages cpp) #:use-module (gnu packages databases) #:use-module (gnu packages sqlite) @@ -1088,3 +1089,83 @@ (define-public sipp (license (list license:gpl2+ ; sipp's main license license:bsd-3 ; send_packets.c, send_packets.h license:zlib)))) ; md5.c, md5.h + +(define-public sofia-sip + (package + (name "sofia-sip") + (version "1.13.16") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/freeswitch/sofia-sip") + (commit (string-append "v" version)))) + (file-name (git-file-name "sofia-sip" version)) + (sha256 + (base32 + "1hi9np49wcq91d1w93qi6by40qnr348hpzc2wkw3l955zh1n30lr")))) + (build-system gnu-build-system) + (arguments + (list + ;; run_addrinfo requires /etc/services for the 'echo' service. + #:make-flags #~'("XFAIL_TESTS = run_addrinfo" + ;; libsofia-sip-ua/nta/Makefile.am sets + ;; TESTS_ENVIRONMENT = $(SHELL), which is odd, because + ;; according to the Automake manual, it should be + ;; AM_TESTS_ENVIRONMENT, and it should end with a + ;; semicolon. + "TESTS_ENVIRONMENT = \ +export CHECK_NTA_VERBOSE=10; \ +export CHECK_NUA_VERBOSE=10; ") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-shebangs + (lambda _ + (patch-shebang "autogen.sh"))) + (add-after 'unpack 'disable-failing-test + (lambda _ + ;; The test failures have been reported: + ;; https://github.com/freeswitch/sofia-sip/issues/234: + ;; run_test_nta is disabled because it fails randomly (not for a + ;; timeout-related reason). The test suite is otherwise very + ;; long, most tests backed by libcheck timeout even with a ×100 + ;; multiplier. The tests are disabled here rather than put to + ;; XFAIL_TESTS because it saves compilation time. + (substitute* "libsofia-sip-ua/nta/Makefile.am" + (("TESTS =") + "TESTS = run_test_nta_api\n# Disabled: ")) + (substitute* "libsofia-sip-ua/nua/Makefile.am" + (("TESTS \\+=") + "TESTS +=\n# Disabled: ")) + ;; The glib tests both wait forever without a timeout. + (substitute* "libsofia-sip-ua-glib/su-glib/Makefile.am" + (("TESTS =") + "TESTS =\n# Disabled: ")) + ;; Another timeout failing test: + (substitute* "tests/Makefile.am" + (("TESTS = test_nua") + "TESTS =")) + ;; This test fails for unknown reason: + (substitute* "tests/Makefile.am" + (("TESTS \\+= check_dlopen_sofia check_sofia") + "TESTS += check_dlopen_sofia"))))))) + (inputs + (list glib + openssl + zlib)) + (native-inputs + (list autoconf + autoconf-archive + automake + check + libtool + pkg-config)) + (home-page "https://sofia-sip.sourceforge.net/") + (synopsis "SIP user-agent library") + (description "Sofia-SIP is a @acronym{SIP, Session Initiation Protocol} +User-Agent library, compliant with the +@url{https://datatracker.ietf.org/doc/html/rfc3261, IETF RFC3261} +specification. It can be used as a building block for @acronym{SIP} client +software foruses such as @acronym{VoIP, Voice over @acronym{IP, Internet +Protocol}}, @acronym{IM, Instant Messaging}, and many other real-time and +person-to-person communication services.") + (license license:lgpl2.1))) -- 2.41.0