From patchwork Thu Sep 19 07:36:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 31173 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8931727BBE2; Thu, 19 Sep 2024 08:38:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A1D6B27BBE9 for ; Thu, 19 Sep 2024 08:38:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srBjb-0003MI-17; Thu, 19 Sep 2024 03:37:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srBjY-0003Lc-Hu for guix-patches@gnu.org; Thu, 19 Sep 2024 03:37:48 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srBjY-00020l-9Y for guix-patches@gnu.org; Thu, 19 Sep 2024 03:37:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=nLHuG71cihW3m6HCGGlYIuAIFjagE+oT5mv6nFgY+1c=; b=W30+T0hd5396pxBT9gWfcMLolpfWCKYCddiG2ITBGIBqinUyY5zsMRTufjJZ026f1roT1YCAXlfZEyCUOlhf5WBEQfTBaoWvVaeBHDTRMZ1XyyWNni2P2SqNIWNKKCPgTEE1U7LyhbRDyG6FefL9c/LW4XQ0U06JvYJcVp0ncedJfKpydITeM7KfRscWnE74Ej7EoDogQUEVxQ//FAOH65FoDgfbsSEfWOgpfHVcNK8NTdxnYATcVgaetGc8yjoEGjzNnog4xLj4H+zTTrVczibPreqN10ms0MuOh0zvaT/rVakzcyiQcij0mUJ2isLje7GeDrTAUE+kcGrjC9f9Lg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srBjn-00050u-Qi; Thu, 19 Sep 2024 03:38:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73352] [PATCH 3/3] gnu: Add sdl-jstest. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: adam.faiz@disroot.org, liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Thu, 19 Sep 2024 07:38:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73352 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73352@debbugs.gnu.org Cc: Maxim Cournoyer , Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by submit@debbugs.gnu.org id=B.172673144819184 (code B ref -1); Thu, 19 Sep 2024 07:38:03 +0000 Received: (at submit) by debbugs.gnu.org; 19 Sep 2024 07:37:28 +0000 Received: from localhost ([127.0.0.1]:59718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srBjE-0004zG-C1 for submit@debbugs.gnu.org; Thu, 19 Sep 2024 03:37:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:51400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srBjC-0004z3-33 for submit@debbugs.gnu.org; Thu, 19 Sep 2024 03:37:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srBiu-0003JX-Fx for guix-patches@gnu.org; Thu, 19 Sep 2024 03:37:08 -0400 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srBis-0001yl-PO for guix-patches@gnu.org; Thu, 19 Sep 2024 03:37:08 -0400 Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-3e03f8ecef8so380497b6e.1 for ; Thu, 19 Sep 2024 00:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726731424; x=1727336224; darn=gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nLHuG71cihW3m6HCGGlYIuAIFjagE+oT5mv6nFgY+1c=; b=dQH7ApxUdOS5NC/iSvUvoPmpdIgYLB700cLqZpdwQK0+nOOi97Ja/M1dASKRNbPDTB 3FaVUmIlAGofz5Gi1SqIgfBlXp3eSzzmDhcYa/EGJhukYew8Doaxj3omCNvGH6y9pbRB l5xy76Igq4mmrLEqVq6V4At+qyQdNyMVD3YpPJhkzF5b2iBMaEzmilccXgYzLeRzph4M cowKdeAx/PyTGvjeZMaFQK++9LX6n/7D8SafeY4aMBM5JSKMC2jYR48YXUhzsvCX0e3f yHHfL4XI2YvbW1cK82ZkK/7x/MWDl/8YmAU7oSB79brm4IoYn77u+JVY//ObSDraRbQ7 YipQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726731424; x=1727336224; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nLHuG71cihW3m6HCGGlYIuAIFjagE+oT5mv6nFgY+1c=; b=vTlF5xir/Ptl8erKgsKAvix56Mgx/P5R3GD2uugw82diW5fYjj0pVqts/lhK9DXdCG gBjuD4e+B6NLGOuIZKlodlpZGTqlsmfUXCHWGnSo3Gk/HN44SMVto5Ww8jdVzbzwbwAT jdj1wRJT9zw/rhSizPi3L68cMP4+BIYVySwRBvbUduMXeSDevbfHXcP84KYDs+MfW4xx whpZYzdQkwij/rsPIqYrduf+gpdfkRzbuEt9IDBNodDGJi9n2QcERQS7Z8rrWSLxDWjY Mx3CNvfuU34vtHGfgfYyQZe61klfZLMgdJhLOhsmPnuVVv/lVXW1F0T0dMF35NzJWlZN HOGw== X-Gm-Message-State: AOJu0YyqvyhD4Ffm/EJTarT0/04iUzOMW+O8eS9vSR+/GoJlaqTXcvDY 5XrH3KZJGtbtAgEZ2qtPxeJ4DwTxUydNXP7+UN/sqKPZyyBIm/bbY9g+zQ== X-Google-Smtp-Source: AGHT+IE8vQC6rBwuwP5YtS2oM7RBXAK2lPLI/o0kY8d71Hg5dShnXl3RYgd+vCFq46HQQrAMpInefA== X-Received: by 2002:a05:6808:19a8:b0:3e0:3aa5:2b88 with SMTP id 5614622812f47-3e071af653fmr21214329b6e.44.1726731424572; Thu, 19 Sep 2024 00:37:04 -0700 (PDT) Received: from hurd.lan ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db498d98adsm8740340a12.7.2024.09.19.00.37.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2024 00:37:03 -0700 (PDT) From: Maxim Cournoyer Date: Thu, 19 Sep 2024 16:36:33 +0900 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: <9a84a9bd1abfdcf5c41f7798946be7da9e6128ca.1726731392.git.maxim.cournoyer@gmail.com> References: <9a84a9bd1abfdcf5c41f7798946be7da9e6128ca.1726731392.git.maxim.cournoyer@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::22e; envelope-from=maxim.cournoyer@gmail.com; helo=mail-oi1-x22e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")