From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iMitLofWNWNspAAAbAwnHQ (envelope-from ) for ; Thu, 29 Sep 2022 19:31:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4OWDLofWNWOuAQEAauVa8A (envelope-from ) for ; Thu, 29 Sep 2022 19:31:51 +0200 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 578611DE53 for ; Thu, 29 Sep 2022 19:31:51 +0200 (CEST) Received: from localhost ([::1]:36508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odxO2-0005o3-Ca for larch@yhetil.org; Thu, 29 Sep 2022 13:31:50 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664472711; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=y0cgF2+EpDfdJ7VqscOTFTV8GVvy5odmkbooruFd4nA=; b=hDFDl5+6AYSz3jA4mRXogmME0yk12ByG+uoN43858E1zxkFfZL16cu6cCqkPj5YT+vdcp5 Fb0PjZNvi2uTX6rSfHVUOVCA4XAsMVBTVFsMn26qLaeeD59Njrgs9d3MjioyQTrrMsD+CP c10jodNByPr0kQT9Ilrj9D7U8ZpVs3HJSZp/N17qPeNYE1I2/M6Ocv7ETftArVP+zCQ/t6 a9UVpZpekoYsbDETp271Sux5YSqynXoqeZsdLS8HcIzx2nuYf6pwkahVDWjKPn6FJBAt/B SoiauvGEM1TFvJ+zlPCiWt3YbKdJCQ51Xr5tXKFc0PWZF0OX6lVSQZRli0EISQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664472711; a=rsa-sha256; cv=none; b=lCaj//eTzV5cm0/pzYs8OA6yvqtIYNDVRli+Zp3AVPOn9b7TbQC63N83kPGt8QzDgfs1pt 8qrRrHJomPXvH9p0fpBOwGx2zFX6TF/9cIz71Ykv7W4cmrTDjv91SBfw2wAQnmUVhTf4v6 R2E4tnM23dopbE29cNI1GoAoarFiLXlhvHSLyu/g1pGPX8OuW3c0llwzOxwlXLK6umX4GM 3bJ6Cc7ZoFjhxwWkx4I4MyYU2YurOp6s9E1VDJq7kbqDv+8yjPKybjOG4tJcnbBLuwLhbi v0H00IipAW40c88osiV2eAmDgN0k2ACvkn8GiiNccndnuf+SLsodj8hl0uhhuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=using-tech.20210112.gappssmtp.com header.s=20210112 header.b=LlSLk1ZN; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=using-tech.20210112.gappssmtp.com header.s=20210112 header.b=LlSLk1ZN; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 578611DE53 X-Spam-Score: 2.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: tgAu+zI5ChqV --- 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+))) -- 2.37.3