From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id V7FAGtUnnmCiVQEAgWs5BA (envelope-from ) for ; Fri, 14 May 2021 09:33:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0L+HFdUnnmBFcwAA1q6Kng (envelope-from ) for ; Fri, 14 May 2021 07:33:41 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 053AA1B169 for ; Fri, 14 May 2021 09:33:41 +0200 (CEST) Received: from localhost ([::1]:55870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhSKK-0000XC-7T for larch@yhetil.org; Fri, 14 May 2021 03:33:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhSJj-0000WB-72 for guix-patches@gnu.org; Fri, 14 May 2021 03:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33319) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhSJi-000832-Vh for guix-patches@gnu.org; Fri, 14 May 2021 03:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhSJi-0007TA-TP for guix-patches@gnu.org; Fri, 14 May 2021 03:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48411] [PATCH 2/2] gnu: Add wfview. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 May 2021 07:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48411@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 48411-submit@debbugs.gnu.org id=B48411.162097754228656 (code B ref 48411); Fri, 14 May 2021 07:33:02 +0000 Received: (at 48411) by debbugs.gnu.org; 14 May 2021 07:32:22 +0000 Received: from localhost ([127.0.0.1]:44863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhSJ3-0007S8-WB for submit@debbugs.gnu.org; Fri, 14 May 2021 03:32:22 -0400 Received: from mout01.posteo.de ([185.67.36.65]:35459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhSJ1-0007Rh-4w for 48411@debbugs.gnu.org; Fri, 14 May 2021 03:32:20 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 529ED240026 for <48411@debbugs.gnu.org>; Fri, 14 May 2021 09:32:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620977533; bh=GWNS9hXkwdQ33HElytSboPOIdlogxeBrpA5Jymis9Bg=; h=From:To:Cc:Subject:Date:From; b=eqyGmois9wtZHT0jq7YWfN1XoDO+W7JkojjSS6zJHeFBNDxPV7xDAYtGMhG2fC+zD 8malKge+RI3jZR/ArnPGmyUolj0WwLihg96AIfl61zVErVI1oBW7QQ5sshmucpBsvD nTc/BA49OiCEpk/OJIiL7nM/MUUcfaw6jNZuO5jbjEtX/uy5RIAMo1CWRB0sUFEPCi HRJqbg98d93LnH74XHBppV1Kzq6KYZEvL9U0fXoKmVEz9qWyCIqIcP+kK06F/IIMH7 eFAy1ode5mqn2fxJkBxo7P36GoIBOpY8ZJgbceb4pJ6tcGB46LWLWQrJ2gbvCjJ5S+ o8gCuBpcwhoLA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FhKwr269Jz6tmJ; Fri, 14 May 2021 09:32:12 +0200 (CEST) From: Guillaume Le Vaillant Date: Fri, 14 May 2021 07:31:39 +0000 Message-Id: <20210514073139.5906-2-glv@posteo.net> In-Reply-To: <20210514073139.5906-1-glv@posteo.net> References: <87h7j5hj1f.fsf@kitej> <20210514073139.5906-1-glv@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620977621; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jdFEQJqD9BroIsl6hF7nB0sIBVEDeGa5G4BS3YhE4V0=; b=tmfkl2hcoKJm7kURCpXKtACcmWdlXa8G3vDUSuSLf+SoP960x8rUvM3s2FPgsZZ0uWEEie AeWcrt2q3ZInIZ2gXMK/NPikliktWDRTVaZYPjWdDV5c4IK46AbFw1PpRVBPyPZzl77ZZP 39DfVJ9xxJkfM+MIXAZ3oqD1C+UyJlnX3R8tLQxC9ntVGb4EqXflGJH1wKhSsEBXi9QBCo sbeOFIWsN0+epafLQukhVOgB+jQ+vIsuJwsJe6xzUt72ywg5WqkySQt6PKnkQwP7iH7Ow4 CI54QtZnTKRHOIB0NssaNmHvkYjaXSpnakTg9Haj1MRJxlBVPkt5HKBcFDIhkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620977621; a=rsa-sha256; cv=none; b=LHjNwpkfzWLJ40VFUHeRmkJ2am8Zt4S+SqekKfbF00Lhk7Wrqh7pnTGIQYgCZRD3l3Ogq/ OxNapoHi6HvZaRLq+Co/Sdjy1Ch4oGuyLj0FVd8eugoz7BseEAqyVGpqQHiUMTY86JpkkI WkbAXO33OzlmJnUiz7MWPjn0urrvPFjH/XCmiHOJ5I0ovFV0hw/JbSAT36zSfYakIPRIOR 2RxphNHg6EhZbfiCSxjhesGEJwAHFzANXxOWE18VjYGmhhoWKHk+dHTzIBMe43dt1CwS3s am6ZX7vvmkF5uNs1KAp0pI287rY9QMymd3wHBbOMZdL9rty5smALS2k+w8gJwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=eqyGmois; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=eqyGmois; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 053AA1B169 X-Spam-Score: 3.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: aAOBcSRrFeoM * gnu/packages/radio.scm (wfview): New variable. --- gnu/packages/radio.scm | 69 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index c0898657a5..c142e5dfaf 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1815,3 +1815,72 @@ voice formats.") "SDRangel is a Qt software defined radio and signal analyzer frontend for various hardware.") (license license:gpl3+))) + +(define-public wfview + ;; No tagged release, use commit directly. + (let ((commit "274e905d214a7360e8cf2dd0421dbe3712a0ddcc") + (revision "1")) + (package + (name "wfview") + (version (git-version "20210511" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/eliggett/wfview") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1dmxn15xs63wx1y4mh1mlv8qc1xz32vgbyl3rk82gf6knw518svp")))) + (build-system qt-build-system) + (inputs + `(("qcustomplot" ,qcustomplot) + ("qtbase" ,qtbase) + ("qtmultimedia" ,qtmultimedia) + ("qtserialport" ,qtserialport))) + (arguments + `(#:tests? #f ; No test suite. + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "wfview.pro" + (("\\.\\./wfview/") + "../")) + (substitute* '("wfmain.cpp") + (("/usr/share") + (string-append (assoc-ref outputs "out") "/share"))))) + (replace 'configure + (lambda _ + (mkdir-p "build") + (chdir "build") + (invoke "qmake" "../wfview.pro"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (install-file "wfview" + (string-append out "/bin")) + (install-file "wfview.png" + (string-append out "/share/pixmaps")) + (install-file "wfview.desktop" + (string-append out "/share/applications")) + (let ((dir (string-append + out "/share/wfview/stylesheets/qdarkstyle"))) + (mkdir-p dir) + (copy-recursively "qdarkstyle" dir)))))))) + (home-page "https://wfview.org/") + (synopsis "Software to control Icom radios") + (description + "@code{wfview} is a program to control modern Icom radios and view the +spectrum waterfall. It supports at least the following models: + +@itemize +@item IC-705 +@item IC-7300 +@item IC-7610 +@item IC-7850 +@item IC-7851 +@item IC-9700 +@end itemize\n") + (license (list license:expat + license:gpl3))))) -- 2.31.1