From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:38963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFMzX-0002xN-Eb for guix-patches@gnu.org; Sat, 13 Apr 2019 14:03:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFMzW-0000nm-7T for guix-patches@gnu.org; Sat, 13 Apr 2019 14:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45498) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFMzW-0000nQ-1n for guix-patches@gnu.org; Sat, 13 Apr 2019 14:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hFMzV-0006Ba-PF for guix-patches@gnu.org; Sat, 13 Apr 2019 14:03:01 -0400 Subject: [bug#35258] [PATCH] gnu: Add aptdec. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:38920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFMz1-0002uo-8r for guix-patches@gnu.org; Sat, 13 Apr 2019 14:02:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFMz0-0000Qc-5j for guix-patches@gnu.org; Sat, 13 Apr 2019 14:02:31 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:57600) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hFMyy-0000Mv-Vp for guix-patches@gnu.org; Sat, 13 Apr 2019 14:02:30 -0400 From: Arun Isaac Date: Sat, 13 Apr 2019 23:32:05 +0530 Message-Id: <20190413180205.23443-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 35258@debbugs.gnu.org * gnu/packages/ham-radio.scm (aptdec): New variable. --- gnu/packages/ham-radio.scm | 44 +++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ham-radio.scm b/gnu/packages/ham-radio.scm index 6e91866905..9f0adca940 100644 --- a/gnu/packages/ham-radio.scm +++ b/gnu/packages/ham-radio.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2017, 2018 Arun Isaac +;;; Copyright © 2017, 2018, 2019 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,13 +20,17 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages libusb) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages xml) #:use-module (guix build-system cmake) + #:use-module (guix build-system gnu) #:use-module (guix build-system python)) (define-public rtl-sdr @@ -82,3 +86,41 @@ growing list of radios across several manufacturers and allows transferring of memory contents between them.") (license (list license:gpl3+ license:lgpl3+)))) ; chirp/elib_intl.py + +(define-public aptdec + (package + (name "aptdec") + (version "1.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/csete/aptdec") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hf0zb51qc6fyhdjxyij1n3vgwnw3cwksc3r11szbhkml14qjnzk")))) + (build-system gnu-build-system) + (inputs + `(("libpng" ,libpng) + ("libsndfile" ,libsndfile))) + (arguments + `(#:make-flags (list "CC=gcc") + #:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "atpdec" (string-append out "/bin"))) + #t))))) + (home-page "https://github.com/csete/aptdec") + (synopsis "NOAA Automatic Picture Transmission (APT) decoder") + (description "Aptdec decodes Automatic Picture Transmission (APT) images. +These are medium resolution images of the Earth transmitted by, among other +satellites, the POES NOAA weather satellite series. These transmissions are +on a frequency of 137 MHz. They can be received using an inexpensive antenna +and a dedicated receiver.") + (license license:gpl2+))) -- 2.21.0