From mboxrd@z Thu Jan 1 00:00:00 1970 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 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-Message-ID: From: Evan Straw Date: Wed, 15 Jan 2020 23:38:32 -0800 Message-ID: <87h80v6ebr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39150@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Finally, here is the patch for Redsea, which now uses the liquid-dsp definition in sdr.scm. -- Evan --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0002-gnu-Add-redsea.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH 2/2] gnu: Add redsea. From=20c7b8d253b5959f7e8b61bd1730249df26f071a29 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. =2D-- 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 =2D-- a/gnu/packages/ham-radio.scm +++ b/gnu/packages/ham-radio.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2017, 2018, 2019 Arun Isaac =2D;;; Copyright =C2=A9 2019 Evan Straw +;;; Copyright =C2=A9 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. T= hese transmissions are on a frequency of 137 MHz. They can be received using an inexpensive ante= nna 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 commen= ts + ;; out the original AC_SUBST macro (located inside a conditional)= and + ;; adds an explicit use of it underneath, so that libiconv is alw= ays + ;; 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 s= tick +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))) =2D-=20 2.20.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6f/SZXb4DLdwy+VR9TDDtKKp8G0FAl4gEvgACgkQ9TDDtKKp 8G2yHg//SAcCvzLEQSQuVlnx+efqxLjXnzVi7s1hTVdvzMeMq8ISMI3h9KOP2W6A S2IMLDZxir8Qm6x3e9EE8jCwRJtQU3L6A8sa+50AY3UFFDiYSaE10zrJ9SUQGKhN gosA8NUrEf0KcF1GcqGA4Ff4cnNsHK1K09rq+f1DTCbbz46n93BXgr5r36TyKBBB y6kDcW9d34W5657c9uKomU2peHIfYXRKawGZYzEzSgnvYhB6cl2T84LZDYTWpuLD HO0iu1LAgJnj8I2/LBnJQBTNcn1/QmshIUlqMFEShx+eBebGoGRtsbdx7OihcW7i 19WFs6NF5SN8RPpa6KVG1GB5S8yeLM+u+f8YF6xMYy1pQJhzFJb/Y3vO3kzAzVUT bae2s/lydoS0uoSZMPfrQmq2M9blJM042xzcd435x00Uj7PdkIFB5vgG+HovtKl7 gR3BMwW+dNMw/Y7Dl+GqVOnHD3kpvicrcqXtrd/gXPXOA9hYQbk5CvUMad2uEgK+ mc0EZnGWr0WGgjaduWKVcLPsrG0TSH5xFBh7urrEdNO/6kERdum1mKNvEHCmZIYQ J6xr/xxUxIBNbreQ9Ar1jvp6NxWI8T4b3FZPsflSQYr3t6nPZQccnBw+KvqwOR54 cwf2xQbBerbmP992SeTSiMHU9GRgco7e12x9FH7G3GNAZKECKyk= =uufm -----END PGP SIGNATURE----- --==-=-=--