From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 0P/sMyyNPmUrkwAAauVa8A:P1 (envelope-from ) for ; Sun, 29 Oct 2023 17:49:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0P/sMyyNPmUrkwAAauVa8A (envelope-from ) for ; Sun, 29 Oct 2023 17:49:48 +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 87BF742EBF for ; Sun, 29 Oct 2023 17:49:48 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniB header.b="x q7PMIh"; 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=1698598188; a=rsa-sha256; cv=none; b=n23AZ//f6G66x3uepAD/SbNQhU+IvVcnYlG9Y2sedydgLpJL/UKKrXG2g367J9qTOzObG8 iwmqCHtqonko16ERupg8cwR5SJrW3IlAvxVlkEAK03fNyvefe/Xw+kYXVSSAG5NaA4MW9T LZnuyR+P+134Ysjfh45YU78cZ1TPL+fuGT2+/Hmfqj322q3V5sJ2roVnZIVulgLfPmy6NE ohsqYPlwr0zz9b4H2ebLLjGJDt1L71M/H9r+k6FxeVLtb5GsAZv4THWF1+tDb9GVWt7ePm VcLkw7lpBWGtkeWjwe9qT/E1S98K5Nsrz50yCve+MS2ii0LWMMvvGtvFFj7jfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698598188; 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=TwpkzdqUIl9qsFU3y7RPdQ40G6kqrQVAiQQtCsO/P6Q=; b=kLjNIe2xxiv4keX191fVsSqQh6UJ9gCCJW2g70ObEgnzgIE0XNNWcrnaAaPlhfOK0JYpnI I7AaTWY4TsaEfLO/NQP6381bP/GZrnq5DQM1RirTCw5evNLNbEL1nthxuNAlRjb5F5PErh xWaR/O9h+X62DDdeS6qpvitZULJ8kUI3N/0qaw4Qjoqf/RS1BZ1nN+O9s0H0//2UTfW07j 4y1CtGjRjoA7Jbvy2lVy60D5gFF8SD6rtI43tKhwkHsIPTT2iLr0BD3PMes+LAG/Jqj4Jj LRZjsGWGbjLORlgZ/YuoUzFrgt//6VfpGbhRPXkcLUoKa4RyKfUF/ebguqvecw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniB header.b="x q7PMIh"; 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 1qx8yp-0008G2-Qt; Sun, 29 Oct 2023 12:49:40 -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 1qx8yf-00080o-Sr for guix-patches@gnu.org; Sun, 29 Oct 2023 12:49: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 1qx8yf-0006GS-Db for guix-patches@gnu.org; Sun, 29 Oct 2023 12:49:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qx8zC-0008Dz-1h for guix-patches@gnu.org; Sun, 29 Oct 2023 12:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66823] [PATCH gnome-team 2/4] gnu: Add sofia-sip. Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Oct 2023 16:50:02 +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: 66823@debbugs.gnu.org Cc: rg@raghavgururajan.name, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 66823-submit@debbugs.gnu.org id=B66823.169859814531422 (code B ref 66823); Sun, 29 Oct 2023 16:50:02 +0000 Received: (at 66823) by debbugs.gnu.org; 29 Oct 2023 16:49:05 +0000 Received: from localhost ([127.0.0.1]:43253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qx8yF-0008Ab-Cy for submit@debbugs.gnu.org; Sun, 29 Oct 2023 12:49:04 -0400 Received: from planete-kraus.eu ([89.234.140.182]:60992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qx8yC-00088q-1F for 66823@debbugs.gnu.org; Sun, 29 Oct 2023 12:49:02 -0400 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 7aca0b11; Sun, 29 Oct 2023 16:48:26 +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=ANvGCNvP/8fyk8EYQPQFyWYRTAE=; b=x q7PMIhwVUfr4TUkcCeEr4WZyMLXDBfF9MoIDRLPnEBlGjEqoCW9WH2Tv7aWjgqi2 b/O/r595Iqsm5BoMHtmWIJPzUM358sW5p1ory0fA9SSYKNOYYm/Brghz3kfrOhOt NmOO1t21WFipCPni6POU/1QsJaUI0GlaH7ltaVkto8RhR6LznK5/H1ScE+odmybN tT5/ZPPuUUHdrrPp8rohbHENMyUUhGzxIE3GIKrOKjgwxupTGQ3bNwhv+G8f2/Qj +MoDSFjj1pIW4JJLzsJxUJtfmJVilvlFByJ/vCic/QbNYLmv0ucy0XBTOhgvEc1L ebTZ9NuX2BLXF1M1fST6g== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 846107e7 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 29 Oct 2023 16:48:25 +0000 (UTC) Message-ID: In-Reply-To: References: Date: Sun, 29 Oct 2023 17:34:05 +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.60 X-Migadu-Queue-Id: 87BF742EBF X-Migadu-Spam-Score: -1.60 X-TUID: /yAsVk159AOV * gnu/packages/telephony.scm (sofia-sip): New variable. Change-Id: I18dd31fa62f5cfe528d7558915135f17d49b798d --- gnu/packages/telephony.scm | 72 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 42158784ca..d99b10903e 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -1088,3 +1088,75 @@ (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), looks like a mistake. + "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 _ + ;; 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 + (@ (gnu packages compression) 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 SIP User-Agent library, compliant with the IETF RFC3261 +specification. It can be used as a building block for SIP client software for +uses such as VoIP, IM, and many other real-time and person-to-person +communication services.") + (license license:lgpl2.1))) -- 2.41.0