From patchwork Fri Sep 20 16:39:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eric Bavier X-Patchwork-Id: 68178 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 7C84927BBE9; Fri, 20 Sep 2024 17:41:09 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 6398D27BBE2 for ; Fri, 20 Sep 2024 17:41:05 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srggY-0003Xd-SF; Fri, 20 Sep 2024 12:40:47 -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 1srggV-0003XL-Qy for guix-patches@gnu.org; Fri, 20 Sep 2024 12:40:44 -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 1srggV-0000Jl-HT for guix-patches@gnu.org; Fri, 20 Sep 2024 12:40:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:MIME-Version:To:Subject; bh=W86P/J8SM7VItOIDe9d56I+o2bA8RbP/gyMn0YE/TG8=; b=T7105VSft5e8fMPZDRSlxccaK7zGkYUrdOY+sf+n5cMoR2vpEawuLhsLSqVThCrIm9xbkfIU4U9uFaSh3oLvxh1Vyt5CwHo2kjbqk9R7GO6jS/4N8O9P2vvTxJ2Hh2ndqfojjaxISuPf0a14LoW5vRp2W3IDNKwdz1t0Fw4yUNBV9Rnkz6+i2qenABaaxmQc2Y+pnfvwlFlPXHQ4A6JM+qshzJRgaU6dsvBiRUnRhTGIC88dIfDgynVEIJXzZYWxBPEwlda4J4GpajC+0gRUMqDiMkNY3FhOaJcn18CfuLis8GFZ7E615FzqHimLyGRc+roZSX2wIQzBZtqS+W6T2w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srggo-00064z-GE for guix-patches@gnu.org; Fri, 20 Sep 2024 12:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73373] [PATCH] gnu: Add AntiMicroX. Resent-From: Eric Bavier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 20 Sep 2024 16:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73373 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 73373@debbugs.gnu.org, =?utf-8?b?5a6L5paH5q2m?= , Adam Faiz Received: via spool by 73373-submit@debbugs.gnu.org id=B73373.172685042422913 (code B ref 73373); Fri, 20 Sep 2024 16:41:02 +0000 Received: (at 73373) by debbugs.gnu.org; 20 Sep 2024 16:40:24 +0000 Received: from localhost ([127.0.0.1]:36188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srggB-0005xF-Dy for submit@debbugs.gnu.org; Fri, 20 Sep 2024 12:40:24 -0400 Received: from mout02.posteo.de ([185.67.36.66]:49121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srgg7-0005uY-As for 73373@debbugs.gnu.org; Fri, 20 Sep 2024 12:40:22 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A6C28240101 for <73373@debbugs.gnu.org>; Fri, 20 Sep 2024 18:39:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726850392; bh=p54H9deqc3YCLr0iChMQnN1q3/wLqi1TlL1FhLEAQnI=; h=MIME-Version:Date:From:To:Cc:Subject:Message-ID:Content-Type: From; b=CF+bMv57P6xTjaJaGRDpY2wCMD2DzLjwrTtVC30KVQlWyHACJFuUk8xTHZwUs+3eD 90b9EUPrnhHNDirSRBTfeIHfZ6AsvcsoGTn08m/zuETyBRHtDV0gO4y8cUquQ+R3SP /aN+zp1cY81IlZKVWgplRts9eDQky538JPc8+mIq05RpxobcbiSOAZ4Sesx3YcHcQH r7HyS8GbJvabJG5wdMFblW2ASdGM2vlK6Yn1v4JIfveLSBBSsbDhUCEeA0f+xpJasn HIfteZ028/sE0hRyZdP28zbvikMxZeBvOovxvbBTLN+hgbh9iHSEhpzOqqy4qkE/nX qDvmu95BmTiNQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X9J5M2dbhz6twr; Fri, 20 Sep 2024 18:39:51 +0200 (CEST) MIME-Version: 1.0 Date: Fri, 20 Sep 2024 16:39:51 +0000 From: Eric Bavier In-Reply-To: References: Message-ID: 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 Hi, thanks for reviewing. On 20.09.2024 00:24, Liliana Marie Prikler wrote: > Am Freitag, dem 20.09.2024 um 02:05 +0000 schrieb Eric Bavier: >> +   (arguments >> +    (list >> +     #:tests? #f                        ; Tests require Qt5 > Is there a reason to build it with Qt 6 then? 🤔 > Alternatively, we might want to check if the tests can be built with Qt > 6. This requires a little more work. I looked into this a little more. It appears that the tests themselves are not maintained. E.g. the most recent changes are several years behind other changes to the codebase, and there is at least one egregious typo ("#inlude") that prevents them from compiling even with Qt5. So maybe we disable with "Tests unmaintained" as the reason instead. >> +   (description >> +    "AntiMicroX is a graphical program used to map gamepad keys to >> keyboard, mouse, >> +scripts, and macros.  Useful for controlling your system with a >> gamepad or >> +playing games that don't natively support gamepads.  It can also be >> used for >> +generating SDL2 configuration (useful for mapping atypical gamepads >> to generic >> +ones).  It support X.org and Wayland.") >> +   (license license:gpl3+))) > The description could use some polishing. It should consist of > complete sentences and there are some minor grammar mistakes as well. Thanks, I've revised the description a bit in the attached updated patch. > Also, I don't see a home-page (how does guix not complain about this?) I placed home-page above source to avoid having to duplicate the github address. There are about 452 other packages that do this. From 4b5a4b6aa01810c6c5f84b0c143a3d3997e57d18 Mon Sep 17 00:00:00 2001 Message-ID: <4b5a4b6aa01810c6c5f84b0c143a3d3997e57d18.1726850221.git.bavier@posteo.net> From: Eric Bavier Date: Thu, 19 Sep 2024 19:21:43 -0500 Subject: [PATCH] gnu: Add AntiMicroX. * gnu/packages/games.scm (antimicrox): New variable. Change-Id: Ie159edf259bba0aa06ff60c074fec4457b409d12 --- gnu/packages/games.scm | 51 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 213c4c598d..44316f0f71 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013 John Darrington ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2014, 2015 David Thompson -;;; Copyright © 2014-2023 Eric Bavier +;;; Copyright © 2014-2024 Eric Bavier ;;; Copyright © 2014 Cyrill Schenkel ;;; Copyright © 2014 Sylvain Beucler ;;; Copyright © 2014, 2015, 2018, 2019, 2021 Ludovic Courtès @@ -170,6 +170,7 @@ (define-module (gnu packages games) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages javascript) + #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages less) #:use-module (gnu packages lesstif) #:use-module (gnu packages libcanberra) @@ -485,6 +486,54 @@ (define-public anarch Doom clone shooter game.") (license license:cc0)))) +(define-public antimicrox + (package + (name "antimicrox") + (version "3.4.1") + (home-page "https://github.com/AntiMicroX/antimicrox") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04yb5nppn751asbihr90sqk5imamc937886lc24cihhgp0sila8y")))) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f ; Tests are unmaintained + #:configure-flags + #~(list "-DCHECK_FOR_UPDATES=NO" + "-DWITH_TESTS=NO" + #$(string-append "-DANTIMICROX_PKG_VERSION=" version)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-installation-target + (lambda _ + (substitute* "CMakeLists.txt" + (("/usr(/lib/udev/rules.d)" _ lib) + (string-append #$output lib)))))))) + (native-inputs + (list extra-cmake-modules + gettext-minimal + itstool + qttools)) + (inputs + (list libxtst + libx11 + qtbase + sdl2)) + (synopsis "Control your system with a gamepad") + (description + "AntiMicroX is a graphical program used to map gamepad keys to keyboard, mouse, +scripts, and macros. With it you can control your system using a gamepad or +play games that don't natively support gamepads. It can also be used for +generating SDL2 configurations. It supports X.org and Wayland.") + (license license:gpl3+))) + (define-public armagetronad (package (name "armagetronad") base-commit: 6ea75bb9bcc52521f0bb3f121799745fdc17f1c9 -- 2.46.0