From patchwork Sun Feb 6 14:14:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sheng Yang X-Patchwork-Id: 37021 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 9D1B827BBEA; Sun, 6 Feb 2022 14:39:35 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 19D7627BBE9 for ; Sun, 6 Feb 2022 14:39:35 +0000 (GMT) Received: from localhost ([::1]:46224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGihS-0008T1-3D for patchwork@mira.cbaines.net; Sun, 06 Feb 2022 09:39:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGiKu-0000HU-0w for guix-patches@gnu.org; Sun, 06 Feb 2022 09:16:16 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42935) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGiKg-0002ph-2g for guix-patches@gnu.org; Sun, 06 Feb 2022 09:16:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGiKf-0000K1-Ra for guix-patches@gnu.org; Sun, 06 Feb 2022 09:16:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53820] [PATCH] gnu: Add jtdx Resent-From: "Sheng Yang" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Feb 2022 14:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53820 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53820@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16441569511203 (code B ref -1); Sun, 06 Feb 2022 14:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2022 14:15:51 +0000 Received: from localhost ([127.0.0.1]:36828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGiKP-0000JH-S8 for submit@debbugs.gnu.org; Sun, 06 Feb 2022 09:15:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:38320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGiKN-0000J7-0c for submit@debbugs.gnu.org; Sun, 06 Feb 2022 09:15:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGiK1-00005o-PZ for guix-patches@gnu.org; Sun, 06 Feb 2022 09:15:28 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:59505) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGiJr-0002la-J1 for guix-patches@gnu.org; Sun, 06 Feb 2022 09:15:17 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 862095C010F for ; Sun, 6 Feb 2022 09:15:06 -0500 (EST) Received: from imap48 ([10.202.2.98]) by compute4.internal (MEProxy); Sun, 06 Feb 2022 09:15:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm2; bh=1 PF0U8zV/HSTQor9A+Zulx2olcnwyWSjNKsRCCySfDI=; b=eKtLkrv5wLI6h8R2d EePtC/SpRQo9ma1627PqIv9jsW7YlIVfaoXUuiFdjtVnc6LxqbwCzU3iIX949yQB hkqiee49ONxRUMe/ptzV3kQExYbxPEMNt7zwqOSP+0fIzfhSkUwAOVYdAIMW1Hio M2mM4Ma80sxxAMONWePnMG7G9v4adIUm8JK3zLtyjHcWRvO+KHtXvv0+9PfMS+sp 52Va888G6xNJD8ok80NkfRSV2Y9rU2rmI1lVZtajLgtUz3An1Tk/cXcJ9X6cU4dr LHfV6I8Ad7AMkzPgrh1FY4XTdEfkq8PLVfTWKAPSF72ibBgAxyCbOodYooW/2vUy Q5eBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=1PF0U8zV/HSTQor9A+Zulx2olcnwyWSjNKsRCCySf DI=; b=RpyW06YMYPWEGCTfsJ9X8kmXSZ/Lm0IxDK+K/2ixoVSHMn50wuuKI5TWB Ib3oMGjkUkrcmDz9gsf3iXj+rU05Kz52afi/dWWPithU5fQUnCeKA5xeLzGNHATO iluW+kidChIFhMVcd6ycjfG6j8DeSAFuHifiZXhEm9i1+QdF8eVlwYhrx1XdaR/F lkINk8SZDhqHPJB/xsC0Nd3Ex16Ue9LZhLQe+K9nwBS/NcrYaeVy3v0lOO3FF8DT cftgPJWG2eI9sUQ5+dFVzZXE04mv5qChcv37iRIsYR+nYHGnh9y7odOI8YOo4eBX Ew5GVhYCjmGj7UjkR9AiVZoERK/MQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheefgdeivdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesmhdtreerre ertdenucfhrhhomhepfdfuhhgvnhhgucgjrghnghdfuceoshhthigrnhhgsehfrghsthhm rghilhdrtghomheqnecuggftrfgrthhtvghrnhepgefhuddvtdejfffhfffhhedthfdtge dvgedtvdekudeglefhheevheevteefffejnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepshhthigrnhhgsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4D9EA21E006E; Sun, 6 Feb 2022 09:15:06 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4586-g104bd556f9-fm-20220203.002-g104bd556 Mime-Version: 1.0 Message-Id: <8d7a5134-a5c4-44b2-a99c-9ad3b1685075@www.fastmail.com> Date: Sun, 06 Feb 2022 08:14:26 -0600 From: "Sheng Yang" Received-SPF: pass client-ip=66.111.4.29; envelope-from=styang@fastmail.com; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 06 Feb 2022 09:39:24 -0500 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 JTDX is a popular fork of WSJT-X, commonly used by ham radio operators for FT8 and other modes. This is the first time I am submitting a patch to Guix. I have tried my best to format and test it, with the help of a few friends familiar with Guix. Feel free to modify the patch if I did something incorrectly. From 187f08de9656d4d0beb489585dcb8ec8323a3789 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Sun, 23 Jan 2022 21:46:27 -0600 Subject: [PATCH] gnu: Add jtdx * gnu/packages/radio.scm (jtdx-hamlib): New variable. (jtdx): New variable. --- gnu/packages/radio.scm | 67 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index e487987738..36bbe2c097 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2020, 2021 Tobias Geerinckx-Rice ;;; Copyright © 2021 João Pedro Simas ;;; Copyright © 2021 Jack Hill +;;; Copyright © 2022 Sheng Yang ;;; ;;; This file is part of GNU Guix. ;;; @@ -1113,6 +1114,31 @@ (define wsjtx-hamlib "--with-tcl-binding" "--with-xml-support"))))) +(define jtdx-hamlib + ;; Fork of hamlib with custom patches used by jtdx. + (package + (inherit hamlib) + (name "jtdx-hamlib") + (version "2.2.158") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Hamlib/Hamlib.git") + (commit "954d70c143a9a0293371d8def3a7300ce3ca68c4"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0z89krk2vnbm7narf9kkng5cxf6wqkijz06brzcg6vazf944x4ci")))) + (native-inputs + (modify-inputs (package-native-inputs hamlib) + (prepend autoconf automake libtool texinfo))) + (arguments + `(#:configure-flags '("--disable-static" + "--with-lua-binding" + "--with-python-binding" + "--with-tcl-binding" + "--with-xml-support"))))) + (define-public tlf (package (name "tlf") @@ -1206,6 +1232,47 @@ (define-public wsjtx (home-page "https://www.physics.princeton.edu/pulsar/k1jt/wsjtx.html") (license license:gpl3))) +(define-public jtdx + (package + (name "jtdx") + (version "2.2.158") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jtdx-project/jtdx") + (commit "158"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1lw9q7ggh2jlasipl3v5pkbabysjr6baw15lnmg664ah3fwdrvnx")))) + (build-system qt-build-system) + (native-inputs + (list asciidoc gfortran pkg-config qttools ruby-asciidoctor)) + (inputs + (list + boost + fftw + fftwf + jtdx-hamlib + libusb + qtbase-5 + qtwebsockets + qtmultimedia + qtserialport)) + (arguments + `(#:tests? #f)) ; No test suite + (synopsis "Weak-signal ham radio communication program, forked from WSJTX") + (description + "JTDX means \"JT,T10 and FT8 and FT4 modes for DXing\", it is being +developed with main focus on the sensitivity and decoding efficiency, both, in +overcrowded and half empty HF band conditions. + +It is modified WSJT-X software forked from WSJT-X r6462. JTDX supports JT9, +JT65, T10, FT8 and FT4 © digital modes for HF amateur radio communication, +focused on DXing and being shaped by community of DXers.JTDX") + (home-page "https://www.jtdx.tech/en/") + (license license:gpl3))) + (define-public js8call (package (inherit wsjtx) -- 2.34.1