From patchwork Tue May 4 08:56:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 29102 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 E6AE227BC82; Tue, 4 May 2021 09:59:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9BEE427BC81 for ; Tue, 4 May 2021 09:59:12 +0100 (BST) Received: from localhost ([::1]:43024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldqtb-0006aq-Kn for patchwork@mira.cbaines.net; Tue, 04 May 2021 04:59:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldqtT-0006Xx-6r for guix-patches@gnu.org; Tue, 04 May 2021 04:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldqtS-0000FI-N0 for guix-patches@gnu.org; Tue, 04 May 2021 04:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldqtS-0004ce-Ma for guix-patches@gnu.org; Tue, 04 May 2021 04:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48217] [PATCH 3/9] gnu: aptdec: Update to 1.7-1.5f91799. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 May 2021 08:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48217 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48217@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 48217-submit@debbugs.gnu.org id=B48217.162011868917688 (code B ref 48217); Tue, 04 May 2021 08:59:02 +0000 Received: (at 48217) by debbugs.gnu.org; 4 May 2021 08:58:09 +0000 Received: from localhost ([127.0.0.1]:51836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldqsb-0004b9-Er for submit@debbugs.gnu.org; Tue, 04 May 2021 04:58:09 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldqsa-0004ac-83 for 48217@debbugs.gnu.org; Tue, 04 May 2021 04:58:08 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id BA9282400FE for <48217@debbugs.gnu.org>; Tue, 4 May 2021 10:58:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620118680; bh=6OTlVVYGHk6N9NEtG0sP1H52mRAIt2VeKOdLDnhRcWk=; h=From:To:Cc:Subject:Date:From; b=CBIUdQVn6fhBYjKjMArpQhOIHpDlDehgq8WZidqiX+s6r/0csge7vRY1vDp+TXe3h m+26Y5DnDOoV3PCN5iO1Y1UkRAFZwymNnvFl4QLJAYVdM8FIMAKEGsQzFPHkpvfpXU u9Uz+VnnWg6U1VDma6GMnD+fuMSvGUKLyWqIqYFLHMIXokYBNzMPyyI46TNFyqurXU oGOsvRoqI2BGQ6kh1Cr6ANeeshyG3lReHt0hs9avqMnDhvdGKLcmz013Ecwf3TWYOX DOjPCvuQsDBxhvdV/pvcxfuB+5kudXj8poJZU/Ip6nBSOvuZNHL/iOTSzUCYo3BGHf HXifQxWzXO/fw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FZDJH58xWz6tmy; Tue, 4 May 2021 10:57:51 +0200 (CEST) From: Guillaume Le Vaillant Date: Tue, 4 May 2021 08:56:59 +0000 Message-Id: <20210504085705.5298-3-glv@posteo.net> In-Reply-To: <20210504085705.5298-1-glv@posteo.net> References: <87czu6rimc.fsf@yamatai> <20210504085705.5298-1-glv@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 * gnu/packages/radio.scm (aptdec): Update to 1.7-1.5f91799. [build-system]: Switch to cmake-build-system. [arguments]: Remove 'make-flags". Remove custom 'configure' and 'install' phases. --- gnu/packages/radio.scm | 65 ++++++++++++++++-------------------------- 1 file changed, 25 insertions(+), 40 deletions(-) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 63088394bf..02a1822072 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -246,50 +246,35 @@ memory contents between them.") 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/Xerbo/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 - (string-append "CC=" - (if ,(%current-target-system) - (string-append (assoc-ref %build-inputs "cross-gcc") - "/bin/" ,(%current-target-system) "-gcc") - "gcc")) - (string-append "PREFIX=" %output) - (string-append "RPM_BUILD_ROOT=" %output)) - #: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/Xerbo/aptdec") - (synopsis "NOAA Automatic Picture Transmission (APT) decoder") - (description "Aptdec decodes Automatic Picture Transmission (APT) images. + ;; No release since 2013, use commit directly. + (let ((commit "5f91799637d93dfe7791caa7e9a6683050c4f8f3") + (revision "1")) + (package + (name "aptdec") + (version (git-version "1.7" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Xerbo/aptdec") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0i7vkjjrq392gs9qaibr7j3v4hijqqg8458dn21dwh16ncrvr9bp")))) + (build-system cmake-build-system) + (inputs + `(("libpng" ,libpng) + ("libsndfile" ,libsndfile))) + (arguments + `(#:tests? #f)) ; no tests + (home-page "https://github.com/Xerbo/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+))) + (license license:gpl2+)))) (define-public redsea (package