* [bug#73350] [PATCH 1/3] gnu: sdl2-gamecontrollerdb: Update source URL and home page.
@ 2024-09-19 7:36 Maxim Cournoyer
2024-09-19 7:36 ` [bug#73351] [PATCH 2/3] gnu: sdl2-gamecontrollerdb: Update to 0-2.414eaee Maxim Cournoyer
2024-09-19 7:36 ` [bug#73352] [PATCH 3/3] gnu: Add sdl-jstest Maxim Cournoyer
0 siblings, 2 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2024-09-19 7:36 UTC (permalink / raw)
To: 73350; +Cc: Maxim Cournoyer
* gnu/packages/sdl.scm (sdl2-gamecontrollerdb) [source]: Update URL.
[home-page]: Likewise.
Change-Id: Ia204917b8bd076063cc43a3894fbca74ee4d256a
---
gnu/packages/sdl.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 4ae128a41c..dfc49fe395 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -617,7 +617,7 @@ (define-public sdl2-gamecontrollerdb
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/gabomdq/SDL_GameControllerDB")
+ (url "https://github.com/mdqinc/SDL_GameControllerDB")
(commit commit)))
(file-name (git-file-name name version))
(sha256
@@ -625,7 +625,7 @@ (define-public sdl2-gamecontrollerdb
(build-system copy-build-system)
(arguments
'(#:install-plan '(("gamecontrollerdb.txt" "share/sdl2/"))))
- (home-page "https://github.com/gabomdq/SDL_GameControllerDB")
+ (home-page "https://github.com/mdqinc/SDL_GameControllerDB")
(synopsis "SDL2 game controller database")
(description
"This package provides a community sourced database of game controller
base-commit: 1b6ce1796abdf497f61f426d61339318f4f4f23d
--
2.46.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#73351] [PATCH 2/3] gnu: sdl2-gamecontrollerdb: Update to 0-2.414eaee.
2024-09-19 7:36 [bug#73350] [PATCH 1/3] gnu: sdl2-gamecontrollerdb: Update source URL and home page Maxim Cournoyer
@ 2024-09-19 7:36 ` Maxim Cournoyer
2024-09-19 7:36 ` [bug#73352] [PATCH 3/3] gnu: Add sdl-jstest Maxim Cournoyer
1 sibling, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2024-09-19 7:36 UTC (permalink / raw)
To: 73351; +Cc: Maxim Cournoyer
* gnu/packages/sdl.scm (sdl2-gamecontrollerdb): Update to 0-2.414eaee.
Change-Id: I3e4aea7f2881aebdb24dffdaa38a2248aa00e6bf
---
gnu/packages/sdl.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index dfc49fe395..67cc47d33c 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -608,8 +608,8 @@ (define-public sdl2-ttf
(properties '((upstream-name . "SDL2_ttf")))))
(define-public sdl2-gamecontrollerdb
- (let ((commit "9d0994523206c9d73925d78d185531c4c7331db7")
- (revision "1"))
+ (let ((commit "414eaee7aacc0d2ccdf281663c3d3bc65a8dbedd")
+ (revision "2"))
(package
(name "sdl2-gamecontrollerdb")
(version (git-version "0" revision commit))
@@ -621,7 +621,7 @@ (define-public sdl2-gamecontrollerdb
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32 "08rv3i6sh90ibphxnv9r6h1zjyq88x9hq3smvf6cnlqvirnam94s"))))
+ (base32 "04x3g7vshagxaklwm5hxawh1pk6j1h0rip9xccpgr1r3gpxqs5df"))))
(build-system copy-build-system)
(arguments
'(#:install-plan '(("gamecontrollerdb.txt" "share/sdl2/"))))
--
2.46.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#73352] [PATCH 3/3] gnu: Add sdl-jstest.
2024-09-19 7:36 [bug#73350] [PATCH 1/3] gnu: sdl2-gamecontrollerdb: Update source URL and home page Maxim Cournoyer
2024-09-19 7:36 ` [bug#73351] [PATCH 2/3] gnu: sdl2-gamecontrollerdb: Update to 0-2.414eaee Maxim Cournoyer
@ 2024-09-19 7:36 ` Maxim Cournoyer
1 sibling, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2024-09-19 7:36 UTC (permalink / raw)
To: 73352
Cc: Maxim Cournoyer, Adam Faiz, Liliana Marie Prikler,
宋文武
* 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-19 7:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-19 7:36 [bug#73350] [PATCH 1/3] gnu: sdl2-gamecontrollerdb: Update source URL and home page Maxim Cournoyer
2024-09-19 7:36 ` [bug#73351] [PATCH 2/3] gnu: sdl2-gamecontrollerdb: Update to 0-2.414eaee Maxim Cournoyer
2024-09-19 7:36 ` [bug#73352] [PATCH 3/3] gnu: Add sdl-jstest Maxim Cournoyer
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).