From patchwork Wed May 5 08:48:18 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: 29127 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 3E8D327BC82; Wed, 5 May 2021 09:50:13 +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 E3FD127BC81 for ; Wed, 5 May 2021 09:50:12 +0100 (BST) Received: from localhost ([::1]:35680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leDES-0002do-16 for patchwork@mira.cbaines.net; Wed, 05 May 2021 04:50:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leDEH-0002cP-U8 for guix-patches@gnu.org; Wed, 05 May 2021 04:50:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47153) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leDEH-00024z-K8 for guix-patches@gnu.org; Wed, 05 May 2021 04:50:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leDEH-0006Nb-HQ for guix-patches@gnu.org; Wed, 05 May 2021 04:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48217] [PATCH v2 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: Wed, 05 May 2021 08:50:01 +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.162020454624413 (code B ref 48217); Wed, 05 May 2021 08:50:01 +0000 Received: (at 48217) by debbugs.gnu.org; 5 May 2021 08:49:06 +0000 Received: from localhost ([127.0.0.1]:58679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leDDO-0006Lh-Fv for submit@debbugs.gnu.org; Wed, 05 May 2021 04:49:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]:54081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leDDM-0006Kg-KB for 48217@debbugs.gnu.org; Wed, 05 May 2021 04:49:05 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 65E6A2400FC for <48217@debbugs.gnu.org>; Wed, 5 May 2021 10:48:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620204538; bh=PpdqIZaSCezkOLPn+grEJm5WuHS4/hUcXmg4ieQt9TI=; h=From:To:Cc:Subject:Date:From; b=Kvft1EAQCqIZpB0soRxJqLH5oI7KPQRENOmthKzUv+G5C8EWjSOtQtqIqHYc2Rbuq L5CWIRQfPL6yLxxYfsPPGM+MbGpNJXyTyrpbdP/ArM/5E8beXtbykDD29BjRIA4gkn JjSvsDH3Yc7zPGz0WdU70idGUoSmDH+zPcHGKsGvoGJyoZKHTwtk8jEE2iEOsbRyTe 3XQuGITuuy/J6Jwu68Lp2u3TPHIJ3atN6ZNuv3PL0f13hNsMNlrbwGjoE6RTuy6P3j Agiwu2C3y8XQe/8vVT7GpFE/lbTByddHYod1lmjWB2qN6jvL4Mplvj1/cf3yWtP6FD lUyEga1XMuXBw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FZr3Y0VVTz9rxD; Wed, 5 May 2021 10:48:57 +0200 (CEST) From: Guillaume Le Vaillant Date: Wed, 5 May 2021 08:48:18 +0000 Message-Id: <20210505084824.22275-3-glv@posteo.net> In-Reply-To: <20210505084824.22275-1-glv@posteo.net> References: <20210505084824.22275-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 910f63959a..73f0d03e01 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