all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Evan Straw <evan.straw99@gmail.com>
To: 38842@debbugs.gnu.org
Subject: [bug#38842] [PATCH 3/3] gnu: Add redsea.
Date: Wed, 01 Jan 2020 03:21:48 +0000	[thread overview]
Message-ID: <871rsjhneb.fsf@gmail.com> (raw)
In-Reply-To: <87a777hnrb.fsf@gmail.com>


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: [PATCH 3/3] gnu: Add redsea. --]
[-- Type: text/x-patch, Size: 2904 bytes --]

From f19dfe6652727f074b0aa335b43c52bb482116b2 Mon Sep 17 00:00:00 2001
From: Evan Straw <evan.straw99@gmail.com>
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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  parent reply	other threads:[~2020-01-01  3:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-01  3:14 [bug#38842] [PATCH] Update rtl-sdr and add redsea Evan Straw
2020-01-01  3:20 ` [bug#38842] [PATCH 1/3] gnu: rtl-sdr: Update to 0.6.0 Evan Straw
2020-01-01 22:03   ` Ricardo Wurmus
2020-01-01  3:21 ` [bug#38842] [PATCH 2/3] gnu: Add liquid-dsp Evan Straw
2020-01-01 22:06   ` Ricardo Wurmus
2020-01-01 22:27     ` Evan Straw
2020-01-01  3:21 ` Evan Straw [this message]
2020-01-01 22:11   ` [bug#38842] [PATCH 3/3] gnu: Add redsea Ricardo Wurmus
2020-01-01 22:54 ` [bug#38842] [PATCH v2 2/3] gnu: Add liquid-dsp Evan Straw
2020-01-01 23:08 ` [bug#38842] [PATCH v3 " Evan Straw
2020-01-01 23:24 ` [bug#38842] [PATCH v2 3/3] gnu: Add redsea Evan Straw
2020-01-16  7:34   ` Evan Straw
2020-03-12 12:12 ` bug#38842: [PATCH] Update rtl-sdr and add redsea Jonathan Brielmaier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rsjhneb.fsf@gmail.com \
    --to=evan.straw99@gmail.com \
    --cc=38842@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.