From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uFvaEfcMkWAZhAAAgWs5BA (envelope-from ) for ; Tue, 04 May 2021 10:59:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ULmEDfcMkWAQOQAAB5/wlQ (envelope-from ) for ; Tue, 04 May 2021 08:59:35 +0000 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 019471208E for ; Tue, 4 May 2021 10:59:35 +0200 (CEST) Received: from localhost ([::1]:45190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldqty-0007Uq-4E for larch@yhetil.org; Tue, 04 May 2021 04:59:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldqsU-0005MX-SV for guix-patches@gnu.org; Tue, 04 May 2021 04:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldqsU-0008A7-If for guix-patches@gnu.org; Tue, 04 May 2021 04:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldqsU-0004aW-Gv for guix-patches@gnu.org; Tue, 04 May 2021 04:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48217] [PATCH 1/9] gnu: Add csdr. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 May 2021 08:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48217 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48217@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 48217-submit@debbugs.gnu.org id=B48217.162011866317615 (code B ref 48217); Tue, 04 May 2021 08:58:02 +0000 Received: (at 48217) by debbugs.gnu.org; 4 May 2021 08:57:43 +0000 Received: from localhost ([127.0.0.1]:51824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldqsA-0004a3-Ly for submit@debbugs.gnu.org; Tue, 04 May 2021 04:57:42 -0400 Received: from mout01.posteo.de ([185.67.36.65]:35103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldqs8-0004Zv-4I for 48217@debbugs.gnu.org; Tue, 04 May 2021 04:57:41 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 9C694240027 for <48217@debbugs.gnu.org>; Tue, 4 May 2021 10:57:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620118653; bh=D5HE1AhHfgu6nxzUEqVZFDoZjN9RG+TWz3Z5fY6CawA=; h=From:To:Cc:Subject:Date:From; b=EJjFLWJDJWU+QL8dyRNo3zlK/bSkDTqFiQhCllUU8h6vp6XrIlVCAB5XntVxX6/0o 0WBawUKjiq7u892ABU5cdEkGcask7cItm/FLrS2kSFc4esZ1BHMHz05+S1bF3XSkGq Ghh9XLU7w8GgszNiFNAduCGwxwoSD0vstsTGUDi9G5iKVEN8vfQVbVcxtEvNnUGGPK TVTr8aCCdGWaarNwv51OISibeHsejJuaJ+ws5jP6C2XK5AUopHT4kx3+ZHjJqxKgHw PLOy5pvgqxMzacRxItZ7W5oVWpo4UZsE+WXovYOCdn0+0nc/UYxBvOc+RzTTzRjRC6 sMU0JBqh6W1rA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FZDHv3k0Bz6tmF; Tue, 4 May 2021 10:57:31 +0200 (CEST) From: Guillaume Le Vaillant Date: Tue, 4 May 2021 08:56:57 +0000 Message-Id: <20210504085705.5298-1-glv@posteo.net> In-Reply-To: <87czu6rimc.fsf@yamatai> References: <87czu6rimc.fsf@yamatai> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620118775; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=CruWVIdfVowMVvhyyyFK2AR8+VkpFQn62fwsmuZsduE=; b=NYZ75/CeV4loPLvkpicaJ0Z1/Cjnu138shkRnKBVWkDDNuMok67xEzYZM8/xM1oZ1vi4nJ 1adEzy191OSdKtkR/hCjZBfuILXKRMIzT3iyvjyBZe6Ki776KxiRaKsZZxs/eQbzupR4P1 SZk4NRiBJMu8AnouyuY3MQy8z++ylwep8Sdb5JeixXSPMAZuUaGb3bszjU0RooXJ9oSsfu t3L5QIis/6Q0/Q4oBFiIaJLYayHRMMbASuc3tmDVh4j679yTroBWXAGG6F2Y7bttPv4kRy ASDcSG+17RFZ4Z0Byq3zhcJAQcziNhb4ELJriX7CQ442Vl8yPSbZph1v1t2Clw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620118775; a=rsa-sha256; cv=none; b=eRHDOOZunLvf97CzR+22YV11GiGKBNyU8ZWnIPeSEDScM5sPR76pvYESF7P1bHTR/XBUR3 CW5ZvGqbEV02Ph/YIYDvrS8P4XOIMFH413DKc0DRDH2vE/HfS5niTMonQjt31pWNPOUhTn Hgsc3mCtgRPNNjSjJZW7w7/GvB91qmL0b8uHjuaft5rHAGOc16hfpSaaNzZdDaAshVBPpg VivL5bc5n1ADwM5GVxOmqkpqOWVo3fw0uq7zyHUfjHasumZumxopxulXcDHErVgkr4gfFB pP0U8bo2gS1lka/wiaWmELamhMKoWDXNrjA9nJaH3Q44fID1ylRfA5wNOk34+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=EJjFLWJD; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=EJjFLWJD; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 019471208E X-Spam-Score: 3.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: yU56dhEcaJDn * gnu/packages/radio.scm (csdr): New variable. --- gnu/packages/radio.scm | 54 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index e6d5ef0203..382fdf85e3 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1575,3 +1575,57 @@ receiver.") "@code{welle.io} is a Digital Audio Broadcasting (DAB and DAB+) software defined radio with support for rtl-sdr.") (license license:gpl2+))) + +(define-public csdr + ;; No release since 2017, use commit directly. + (let ((commit "6ef2a74206887155290a54c7117636f66742f858") + (revision "1")) + (package + (name "csdr") + (version (git-version "0.15" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ha7ilm/csdr") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ic35130lf66lk3wawgc5bcg711l7chv9al1hzdc1xrmq9qf9hri")))) + (build-system gnu-build-system) + (inputs + `(("fftwf" ,fftwf))) + (arguments + `(#:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + "PARSEVECT=no") + #:tests? #f ; No check phase + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile" + (("PARAMS_MISC = -Wno-unused-result" all) + ;; The 'validate-runpath' phase fails without this. + (string-append + all " -Wl,-rpath=" (assoc-ref outputs "out") "/lib")) + (("PARAMS_SIMD =.*") + ;; Disable to make reproducibility and cross-compilation work. + "") + (("gcc ") + ,(string-append (cc-for-target) " ")) + (("g\\+\\+ ") + ,(string-append (cxx-for-target) " "))))) + (add-before 'install 'make-installation-directories + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out "/bin")) + (mkdir-p (string-append out "/lib")))))))) + (home-page "https://github.com/ha7ilm/csdr") + (synopsis "DSP for software defined radio") + (description + "This package includes the @code{libcsdr} library of +@acronym{DSP, Digital Signal Processing} functions for +@acronym{SDRs, Software Defined Radios}, and the @code{csdr} command line +program that can be used to build simple signal processing flow graphs.") + (license license:gpl3+)))) -- 2.31.1