unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Packaging udev rules along with their binary
@ 2019-05-30  1:11 LaFreniere, Joseph
  2019-05-30  3:58 ` Vagrant Cascadian
  0 siblings, 1 reply; 2+ messages in thread
From: LaFreniere, Joseph @ 2019-05-30  1:11 UTC (permalink / raw)
  To: help-guix

I am attempting to package brightnessctl [0].  The repository 
provides relevant udev rules in a file 90-brightnessctl.rules, and 
its makefile has allowances for optionally copying and chmoding 
those rules.

What is the recommended way to go about packaging this for Guix? 
Should I take an approach similar to android-udev-rules, and 
package the rules file separately "to be added as a rule to the 
@code{udev-service-type} in your @code{operating-system} 
configuration"?

[0] 
https://github.com/Hummer12007/brightnessctl/blob/master/Makefile

--
Joseph LaFreniere

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Packaging udev rules along with their binary
  2019-05-30  1:11 Packaging udev rules along with their binary LaFreniere, Joseph
@ 2019-05-30  3:58 ` Vagrant Cascadian
  0 siblings, 0 replies; 2+ messages in thread
From: Vagrant Cascadian @ 2019-05-30  3:58 UTC (permalink / raw)
  To: LaFreniere, Joseph, help-guix

[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

On 2019-05-29, LaFreniere\, Joseph wrote:
> I am attempting to package brightnessctl [0].  The repository 
> provides relevant udev rules in a file 90-brightnessctl.rules, and 
> its makefile has allowances for optionally copying and chmoding 
> those rules.

It's already packaged in Guix since late March (commit
ab7f1eb97abd49676f8e98e35e861f9785f0c2b2).

It includes the udev rules file ion the package. I forget exactly what I
did to configure the udev rules, but I recall using one of the options
right out of the manual:

  https://www.gnu.org/software/guix/manual/en/html_node/Base-Services.html

Enjoy!


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-30  3:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-30  1:11 Packaging udev rules along with their binary LaFreniere, Joseph
2019-05-30  3:58 ` Vagrant Cascadian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).