Subject: bug#58162: closed (Re: [bug#58162] [PATCH] gnu: Add qdmr)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 30 Sep 2022 10:58:02 +0000

Your bug report

#58162: [PATCH] gnu: Add qdmr

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
58162: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58162
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#58162] [PATCH] gnu: Add qdmr
From: Guillaume Le Vaillant <[email-masked]>
To: Ryan Tolboom <[email-masked]>
Cc: "\(" <[email-masked]>, [email-masked]
Date: Fri, 30 Sep 2022 10:56:20 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch pushed as df485be2f7d939b5c2b83a3a467cdff4d5a93851 with
a completed commit message.
Thanks.

Subject: [PATCH] gnu: Add qdmr
From: Ryan Tolboom <[email-masked]>
To: [email-masked]
Cc: Ryan Tolboom <[email-masked]>
Date: Wed, 28 Sep 2022 21:57:26 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

---
 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 <[email-masked]>
 ;;; Copyright © 2022 Sheng Yang <[email-masked]>
 ;;; Copyright © 2022 Greg Hogan <[email-masked]>
+;;; Copyright © 2022 Ryan Tolboom <[email-masked]>
 ;;;
 ;;; 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