GNU bug report logs - #41228
[PATCH 0/2] gnu: radio: Simplify instalation instructions

Previous Next

Package: guix-patches;

Reported by: Brice Waegeneire <brice <at> waegenei.re>

Date: Wed, 13 May 2020 08:52:02 UTC

Severity: normal

Tags: patch

Done: Brice Waegeneire <brice <at> waegenei.re>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41228 in the body.
You can then email your comments to 41228 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#41228; Package guix-patches. (Wed, 13 May 2020 08:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brice Waegeneire <brice <at> waegenei.re>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 13 May 2020 08:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brice Waegeneire <brice <at> waegenei.re>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] gnu: radio: Simplify instalation instructions
Date: Wed, 13 May 2020 10:50:50 +0200
Brice Waegeneire (2):
  gnu: rtl-sdr: Simplify installation instructions.
  gnu: hackrf: Simplify installation instructions.

 gnu/packages/radio.scm | 31 ++++++-------------------------
 1 file changed, 6 insertions(+), 25 deletions(-)

-- 
2.26.2





Information forwarded to guix-patches <at> gnu.org:
bug#41228; Package guix-patches. (Wed, 13 May 2020 09:02:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brice Waegeneire <brice <at> waegenei.re>
To: guix-patches <at> gnu.org
Subject: [PATCH 1/2] gnu: rtl-sdr: Simplify installation instructions.
Date: Wed, 13 May 2020 11:00:53 +0200
* gnu/packages/radio.scm (rtl-sdr)[description]: Replace
'modify-services' snippet with 'udev-rules-service'.
---
 gnu/packages/radio.scm | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 41105fb8c5..1e50be1bcc 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -152,17 +152,8 @@ system configuration:
 (kernel-arguments '(\"modprobe.blacklist=dvb_usb_rtl28xxu\"))
 @end lisp
 
-To install the rtl-sdr udev rules, you must add this package in the
-configuration of the udev system service. E.g.:
-
-@lisp
-(services
- (modify-services %desktop-services
-  (udev-service-type config =>
-   (udev-configuration (inherit config)
-    (rules (cons rtl-sdr
-            (udev-configuration-rules config)))))))
-@end lisp")
+To install the rtl-sdr udev rules, you must extend 'udev-service-type' with
+this package.  E.g.: @code{(udev-rules-service 'rtl-sdr rtl-sdr)}")
     (license license:gpl2+)))
 
 (define-public chirp
-- 
2.26.2





Information forwarded to guix-patches <at> gnu.org:
bug#41228; Package guix-patches. (Wed, 13 May 2020 09:02:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brice Waegeneire <brice <at> waegenei.re>
To: guix-patches <at> gnu.org
Subject: [PATCH 2/2] gnu: hackrf: Simplify installation instructions.
Date: Wed, 13 May 2020 11:00:54 +0200
* gnu/packages/radio.scm (hackrf)[description]: Replace
'modify-services' snippet with 'udev-rules-service'.
---
 gnu/packages/radio.scm | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 1e50be1bcc..6a919548f0 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -741,20 +741,10 @@ for correctness.")
      (synopsis "User-space library and utilities for HackRF SDR")
      (description
       "Command line utilities and a C library for controlling the HackRF
-Software Defined Radio (SDR) over USB.  Installing this package installs
-the userspace hackrf utilities and C library.  To install the hackrf
-udev rules, you must add this package as a system service via
-modify-services.  E.g.:
-
-@lisp
-(services
- (modify-services
-  %desktop-services
-  (udev-service-type config =>
-   (udev-configuration (inherit config)
-    (rules (cons hackrf
-            (udev-configuration-rules config)))))))
-@end lisp")
+Software Defined Radio (SDR) over USB.  Installing this package installs the
+userspace hackrf utilities and C library.  To install the hackrf udev rules,
+you must extend 'udev-service-type' with this package.  E.g.:
+@code{(udev-rules-service 'hackrf hackrf #:groups '(\"dialout\"))}.")
      (license license:gpl2))))
 
 (define-public hamlib
-- 
2.26.2





Information forwarded to guix-patches <at> gnu.org:
bug#41228; Package guix-patches. (Thu, 14 May 2020 09:03:01 GMT) Full text and rfc822 format available.

Message #14 received at 41228 <at> debbugs.gnu.org (full text, mbox):

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Brice Waegeneire <brice <at> waegenei.re>
Cc: 41228 <at> debbugs.gnu.org
Subject: Re: [bug#41228] [PATCH 0/2] gnu: radio: Simplify instalation
 instructions
Date: Thu, 14 May 2020 11:02:36 +0200
[Message part 1 (text/plain, inline)]
Brice Waegeneire <brice <at> waegenei.re> skribis:

> Brice Waegeneire (2):
>   gnu: rtl-sdr: Simplify installation instructions.
>   gnu: hackrf: Simplify installation instructions.
>
>  gnu/packages/radio.scm | 31 ++++++-------------------------
>  1 file changed, 6 insertions(+), 25 deletions(-)

It looks good to me.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Brice Waegeneire <brice <at> waegenei.re>:
You have taken responsibility. (Thu, 14 May 2020 13:58:02 GMT) Full text and rfc822 format available.

Notification sent to Brice Waegeneire <brice <at> waegenei.re>:
bug acknowledged by developer. (Thu, 14 May 2020 13:58:02 GMT) Full text and rfc822 format available.

Message #19 received at 41228-done <at> debbugs.gnu.org (full text, mbox):

From: Brice Waegeneire <brice <at> waegenei.re>
To: Guillaume Le Vaillant <glv <at> posteo.net>
Cc: 41228-done <at> debbugs.gnu.org
Subject: Re: [bug#41228] [PATCH 0/2] gnu: radio: Simplify instalation
 instructions
Date: Thu, 14 May 2020 13:56:55 +0000
On 2020-05-14 09:02, Guillaume Le Vaillant wrote:
> Brice Waegeneire <brice <at> waegenei.re> skribis:
> 
>> Brice Waegeneire (2):
>>   gnu: rtl-sdr: Simplify installation instructions.
>>   gnu: hackrf: Simplify installation instructions.
>> 
>>  gnu/packages/radio.scm | 31 ++++++-------------------------
>>  1 file changed, 6 insertions(+), 25 deletions(-)
> 
> It looks good to me.

Thanks for the review Guillaume.

Pushed as 32290b2c35 and aee7d000f8.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 12 Jun 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.