From patchwork Thu Sep 29 01:57:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ryan Tolboom X-Patchwork-Id: 43053 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 2271B27BBEA; Thu, 29 Sep 2022 18:31:48 +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 8DFC627BBE9 for ; Thu, 29 Sep 2022 18:31:47 +0100 (BST) Received: from localhost ([::1]:36508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odxNy-0005o3-Fw for patchwork@mira.cbaines.net; Thu, 29 Sep 2022 13:31:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oduzC-0007Az-Mo for guix-patches@gnu.org; Thu, 29 Sep 2022 10:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oduzC-0001X0-9R for guix-patches@gnu.org; Thu, 29 Sep 2022 10:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oduzC-0007rC-4A for guix-patches@gnu.org; Thu, 29 Sep 2022 10:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58162] [PATCH] gnu: Add qdmr Resent-From: Ryan Tolboom Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Sep 2022 14:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58162 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58162@debbugs.gnu.org Cc: Ryan Tolboom X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166446343430127 (code B ref -1); Thu, 29 Sep 2022 14:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Sep 2022 14:57:14 +0000 Received: from localhost ([127.0.0.1]:39261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oduyP-0007pk-RV for submit@debbugs.gnu.org; Thu, 29 Sep 2022 10:57:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:50768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odioD-0006D0-Gy for submit@debbugs.gnu.org; Wed, 28 Sep 2022 21:57:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odioD-0004Lr-5N for guix-patches@gnu.org; Wed, 28 Sep 2022 21:57:53 -0400 Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]:39870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odioA-0006QG-VU for guix-patches@gnu.org; Wed, 28 Sep 2022 21:57:52 -0400 Received: by mail-qv1-xf32.google.com with SMTP id p3so118398qvz.6 for ; Wed, 28 Sep 2022 18:57:50 -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=y0cgF2+EpDfdJ7VqscOTFTV8GVvy5odmkbooruFd4nA=; b=LlSLk1ZNUf7hvKod8wYo0pRZUhJ+x9/HrmFVYJgxe/oxiW/lgZVll4ta87+owZPpAt xlAPtUUjhwNC3MmT3dCpLRsbJorEtymn+CxSwu7C0Jbf2rbpeHsP2P+RtnlWjS3ZJGNh e9HIUeBT5gf5RTSIwvC3eKV6fj+1YpoU/nKAoU0mLqjOtKurfsduFIq/sPxcmVcKsSsP 9LRNy/Qidv98atuWz+1zOsk4lQyhSotcYE8iBPdnSfiDXVtgmepd8Fzcf9blaR+kp5YV LgUx9bIs+hhENTR5ApgTz6tPj0J3CceHT8yLnPsUcJjEijXqRi7oho1CZ0LSUeUuFC3I 9brg== 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=y0cgF2+EpDfdJ7VqscOTFTV8GVvy5odmkbooruFd4nA=; b=MHzKk2dG24jmLzLgkk/8zlHQxZBGJJZQRFqPpDQ3E5cujTsN0CWNhqBuqqhXjgKi5V y3N63A3EjILEFF/EKdInLHhepn6ZV2t1l5TkU2pGlg8gBiLd9/xJZdTc++/sEsZ1+FxI CUKvNFAoMeNMSlHzX+YAma1sXfmdsvaUcLNIZiTQOem0f9aWFCmQXwRGuqXlvVIrbK+0 EpJmCLkzwewv6EKqc2BrYnzBAX7nh2R+8BLYz4JAJPAWOr2yx1shUx10ck/xFNqu7C56 Tf5aNxwzTdO/KgQySALJR1vuKuZ0ReFMLMoOvyqcrNwMcYUEvjPo2htVp0Z47yF0U6Re +gwA== X-Gm-Message-State: ACrzQf0KP2q3Rj02dkIO6Xm1aWtb26sQ6RePMaXr+qUzwswoMrjm4cMN gz0c1Sv67tQHXIoWX6Zg7BYCeWrbOIK5xA== X-Google-Smtp-Source: AMsMyM6F0QBg1zPmXBUZe30OKjJVPijaIJAjIUkJYOibSadvAJCTZRvIXcGr+vlLM6KMHjY3hHukvA== X-Received: by 2002:a0c:8d85:0:b0:497:8b1:d372 with SMTP id t5-20020a0c8d85000000b0049708b1d372mr725397qvb.68.1664416669415; Wed, 28 Sep 2022 18:57:49 -0700 (PDT) Received: from radio.lan ([2600:4040:a28e:5c00::8dd]) by smtp.gmail.com with ESMTPSA id o15-20020ac8554f000000b0034355a352d1sm4096715qtr.92.2022.09.28.18.57.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 18:57:49 -0700 (PDT) From: Ryan Tolboom Date: Wed, 28 Sep 2022 21:57:26 -0400 Message-Id: <20220929015726.26821-1-ryan@using.tech> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::f32; envelope-from=ryan@using.tech; helo=mail-qv1-xf32.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 29 Sep 2022 10:57:11 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 29 Sep 2022 13:29:52 -0400 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 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 2968f9d390..72a8b726e5 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,42 @@ (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) + (native-inputs (list qttools-5)) + (inputs (list qtbase-5 qtserialport qtlocation yaml-cpp libusb)) + (arguments + `(#:tests? #f ;No tests + #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "lib/CMakeLists.txt" + (("DESTINATION \"/etc/udev/") + (string-append "DESTINATION \"" + (assoc-ref outputs "out") "/lib/udev/")))))))) + (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. To this end, it aims at being a more +universal codeplug programming software (CPS) compared to the device and even +revision specific CPSs provided by the manufacturers. The goal of this project +is to provide a single, comfortable, well-documented and platform-independent +CPS for several types of (mainly Chinese) DMR radios. + +To install the qdmr udev rules, you must extend @code{udev-service-type} with this +package. E.g.: @code{(udev-rules-service 'qdmr qdmr)}") + (home-page "https://dm3mat.darc.de/qdmr/") + (license license:gpl3+)))