From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#38842] [PATCH v2 3/3] gnu: Add redsea. References: <87a777hnrb.fsf@gmail.com> In-Reply-To: <87a777hnrb.fsf@gmail.com> Resent-Message-ID: From: Evan Straw Date: Wed, 01 Jan 2020 23:24:23 +0000 Message-ID: <8736cylpzs.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; 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: 38842@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain This revision should address the issues with the patch for adding Redsea. Thanks for pointing these out. --Evan --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0003-gnu-Add-redsea.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH 3/3] gnu: Add redsea. From=20ada62b2a6497b557bb5ca3e27c72f1a16d8b401a 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. =2D-- 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 =2D-- 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))) =20 +(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----- iQIzBAEBCAAdFiEE6f/SZXb4DLdwy+VR9TDDtKKp8G0FAl4NKicACgkQ9TDDtKKp 8G1C/w//ekJ8g5SM31ryW2zAQFrL5MDRsrQs0NAXVfrdK9e4dcLrlR6iq77ESKbf niEnsxM7NCrv9sbZrj19eYvBbhxqyJRqJI2FpPw34ZYe64VB8zZuuRe3VcorJzQd SCSddsX1GzVlrxmmWbKi6JGLy9VG9V0Kfux0EFtTUs+1d4rCAczS2vQ91l/r3Sj5 RoFU8D2i+HASb9riq/vUmH7ou/z09S7brJ0U/PjIFdfpbUEWFkhonhgeTnApfYX/ TGecgcx8GUnyHd5noKcQAeHCtL1lUZ7TbVPQCfAOXuBRkf3rMBgsrqj57nd1+J9k OElcZouW5K14QQmG5vYeS7U19I1g4XHPrOl3kjxegFnWn8KvCdI9G5A1PyqXz+2p QuOdnRmBgCMkRxOsR5pF7z9nw1S0z6agh0Tw6hAGCxpy6TeDPHmyNQ5sjq0gN9dt aspun7jnoVMgZyoTIXtTRsyJ+PuRL00uhM2cimB705Wgiiglsypqq272G4Ni7oIg /DjDyRcb9qxycxpzWPxS2ZNLjhmH/BjxAlhSC5QGAn3TARW4Mzmk86fQiGVinTEy e7tJ/pI+FzEUQG6Lo40LtyydUzWaqm7Eem0MYCCX/M8i2X257ISEk43pHYslh0xU GrZDsNhHvuHrUq8wlwEUHGw+MWLq0Gc7ChYsfiHlNeXr0f8LTng= =0HX4 -----END PGP SIGNATURE----- --==-=-=--