GNU bug report logs - #51044
Subject: [PATCH] gnu: Add joycond.

Previous Next

Package: guix-patches;

Reported by: phodina <phodina <at> protonmail.com>

Date: Tue, 5 Oct 2021 22:09:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

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 51044 in the body.
You can then email your comments to 51044 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#51044; Package guix-patches. (Tue, 05 Oct 2021 22:09:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to phodina <phodina <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 05 Oct 2021 22:09:01 GMT) Full text and rfc822 format available.

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

From: phodina <phodina <at> protonmail.com>
To: phodina via Guix-patches via <guix-patches <at> gnu.org>
Subject: Subject: [PATCH] gnu: Add joycond.
Date: Tue, 05 Oct 2021 22:08:46 +0000
Hi,

I've placed the package in games.scm as it's a daemon for gaming controllers. Suggestions for better locations are welcome.

Petr

--8<---------------cut here---------------start------------->8---

* gnu/packages/games.scm (joycond): New variable.

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index dabbbe6ea1..a8599e1f29 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1490,6 +1490,42 @@ automata.  The following features are available:
 @end enumerate")
     (license license:gpl2+)))

+(define-public joycond
+  (let ((commit "f9a66914622514c13997c2bf7ec20fa98e9dfc1d")
+        (revision "1"))
+    (package
+      (name "joycond")
+      (version (git-version "0.1.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/DanielOgorchock/joycond")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "07z86yp27vxc0b44jgvf1vpa69rh3wdvd1xbzcsrj3f32743pv5a"))))
+      (build-system cmake-build-system)
+      (arguments
+       `(#:tests? #f ; no test suite
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'fix-bin-location
+             (lambda* _
+               (substitute* "CMakeLists.txt"
+                 (("/lib/udev/rules.d") (string-append %output "/lib/udev/rules.d"))
+                 (("/etc/systemd/system") (string-append %output "/etc/systemd/system"))
+                 (("/etc/modules-load.d") (string-append %output "/etc/modules-load.d"))
+                 (("/usr/bin") (string-append %output "/bin"))))))))
+      (native-inputs `(("pkg-config" ,pkg-config)))
+      (inputs `(("libevdev" ,libevdev)
+                ("eudev" ,eudev)))
+      (synopsis "Joy-con controller daemon")
+      (description "This package provides a userspace daemon for the joy-con
+controllers.")
+      (home-page "https://github.com/DanielOgorchock/joycond")
+      (license license:gpl3))))
+
 (define-public julius
   (package
     (name "julius")
--
2.32.0




Information forwarded to guix-patches <at> gnu.org:
bug#51044; Package guix-patches. (Fri, 08 Oct 2021 10:17:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: phodina via Guix-patches via <guix-patches <at> gnu.org>
Cc: phodina <phodina <at> protonmail.com>, 51044-done <at> debbugs.gnu.org
Subject: Re: [bug#51044] Subject: [PATCH] gnu: Add joycond.
Date: Fri, 08 Oct 2021 12:16:39 +0200
Hello,

phodina via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/games.scm (joycond): New variable.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Fri, 08 Oct 2021 10:17:02 GMT) Full text and rfc822 format available.

Notification sent to phodina <phodina <at> protonmail.com>:
bug acknowledged by developer. (Fri, 08 Oct 2021 10:17:03 GMT) Full text and rfc822 format available.

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

This bug report was last modified 2 years and 173 days ago.

Previous Next


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