GNU bug report logs - #73352
[PATCH 3/3] gnu: Add sdl-jstest.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Thu, 19 Sep 2024 07:38:03 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

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 73352 in the body.
You can then email your comments to 73352 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 adam.faiz <at> disroot.org, liliana.prikler <at> gmail.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#73352; Package guix-patches. (Thu, 19 Sep 2024 07:38:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to adam.faiz <at> disroot.org, liliana.prikler <at> gmail.com, iyzsong <at> envs.net, guix-patches <at> gnu.org. (Thu, 19 Sep 2024 07:38:03 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH 3/3] gnu: Add sdl-jstest.
Date: Thu, 19 Sep 2024 16:36:33 +0900
* gnu/packages/games.scm (sdl-jstest): New variable.

Change-Id: I8a2845375501ddadca2eb4add869fce1dc277568
---

 gnu/packages/games.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 213c4c598d..844cc1b3ea 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -11405,6 +11405,45 @@ (define-public schiffbruch
 get attention, so you get found.")
       (license license:cc-by4.0))))
 
+(define-public sdl-jstest
+  (package
+    (name "sdl-jstest")
+    (version "0.2.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Grumbel/sdl-jstest")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "11qp4gkbb11n3wx74128fj56radgsvkj7nxhbh55rd3xad1hckh3"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      ;; The test suite uses appstream-utils to validate the appdata.xml file,
+      ;; fails with "url-not-found".
+      #:tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'copy-gamecontroller-db
+            (lambda* (#:key native-inputs inputs #:allow-other-keys)
+              (copy-file
+               (search-input-file (or native-inputs inputs)
+                                  "share/sdl2/gamecontrollerdb.txt")
+               "external/sdl_gamecontrollerdb/gamecontrollerdb.txt"))))))
+    (native-inputs
+     (list pkg-config sdl2-gamecontrollerdb tinycmmc))
+    (inputs (list ncurses sdl sdl2))
+    (home-page "https://github.com/Grumbel/sdl-jstest")
+    (synopsis "SDL Joystick Tester")
+    (description "The @command{sdl-jstest} and @command{sdl2-jstest} commands
+can list the available joystick controllers as found by the SDL or SDL2
+libraries, respectively.  It can show the available axes, buttons, hats and
+balls of a chosen controller, and can display the controller actions in real
+time in a visual fashion.")
+    (license license:gpl3+)))
+
 (define-public sdlpop
   (package
     (name "sdlpop")
-- 
2.46.0





Added blocking bug(s) 73342 Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 21 Sep 2024 05:57:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 73352 <at> debbugs.gnu.org and Maxim Cournoyer <maxim.cournoyer <at> gmail.com> Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Oct 2024 16:37:02 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. (Mon, 04 Nov 2024 12:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 225 days ago.

Previous Next


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