From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EKdTOxIndWM0JgEAbAwnHQ (envelope-from ) for ; Wed, 16 Nov 2022 19:08:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GI87OxIndWPgmQAA9RJhRA (envelope-from ) for ; Wed, 16 Nov 2022 19:08:18 +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 A6D4294C3 for ; Wed, 16 Nov 2022 19:08:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovMpR-0000g5-95; Wed, 16 Nov 2022 13:08:05 -0500 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 1ovMpP-0000fd-Cz for guix-patches@gnu.org; Wed, 16 Nov 2022 13:08:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovMpP-0006gw-43 for guix-patches@gnu.org; Wed, 16 Nov 2022 13:08:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovMpO-0001Nv-Vr for guix-patches@gnu.org; Wed, 16 Nov 2022 13:08:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59316] [PATCH v1 1/2] gnu: Add libosmocore Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Nov 2022 18:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59316 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59316@debbugs.gnu.org Cc: Denis 'GNUtoo' Carikli X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16686220455259 (code B ref -1); Wed, 16 Nov 2022 18:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Nov 2022 18:07:25 +0000 Received: from localhost ([127.0.0.1]:58090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovMon-0001Ml-9E for submit@debbugs.gnu.org; Wed, 16 Nov 2022 13:07:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:39894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovMoi-0001MN-V5 for submit@debbugs.gnu.org; Wed, 16 Nov 2022 13:07:21 -0500 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 1ovMoi-0000c6-MF for guix-patches@gnu.org; Wed, 16 Nov 2022 13:07:20 -0500 Received: from cyberdimension.org ([2001:910:1314:ffff::1] helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ovMog-0006c5-MA for guix-patches@gnu.org; Wed, 16 Nov 2022 13:07:20 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 8c5ddc6a; Wed, 16 Nov 2022 18:06:25 +0000 (UTC) Received: from localhost.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id a04f15b7; Wed, 16 Nov 2022 18:06:25 +0000 (UTC) From: Denis 'GNUtoo' Carikli Date: Wed, 16 Nov 2022 19:07:08 +0100 Message-Id: <20221116180709.5005-1-GNUtoo@cyberdimension.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:910:1314:ffff::1; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668622098; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=GbkvP6/Q0jh43cJo0zHH1xCAGHLJxKQmG7TUtlZVuiY=; b=auhf8rsNgac8uhR5HgpMRItct02PnkGz8hPJNJhrZcJelpQSaRjylaP/LrfNV1jlUveqh2 Wk1HehMukNg1InQ1jkyXwiR+YOJCq0Ql2umNfZqzy00ih9jYaEOMcRV2Gpqb0cO8/Pbxnt WZ4Kd6FFPorBAH17uc1wR57oN595i+h5TCUcS/UHgLo09D5CALn2VbYiaEc63dkZ8DrQH/ io0N1e28it+4FffMkIbPW4AJsAl3Bp12hPi4hVNYCLtSxvAFoesvsB0GL6hAxzf5WvUtXz Dku4hDKzon+lEBw4QjGq0ju0lWqKbtf5g0PR9mJS+Z5QREGvVmpXa91thQ356w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668622098; a=rsa-sha256; cv=none; b=bYle2z5Q89tPdwAvFpMkqIxa4WAKzVVjYUDKdBsQqUm+ZL5HzSUYuIyIFt9UysZlS+nwpk p3kq85GHZBv3wBxTfcH7zioUhFlm15SdAuDlwuwVpL8RJgNFLnE0iz8DplMTDCHKyC9q2S IhRZIdZtnCYBITbm9s2Wc6QqNqw1gvjXvAJgNMgQWUN6xrII07rcb6++KYIyoX5RFwC45m Jym3YkrFEaoRlZwopVlZY2uRDnjrxHjGAICSeCnMIBYdl6wY3YO0i2IFD25GOwAbbMI/Zm F9nBe2qbPNtLbrT21zjMvJLStf5nvpvrfO4lX+bExZ3eUkS8xbEh5OLHXgAo9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: -1.04 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: A6D4294C3 X-Spam-Score: -1.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: DLWPONNIoAJ6 * gnu/packages/telephony.scm (libosmocore): New variable. Signed-off-by: Denis 'GNUtoo' Carikli --- gnu/packages/telephony.scm | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 13feedbb2e..2f508f4bdd 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -67,6 +67,7 @@ (define-module (gnu packages telephony) #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages libcanberra) + #:use-module (gnu packages libusb) #:use-module (gnu packages linphone) #:use-module (gnu packages linux) #:use-module (gnu packages multiprecision) @@ -79,6 +80,8 @@ (define-module (gnu packages telephony) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages qt) + #:use-module (gnu packages samba) + #:use-module (gnu packages security-token) #:use-module (gnu packages serialization) #:use-module (gnu packages speech) #:use-module (gnu packages tls) @@ -926,3 +929,53 @@ (define-public coturn TURN (Traversal Using Relays around NAT) server protocols.") (home-page "https://github.com/coturn/coturn") (license license:bsd-3))) + +(define-public libosmocore + (package + (name "libosmocore") + (version "1.7.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitea.osmocom.org/osmocom/libosmocore.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "147ld3xwb9k6vb56hk8q8jkcb5ahxl66v87vdhazb6rxj3frsjqf")))) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-bin-sh + (lambda _ + (substitute* '("git-version-gen" "src/exec.c") + (("/bin/sh") + (which "sh")))))))) + (inputs (list gnutls + libmnl + libusb + lksctp-tools + pcsc-lite + talloc)) + (native-inputs (list autoconf + automake + coreutils + doxygen + libtool + pkg-config + python)) + (build-system gnu-build-system) + (synopsis "Libraries for sharing common code between osmocom projects") + (description + "Libosmocore includes several libraries: +@itemize +@item libosmocore: general-purpose functions +@item libosmovty: interactive VTY command-line interface +@item libosmogsm: definitions and helper code related to GSM protocols +@item libosmoctrl: shared implementation of the Osmocom control interface +@item libosmogb: implementation of the Gb interface with its NS/BSSGP protocols +@item libosmocodec: implementation of GSM voice codecs +@item libosmocoding: implementation of GSM 05.03 burst transcoding functions +@item libosmosim: infrastructure to interface with SIM/UICC/USIM cards +@end itemize") + (home-page "https://osmocom.org/projects/libosmocore/wiki/Libosmocore") + (license license:gpl2+))) base-commit: 2757de2e2b271d87f6f72ba4161c2225fbdc9e78 -- 2.38.1