From patchwork Wed Jan 1 23:24:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Straw X-Patchwork-Id: 19514 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 AC87B179BF; Wed, 1 Jan 2020 23:25:14 +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 C189A179BD for ; Wed, 1 Jan 2020 23:25:10 +0000 (GMT) Received: from localhost ([::1]:34410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imnMU-0000ly-AV for patchwork@mira.cbaines.net; Wed, 01 Jan 2020 18:25:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55716) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imnMN-0000lh-NS for guix-patches@gnu.org; Wed, 01 Jan 2020 18:25:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imnMM-0006L7-Bv for guix-patches@gnu.org; Wed, 01 Jan 2020 18:25:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1imnMM-0006Jz-3U for guix-patches@gnu.org; Wed, 01 Jan 2020 18:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1imnMM-0004M5-0C for guix-patches@gnu.org; Wed, 01 Jan 2020 18:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38842] [PATCH v2 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 23:25:01 +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.157792107816687 (code B ref 38842); Wed, 01 Jan 2020 23:25:01 +0000 Received: (at 38842) by debbugs.gnu.org; 1 Jan 2020 23:24:38 +0000 Received: from localhost ([127.0.0.1]:37741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imnLx-0004L3-Ub for submit@debbugs.gnu.org; Wed, 01 Jan 2020 18:24:38 -0500 Received: from mail-pl1-f181.google.com ([209.85.214.181]:39224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imnLr-0004Kd-UB for 38842@debbugs.gnu.org; Wed, 01 Jan 2020 18:24:36 -0500 Received: by mail-pl1-f181.google.com with SMTP id g6so14201834plp.6 for <38842@debbugs.gnu.org>; Wed, 01 Jan 2020 15:24:31 -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=2WPLApOd/JCDxFNHPCOsE/YUTsrF5PGYMB191wkol7s=; b=EXPaJZiWIYqNz4d8Xv2UR8jlWbatMb78+/IelfhfeiDU2S9zqdARuE5ObNK9+cTkb3 J0LKvCzaVioZp+NTAv6dLm9mx28m58dI2s4+70sRCfgAKKHzd5hSZoR1EnHdMa3fjHev A+K6WLxIbhfAdtbh0W8zBkFWO/BjnD4w/yv4tGnmFiM+s/DP+fe2uOAWdN68OJ9bI7j3 AOPt0MXlKxf7ZFs2Wn9oZV1zB00ObsEBcFxg61FTFUS7wOd/LDbcGP0EYALfotvS7zOe GjOFBM2ioL2CJ5NxQ8/11+0wtBZWjMYmspTTWT+1BSUkNRTP4BVcoq67J6NAuYjy+pQt yBbA== 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=2WPLApOd/JCDxFNHPCOsE/YUTsrF5PGYMB191wkol7s=; b=aW8hrC7rsDh2/Qq0AtCAg+jcBcm8GkRAB5GGasQufA50FgAmidyrckuWQSizr1/Sg3 Bny4jPKyI7la7sf5wkDiM9HoqoicucQyVnsb3p+Y1dE8bc5ys9b2W5GuKnHxeuAzqf+q tuFZ8oSdPLJGkO+01wNyq2vKF0YCRapBw+ZnJY3ivviHlf0CHW1T35tvzsoRBw7t7Q2c DHuj3WgyQ3dOvX9ixtj1JtPGl06+Nw1747/aYp3Kph+PYw0xoKpuPzExTDv14wQt5NIf xGUDphnXF/e6XWihuTkRBhZVOHL4X7nvJavffT1K/OBKAAL4hsPXpzwI+w+8q2OYqg9Q 5A4A== X-Gm-Message-State: APjAAAWB33Jig8R1/6mVO9px36mCf2xrkdCP/RuYq6ca6Cyvo1TPdZjg PDK+y/fTzkTKfaXOovNrj2JlaKNR8d0= X-Google-Smtp-Source: APXvYqzMYxtZM7gSxZmBAL5w2jpKM5oskKgDXiBoGnFLL12Mk91Zdkr6OwF7AaBXRs8cnErJKee0/g== X-Received: by 2002:a17:902:244:: with SMTP id 62mr41150313plc.117.1577921065719; Wed, 01 Jan 2020 15:24:25 -0800 (PST) Received: from xenon ([2600:6c50:677f:fd7e:f598:ca13:9a50:d94d]) by smtp.gmail.com with ESMTPSA id r30sm61020149pfl.162.2020.01.01.15.24.24 for <38842@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Jan 2020 15:24:25 -0800 (PST) From: Evan Straw Date: Wed, 01 Jan 2020 23:24:23 +0000 Message-ID: <8736cylpzs.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 This revision should address the issues with the patch for adding Redsea. Thanks for pointing these out. --Evan From ada62b2a6497b557bb5ca3e27c72f1a16d8b401a 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 | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/ham-radio.scm b/gnu/packages/ham-radio.scm index bd6badd0f7..3aa89cd84c 100644 --- a/gnu/packages/ham-radio.scm +++ b/gnu/packages/ham-radio.scm @@ -156,3 +156,48 @@ including filters, filter design, 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\"])")) + #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