From patchwork Wed Jan 1 03:21:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Straw X-Patchwork-Id: 19495 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 B8D33179CE; Wed, 1 Jan 2020 03:22:15 +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 6F4C2179CA for ; Wed, 1 Jan 2020 03:22:15 +0000 (GMT) Received: from localhost ([::1]:48012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imUaN-0003bu-1I for patchwork@mira.cbaines.net; Tue, 31 Dec 2019 22:22:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42000) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imUaC-0003WH-4K for guix-patches@gnu.org; Tue, 31 Dec 2019 22:22:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imUaA-0000FJ-OI for guix-patches@gnu.org; Tue, 31 Dec 2019 22:22:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57671) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1imUaA-0000EO-JY for guix-patches@gnu.org; Tue, 31 Dec 2019 22:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1imUaA-0005nQ-GP for guix-patches@gnu.org; Tue, 31 Dec 2019 22:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38842] [PATCH 3/3] gnu: Add redsea. References: <87a777hnrb.fsf@gmail.com> In-Reply-To: <87a777hnrb.fsf@gmail.com> Resent-From: Evan Straw Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Jan 2020 03:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38842 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38842@debbugs.gnu.org Received: via spool by 38842-submit@debbugs.gnu.org id=B38842.157784892122266 (code B ref 38842); Wed, 01 Jan 2020 03:22:02 +0000 Received: (at 38842) by debbugs.gnu.org; 1 Jan 2020 03:22:01 +0000 Received: from localhost ([127.0.0.1]:35410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imUa8-0005n3-Uz for submit@debbugs.gnu.org; Tue, 31 Dec 2019 22:22:01 -0500 Received: from mail-pf1-f179.google.com ([209.85.210.179]:41790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imUa5-0005ml-0D for 38842@debbugs.gnu.org; Tue, 31 Dec 2019 22:21:59 -0500 Received: by mail-pf1-f179.google.com with SMTP id w62so20375563pfw.8 for <38842@debbugs.gnu.org>; Tue, 31 Dec 2019 19:21:56 -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=SNvneQApxh4QXSKnD0/FrND5UorvJEIfvhR7Ak5Rm38=; b=msaxPKg4X28lZfPrkvLsr960i3Wk3gGwQbrp6B4U9tLqxOWLxY2TDOHDBEeg+ypt6x hSUFcDfcZ3aIdHpTYaEOJnbvg4Wur+MDCzNXdV2LZodFILTeMXusrCw7fcRhVUHuJVoz 1MVhx/kKj2+8XxC9AgN3aAcsbu4Wd2LWo0siDRxKjRlPvYckTmSkaxE5Lj5svlLtKeVm IGEoqy+7Lb0GOMT5FcNKpcJiXxOCt9MV0jDFGD7yoc4rIV9cj1l+N8zhFHkhNxy3p95k WFsH4KveiOy4jXeZ3ZZ3oMihkjvKSCVi3l5LEZy4wr5cPG0nkBv4ntmNeWGoGssgIps6 skVA== 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=SNvneQApxh4QXSKnD0/FrND5UorvJEIfvhR7Ak5Rm38=; b=K4VmD2KaevEyTbwPQWxEGun8OwwqTMp3m0Tjo+y5AbqLhQssU73pfFKOgxNLKTHRjR TyDX4DoF5d1XKHadFd1yXpt5iZ8vXaYRWyBBwveu1hn8cbF7qBs76vMzZKmp+gm4dfN7 h9JK8Ud9p7sQL+ZhDFoHsZFCmkOreJ7O6dCP1wHQDhoVqKrHxFR+sG+N2OH8L7lYIUEu fCHFsawkndz9Dpeg2AFDTJqCl0xW9D7KvcRm317kHEug0ys0CZymqRnkyt0UKX0Llbkm EjTjdVYnG5oF1H1x1tpDbtTZy5lrNU+0ckI5J6JvouLigbzZHRuevU0S+ZfsElX2EOg9 8+Vw== X-Gm-Message-State: APjAAAUcnJfZWSIDG1ZMnIHQuk9dkFSogQpEr4jBWkVOZL4B6bAL+LPb +HhiSCqJPXQHsdglnQ4c1fmrNNnW/jY= X-Google-Smtp-Source: APXvYqzwzJ48HsBcwiARKHcp85vNOuqOA0nkWM9S8SW5eeIrrQgJOPOK0mAa+ER5Lcrz3tu+5lSKYw== X-Received: by 2002:a63:eb02:: with SMTP id t2mr82054960pgh.289.1577848911189; Tue, 31 Dec 2019 19:21:51 -0800 (PST) Received: from xenon ([2600:6c50:677f:fd7e:f598:ca13:9a50:d94d]) by smtp.gmail.com with ESMTPSA id i11sm5372782pjg.0.2019.12.31.19.21.50 for <38842@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Dec 2019 19:21:50 -0800 (PST) From: Evan Straw Date: Wed, 01 Jan 2020 03:21:48 +0000 Message-ID: <871rsjhneb.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 From f19dfe6652727f074b0aa335b43c52bb482116b2 Mon Sep 17 00:00:00 2001 From: Evan Straw Date: Tue, 31 Dec 2019 19:04:37 -0800 Subject: [PATCH 3/3] gnu: Add redsea. * gnu/packages/ham-radio.scm (redsea): New variable. --- gnu/packages/ham-radio.scm | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/ham-radio.scm b/gnu/packages/ham-radio.scm index f327ea22da..5c1e17ac47 100644 --- a/gnu/packages/ham-radio.scm +++ b/gnu/packages/ham-radio.scm @@ -20,6 +20,7 @@ (define-module (gnu packages ham-radio) #: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 (gnu packages autotools) @@ -160,3 +161,45 @@ oscillators, modems, synchronizers, complex mathematical operations, and much more.") (license license:expat)))) +(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\"])"))))))) + (inputs `(("libiconv" ,libiconv) + ("libsndfile" ,libsndfile) + ("liquid-dsp" ,liquid-dsp))) + (native-inputs `(("autoconf" ,autoconf) + ("automake" ,automake))) + (home-page "https://github.com/windytan/redsea") + (synopsis "A lightweight RDS to JSON decoder") + (description "redsea is a lightweight command-line FM-RDS decoder for +GNU/Linux. Redsea can be used with any RTL-SDR USB radio stick with the rtl_fm +tool, or any other SDR via csdr, for example. It can also decode raw ASCII +bitstream, the hex format used by RDS Spy, and audio files containing +multiplex signals (MPX).") + (license license:expat))) -- 2.20.1