From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GNLoBAVckmAHdgEAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 10:49:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gHpzAAVckmCUOgAAbx9fmQ (envelope-from ) for ; Wed, 05 May 2021 08:49:09 +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 BFBC023368 for ; Wed, 5 May 2021 10:49:08 +0200 (CEST) Received: from localhost ([::1]:34454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leDDP-00026G-PD for larch@yhetil.org; Wed, 05 May 2021 04:49:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leDDL-00025p-LC for guix-patches@gnu.org; Wed, 05 May 2021 04:49:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leDDJ-0001Qe-T6 for guix-patches@gnu.org; Wed, 05 May 2021 04:49:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leDDJ-0006L9-Q6 for guix-patches@gnu.org; Wed, 05 May 2021 04:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48217] [PATCH v2 1/9] gnu: Add csdr. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 May 2021 08:49:01 +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.162020453924351 (code B ref 48217); Wed, 05 May 2021 08:49:01 +0000 Received: (at 48217) by debbugs.gnu.org; 5 May 2021 08:48:59 +0000 Received: from localhost ([127.0.0.1]:58669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leDDG-0006Kh-W7 for submit@debbugs.gnu.org; Wed, 05 May 2021 04:48:59 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leDDE-0006KX-HF for 48217@debbugs.gnu.org; Wed, 05 May 2021 04:48:58 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 4E93C240027 for <48217@debbugs.gnu.org>; Wed, 5 May 2021 10:48:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620204530; bh=bKkfhsB9YGOp4YzaBk8MdMSWABfoG/huRSaMtkbscOA=; h=From:To:Cc:Subject:Date:From; b=YVduSq6djCJ1bSEc8B9Ivs0I23X44WrubYCCM30JDM2ZGdGLtj7ySmkjrQr/vPoFO /NmiWuIN+sjqwi4aGmKYH33iE2L+6+dyBTU5em6/n4OphaQH6/W4z2fnh7PLAInWx8 EBpYOd434UV8wjVsmgXp/donWUas6NiKlTcbxLXkSlgxua0XqgWHhdh6be0G/Ye4Ug PW9WrxDT9stXvhFxAbgwNW0EDELwCaUpEb45fi/SW24fKOmBwBMpaV7PHg5Qbles/O imZ+Y6zliq9VA0XS62juD5dMBQlzjMZhf1QTMEJZ4U8vZVEiBasCGgYWeh3jASmUsw Xi5ZGjxFXhq9A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FZr3P18xLz9rxT; Wed, 5 May 2021 10:48:48 +0200 (CEST) From: Guillaume Le Vaillant Date: Wed, 5 May 2021 08:48:16 +0000 Message-Id: <20210505084824.22275-1-glv@posteo.net> In-Reply-To: References: 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=1620204548; 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=XdoOEfkQBXWdzUF/cvBP6zdDy2pNe6gqfy7SPCaZtc4=; b=NZaVYIkL18WUcdkn/hgvEBLVvfELqMTDwk2v+5wc2BVuawby4f5LBVyiC61uF4vxe6Sk9k BQklYrRZLC7KJdJWdWyG2crmiXRT4Habjciml6v00dZXij60jzRTwsp+nnJ5MK7GtBMIYc OWlzo9e2DqE2TZoU6ngKT02ukn7npUZjNv/1rDBkGQutv9PUCaUfxm4U+KN6J2N7tI9YBg jRpvCNVzRwy3hABUECukl2qmFfGfQi1NqWQxEKbA35g21/Xj06RCuHnyqoAQq3JYOkq/0d m9826tP0SBAaRduLTmyiA165d5YOgtPRm0OBDu9bZPm6X18usdcjuj8b+Y1f0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620204548; a=rsa-sha256; cv=none; b=m3lDmx0nlEYCoObJ92OJLkSx8ViL9lvTWMogqiaIFTrBP6YzufrxBqlUMIGWwXjpktjV7c D8f+tkQvw2BrROMGHjoGq2NMPT5oDobxXnycn4eZJcY2KvDzcfC5Mprg8rdWeIp9uncNtq WZDFgd9Q/Vyi70tZt/9ymfaJOh6xA5wfvlMOWmSz5kHUGfhIJRUHiKXEkKB60LQ4q08msJ DDC2cuBApoQLN5x0O39FkXWIGwryB1zCOjj6M8ETJlz7ji01vvKkxaG48ixHUjeKBEYFoI +CFmKrUuH1ybuuYw4i65DFpSUdipk7oc6KUHAB/sLMe0zXiLD5/bZaY+7yEaOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=YVduSq6d; 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-Spam-Score: 3.64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=YVduSq6d; 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: BFBC023368 X-Spam-Score: 3.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: TMq1rEvarCvp * gnu/packages/radio.scm (csdr): New variable. --- gnu/packages/radio.scm | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index e6d5ef0203..5329a75794 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1575,3 +1575,58 @@ 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")) + ;; Don't print summary of SIMD optimized functions. + "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