From patchwork Thu Sep 29 21:12:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ryan Tolboom X-Patchwork-Id: 6126 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 92BB127BBEA; Thu, 29 Sep 2022 22:13:35 +0100 (BST) 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,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 08D8F27BBE9 for ; Thu, 29 Sep 2022 22:13:35 +0100 (BST) Received: from localhost ([::1]:36188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oe0qb-0000xd-PH for patchwork@mira.cbaines.net; Thu, 29 Sep 2022 17:13:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oe0qG-0000xE-2Z for guix-patches@gnu.org; Thu, 29 Sep 2022 17:13:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oe0q6-0007ip-Hm for guix-patches@gnu.org; Thu, 29 Sep 2022 17:13:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oe0q6-0000jN-DF for guix-patches@gnu.org; Thu, 29 Sep 2022 17:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58162] [PATCH] gnu: Add qdmr References: <20220929015726.26821-1-ryan@using.tech> In-Reply-To: <20220929015726.26821-1-ryan@using.tech> Resent-From: Ryan Tolboom Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Sep 2022 21:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58162 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58162@debbugs.gnu.org Cc: Ryan Tolboom Received: via spool by 58162-submit@debbugs.gnu.org id=B58162.16644859642786 (code B ref 58162); Thu, 29 Sep 2022 21:13:02 +0000 Received: (at 58162) by debbugs.gnu.org; 29 Sep 2022 21:12:44 +0000 Received: from localhost ([127.0.0.1]:39822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oe0pn-0000ir-Hy for submit@debbugs.gnu.org; Thu, 29 Sep 2022 17:12:43 -0400 Received: from mail-qk1-f171.google.com ([209.85.222.171]:36721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oe0pk-0000iZ-Tp for 58162@debbugs.gnu.org; Thu, 29 Sep 2022 17:12:42 -0400 Received: by mail-qk1-f171.google.com with SMTP id i3so1689240qkl.3 for <58162@debbugs.gnu.org>; Thu, 29 Sep 2022 14:12:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=using-tech.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=DkvvCCUXNSs0SY4MgYjm6C/GHqQ1Jnfo90S10vNbkIo=; b=CCPeUKJ5YUvLURYyN7wFKI4nIRtEJRvZPjZKQwP3yy5OrKdJvHJL+3x0lpuLm1LVrV Xhz6P5Z1DxRRsnl9i4EHBT4tqGXv32D8Y1uwOPDRtkj4P7G86v90L5MpXMhF8K+mxDhq 2OmQBQeRtk+nFp8g5aeUYvmsPjsx9E21Lm6rCAez2UtjwsUDCWYFxyXej/kN0Gz6gLEw HpL4UlbMh6A6sEh4siM27/LlQkNEezEYowxRbTI3v6LcvR7zEidq13CbR6PY0p1bf2T7 E/2GBA0DS5YcFzAIBeioQRtRGqW3FfvAlN+tQPPdmq0IHN9O0ojuksinQtVzhbrwXjQV VRZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=DkvvCCUXNSs0SY4MgYjm6C/GHqQ1Jnfo90S10vNbkIo=; b=ppEYG1VQJFso9QD+wqF3tYjKQ9BldE1zVT+D995kWvaFXq6ZR0Cg8xGOfHpuUefLqb e0+Ooi0k7Z9qGFvDXtnJV/43MiMFE/AxXQT5JBoryXAoIfeRPTP68Dg+YrN5FMQzrlQz 8WDom2WdzP3nWsoai1Nlsl+YmTh2Qz8E1PY1IX0rQumUvp//koNyg5aT//Ard25oDkt2 kIsi/Sz+05di1zLnr1R9cRlmE6gLvn8WBCJL3rjTmES2qIvPysabE/qqRxn4zRowg3yi BGtUx9SWBgsVZ1gV8Emp5SOLjeFd3LJnOSErpxgvorMXsFevPqsN99jm39jMwb7OWS4p 2lIA== X-Gm-Message-State: ACrzQf036slXLClSGWG3j45s+ys2Ja74SXHcsRA3gzqRS9xCxRTelQvW Cbqweuz9dO3GDOWJ5p0WDs14WzoNAKZSlQ== X-Google-Smtp-Source: AMsMyM4wgXcC9YiDs+XcaqSXKqS+K4gwVSsE5ZfI5n/jgOtWu/Y/4Obvix8RmhJ0c3Evkoq6v+DZNA== X-Received: by 2002:a05:620a:1720:b0:6ce:7d38:c307 with SMTP id az32-20020a05620a172000b006ce7d38c307mr3814118qkb.149.1664485955047; Thu, 29 Sep 2022 14:12:35 -0700 (PDT) Received: from radio.resource.campus.njit.edu (def-pat-85-0.njit.edu. [128.235.85.0]) by smtp.gmail.com with ESMTPSA id f21-20020a05620a409500b006bbc3724affsm519801qko.45.2022.09.29.14.12.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 14:12:34 -0700 (PDT) From: Ryan Tolboom Date: Thu, 29 Sep 2022 17:12:20 -0400 Message-Id: <20220929211220.5309-1-ryan@using.tech> X-Mailer: git-send-email 2.37.3 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 | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 2968f9d390..5237d48fbe 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022 Sheng Yang ;;; Copyright © 2022 Greg Hogan +;;; Copyright © 2022 Ryan Tolboom ;;; ;;; This file is part of GNU Guix. ;;; @@ -89,6 +90,7 @@ (define-module (gnu packages radio) #:use-module (gnu packages readline) #:use-module (gnu packages ruby) #:use-module (gnu packages sdl) + #:use-module (gnu packages serialization) #:use-module (gnu packages sphinx) #:use-module (gnu packages swig) #:use-module (gnu packages tcl) @@ -2668,3 +2670,40 @@ (define-public gnss-sdr position fixes) the signals of the BeiDou, Galileo, GLONASS and GPS Global Navigation Satellite System.") (license license:gpl3+))) + +(define-public qdmr + (package + (name "qdmr") + (version "0.10.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hmatuschek/qdmr") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "037vkwk974zrwacxafslkb3mbw9258v9sdpwdvb23msjzbc3snrn")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;no tests + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-paths + (lambda _ + (substitute* "lib/CMakeLists.txt" + (("(DESTINATION \")/etc/udev/" _ directive) + (string-append directive #$output "/lib/udev/")))))))) + (inputs (list qtbase-5 qtserialport qtlocation yaml-cpp libusb)) + (native-inputs (list qttools-5)) + (home-page "https://dm3mat.darc.de/qdmr/") + (synopsis "GUI application and command line tool to program DMR radios") + (description + "qdmr is a graphical user interface (GUI) application that allows one to +program several types of DMR radios. It is comparable to the Customer +Programming Software (CPS) bundled with these radios but aims to be a more +universal tool. + +To install the qdmr udev rules, you must extend @code{udev-service-type} with this +package. E.g.: @code{(udev-rules-service 'qdmr qdmr)}") + (license license:gpl3+)))