From patchwork Thu Jan 16 07:37:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Evan Straw X-Patchwork-Id: 19838 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2D39317A66; Thu, 16 Jan 2020 07:38:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7631C17A2D for ; Thu, 16 Jan 2020 07:38:15 +0000 (GMT) Received: from localhost ([::1]:37730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irzjK-0004kI-VX for patchwork@mira.cbaines.net; Thu, 16 Jan 2020 02:38:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50704) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irzjD-0004it-Om for guix-patches@gnu.org; Thu, 16 Jan 2020 02:38:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irzjA-0005vr-5B for guix-patches@gnu.org; Thu, 16 Jan 2020 02:38:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58935) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irzjA-0005vf-0g for guix-patches@gnu.org; Thu, 16 Jan 2020 02:38:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1irzj8-00034g-V5 for guix-patches@gnu.org; Thu, 16 Jan 2020 02:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39150] [PATCH 1/2] gnu: liquid-dsp: Remove unused module imports. References: <87wo9r98ds.fsf@virtualplaza.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <87wo9r98ds.fsf@virtualplaza.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Evan Straw Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Jan 2020 07:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39150 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39150@debbugs.gnu.org Received: via spool by 39150-submit@debbugs.gnu.org id=B39150.157916026311784 (code B ref 39150); Thu, 16 Jan 2020 07:38:02 +0000 Received: (at 39150) by debbugs.gnu.org; 16 Jan 2020 07:37:43 +0000 Received: from localhost ([127.0.0.1]:36674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irzil-00033v-6l for submit@debbugs.gnu.org; Thu, 16 Jan 2020 02:37:43 -0500 Received: from mail-pg1-f174.google.com ([209.85.215.174]:33693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irzie-00033c-Rb for 39150@debbugs.gnu.org; Thu, 16 Jan 2020 02:37:37 -0500 Received: by mail-pg1-f174.google.com with SMTP id 6so9479112pgk.0 for <39150@debbugs.gnu.org>; Wed, 15 Jan 2020 23:37:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=qlxQL4v4XxU+neGb+RpLAIW6rHia+hZRnahWTwZPY1E=; b=cLhCSXByaJzVAIOdvt7ba+6ToezuKniXul+ll+7jOYjQeCa8z/5KM/jpxWBQ1gx4i4 e6X3fIBk53y1kRIRl264UaB4Nn98oxRzH8/5VMuQhyHJekSVYNH2klGiTRMJk5eNBs0b BRoMJU4MnQDIaqXlUgUsLSSubx9zA3ezQhLIWa2vb3bO2ZQmwKpjWUFaDAwXiXbLbpMC 9cZHjJLdG5yuFVnHZ6hPOZbU1NP4+5r+SrT75R4R8V0f9BmmTiHlpSMoaCy/9Iv54cU4 A1+l2nrfFw/kjyWxu3pf2yENWj+Y2kxqP/x0yUZe7giAjJee10oeveIfklRra1Ks1CjM 0OxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=qlxQL4v4XxU+neGb+RpLAIW6rHia+hZRnahWTwZPY1E=; b=r9su/I0GXV92V+HOMQkLF1tOaKcq5yuZ1T3gqUm/WFq/C2CG82IKmg8oPH1I9lwJnN VIwkabOq3qkvcbJSAQjJecvTZ51ksC0lGgtuJYBWhbqA9fXFoOpn+4EfzpsLPGqR8oiY PCUpNC6OlggogHvphxB0BMfXb8hgm8YaGoG71+pzMPHI3aP3tC0OPzhXDIPddFZtLfxu mRFwYUIctdGsJl/6hzRXF9Rx9Sw4pgc/E+RjRc36wAZ0GHMvBaGt3AfBaP/p8x1595ER Yxo3+YCl35kWG86fVJhIW6+X5ePEEYbUHvwsaZDG0bDoyOotG9F96+kqp92cJ1CVo6aK 4OaQ== X-Gm-Message-State: APjAAAWmju41276s30JoWB9JjylBHzVSGKtZd9+s0cn0w2UwSBynmiI7 Q8LC2nOzis1sORh5hLK5RFpPwRD3tL0= X-Google-Smtp-Source: APXvYqy8M114GN67BmZsLu1tHWLYBBIo7rBv+odNqj018mXdaF1xcVF1nH33CaWM4Tim33jtZPKXOA== X-Received: by 2002:a62:868f:: with SMTP id x137mr36085573pfd.228.1579160246660; Wed, 15 Jan 2020 23:37:26 -0800 (PST) Received: from virtualplaza ([205.175.97.42]) by smtp.gmail.com with ESMTPSA id i2sm23146303pgi.94.2020.01.15.23.37.26 for <39150@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Jan 2020 23:37:26 -0800 (PST) From: Evan Straw Date: Wed, 15 Jan 2020 23:37:25 -0800 Message-ID: <87lfq76edm.fsf@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Made some slight modifications to this package; specifically, (guix utils) was included although it was not used. -- Evan From dc527071eb098130a87f6c9259c0faad5fe88efb Mon Sep 17 00:00:00 2001 From: Evan Straw Date: Wed, 15 Jan 2020 23:06:34 -0800 Subject: [PATCH 1/2] gnu: liquid-dsp: Remove unused module imports. * gnu/packages/sdr.scm (liquid-dsp): Remove unused module imports. --- gnu/packages/sdr.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/sdr.scm b/gnu/packages/sdr.scm index f6c9050503..563a9b3887 100644 --- a/gnu/packages/sdr.scm +++ b/gnu/packages/sdr.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019 Christopher Howard +;;; Copyright © 2019, 2020 Evan Straw ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,11 +20,9 @@ (define-module (gnu packages sdr) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) - #:use-module (guix utils) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) - #:use-module (gnu packages) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools)) -- 2.20.1 From patchwork Thu Jan 16 07:38:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Evan Straw X-Patchwork-Id: 19839 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4DCAD17A66; Thu, 16 Jan 2020 07:39:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id C95FD17A2D for ; Thu, 16 Jan 2020 07:39:12 +0000 (GMT) Received: from localhost ([::1]:37738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irzkG-0005Kc-D6 for patchwork@mira.cbaines.net; Thu, 16 Jan 2020 02:39:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50881) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irzk8-0005KB-36 for guix-patches@gnu.org; Thu, 16 Jan 2020 02:39:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irzk6-0006OZ-JN for guix-patches@gnu.org; Thu, 16 Jan 2020 02:39:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58939) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irzk6-0006O4-Cm for guix-patches@gnu.org; Thu, 16 Jan 2020 02:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1irzk6-00036M-BD for guix-patches@gnu.org; Thu, 16 Jan 2020 02:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39150] [PATCH 2/2] gnu: Add redsea. References: <87wo9r98ds.fsf@virtualplaza.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <87wo9r98ds.fsf@virtualplaza.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Evan Straw Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Jan 2020 07:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39150 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39150@debbugs.gnu.org Received: via spool by 39150-submit@debbugs.gnu.org id=B39150.157916032511898 (code B ref 39150); Thu, 16 Jan 2020 07:39:02 +0000 Received: (at 39150) by debbugs.gnu.org; 16 Jan 2020 07:38:45 +0000 Received: from localhost ([127.0.0.1]:36679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irzjo-00035p-R2 for submit@debbugs.gnu.org; Thu, 16 Jan 2020 02:38:45 -0500 Received: from mail-pg1-f175.google.com ([209.85.215.175]:41663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irzjk-00035U-6T for 39150@debbugs.gnu.org; Thu, 16 Jan 2020 02:38:43 -0500 Received: by mail-pg1-f175.google.com with SMTP id x8so9462638pgk.8 for <39150@debbugs.gnu.org>; Wed, 15 Jan 2020 23:38:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=mUf1YmGtUc7XHxT36AgozV53Of8OKy3Dn52ZjwHyvKw=; b=LNA/GX1wcCHjnOiEpB/LfbWgM17Zo6EJ7i+LCZg7fkSn+SrewvjtoJXmsNfZ3WUedG 6blRNBkqMhYGx2Y/EJ+CBom6RGBX60ubdsSWKvJMp8z28aoaQA0XXstkDsEDym2JZ+8e ATPPo9nwO5RUQlqC4p/TjDaxFCg62vD2P9/EUwi/g/eeE1KymrCM2ohjTRuTtlnf9H/u WhAHFHfwu4o0/0RjvpalCw9R4GP6jP5cR8NlLj/Dgwm2U6q3EXvxZlwYcqkkymDEmef+ UQ3Z7gU9hlcEZv7qhR5yofeAEsHPFzAjVg1JpvbpavI689sMLnR3bsen5HuX8ODU4uKm tw7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=mUf1YmGtUc7XHxT36AgozV53Of8OKy3Dn52ZjwHyvKw=; b=RP81ejxymG/Lq5dDt6eFWVDY8BVRbiZlWPBKsHjXw+kIn+XCvF/7gG7pe9SahdjlAr 6poiU2lNiMUxp/1k9mhLcx06qITdWQK6mpf41WcONUnEBj6cInI0sxmsT1BgYvelxO7g rbtshifWH+K8qN5l+UJfuIyBU0Ct65Ahu6d8m1gCF8mq7EaaKLFGnZzJHwxtELUzd4Fq zXphwnbQcv5PP7cFJV0yDMKvf3H8pyEFwA3IUumdP8lLmJ+/5Z8BaFMFCn+lUbFeRSUV HsXaDx6YmMUr6nFjQtF6Iy0d84uK1NVxLl3PGFZ1U/n8jep5G4R3kPv/6XVCn8BaiO4H 3qVw== X-Gm-Message-State: APjAAAWsmtLh0DNFeKODnAJyVoOSi65dfR25pLnoedSQUeVJFvEFT3Fo I6WNo4pGMDUdb/NCH5L/c1THfDk1Pmk= X-Google-Smtp-Source: APXvYqxjpsoTYjl0xWDvHMDfqXfQXOLZikSJVzPQAOBD3u1rVPp5tyGqub7dK6Jz4MpS/VsbcaJokg== X-Received: by 2002:a63:7311:: with SMTP id o17mr35887333pgc.29.1579160314278; Wed, 15 Jan 2020 23:38:34 -0800 (PST) Received: from virtualplaza ([205.175.97.42]) by smtp.gmail.com with ESMTPSA id l186sm23236899pge.31.2020.01.15.23.38.33 for <39150@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Jan 2020 23:38:33 -0800 (PST) From: Evan Straw Date: Wed, 15 Jan 2020 23:38:32 -0800 Message-ID: <87h80v6ebr.fsf@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Finally, here is the patch for Redsea, which now uses the liquid-dsp definition in sdr.scm. -- Evan From c7b8d253b5959f7e8b61bd1730249df26f071a29 Mon Sep 17 00:00:00 2001 From: Evan Straw Date: Wed, 15 Jan 2020 23:12:53 -0800 Subject: [PATCH 2/2] gnu: Add redsea. * gnu/packages/ham-radio.scm (redsea): New variable. --- gnu/packages/ham-radio.scm | 51 +++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ham-radio.scm b/gnu/packages/ham-radio.scm index 6b3f68cd7d..376191af54 100644 --- a/gnu/packages/ham-radio.scm +++ b/gnu/packages/ham-radio.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017, 2018, 2019 Arun Isaac -;;; Copyright © 2019 Evan Straw +;;; Copyright © 2019, 2020 Evan Straw ;;; ;;; This file is part of GNU Guix. ;;; @@ -22,6 +22,8 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (gnu packages autotools) + #:use-module (gnu packages base) #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages libusb) @@ -29,6 +31,7 @@ #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages sdr) #:use-module (gnu packages xml) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) @@ -127,3 +130,49 @@ satellites, the POES NOAA weather satellite series. These transmissions are on a frequency of 137 MHz. They can be received using an inexpensive antenna and a dedicated receiver.") (license license:gpl2+))) + +(define-public redsea + (package + (name "redsea") + (version "0.18") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/windytan/redsea") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1y96g0ra2krjb2kypm8s5gdfia45yci4f36klsvyzg8d53v5cwhn")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; The configure.ac file does not explicitly link against libiconv + ;; except on Mac OS, causing the build to fail. This phase comments + ;; out the original AC_SUBST macro (located inside a conditional) and + ;; adds an explicit use of it underneath, so that libiconv is always + ;; linked against. + (add-after 'unpack 'patch-libiconv + (lambda _ + (substitute* "configure.ac" + (("^ +AC_SUBST") + "# AC_SUBST") + (("esac") + "esac\nAC_SUBST([ICONV], [\"-liconv\"])")) + #t))))) + (inputs + `(("libiconv" ,libiconv) + ("libsndfile" ,libsndfile) + ("liquid-dsp" ,liquid-dsp))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake))) + (home-page "https://github.com/windytan/redsea") + (synopsis "Lightweight RDS to JSON decoder") + (description "redsea is a lightweight command-line @dfn{FM Radio Data +System} (FM-RDS) decoder. Redsea can be used with any RTL-SDR USB radio stick +with the rtl_fm tool, or any other @dfn{software-defined radio} (SDR) via +csdr, for example. It can also decode raw ASCII bitstream, the hex format +used by RDS Spy, and audio files containing @dfn{multiplex} signals (MPX).") + (license license:expat))) -- 2.20.1