From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kDcGI2Ri0mK8qgAAbAwnHQ (envelope-from ) for ; Sat, 16 Jul 2022 09:01:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WI/rImRi0mIXVwAAauVa8A (envelope-from ) for ; Sat, 16 Jul 2022 09:01:56 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 34E163AA65 for ; Sat, 16 Jul 2022 09:01:56 +0200 (CEST) Received: from localhost ([::1]:40210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCboJ-0005zU-5P for larch@yhetil.org; Sat, 16 Jul 2022 03:01:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCbnT-0005so-MP for guix-patches@gnu.org; Sat, 16 Jul 2022 03:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45047) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCbnS-0008Sx-EW for guix-patches@gnu.org; Sat, 16 Jul 2022 03:01:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCbnS-0000c0-8n for guix-patches@gnu.org; Sat, 16 Jul 2022 03:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56594] [PATCH] gnu: linux: Add evtest. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 Jul 2022 07:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56594 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56594@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16579548262288 (code B ref -1); Sat, 16 Jul 2022 07:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jul 2022 07:00:26 +0000 Received: from localhost ([127.0.0.1]:42806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCbmr-0000ap-SE for submit@debbugs.gnu.org; Sat, 16 Jul 2022 03:00:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:55726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCbmo-0000ab-7j for submit@debbugs.gnu.org; Sat, 16 Jul 2022 03:00:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCbmn-0005r8-UR for guix-patches@gnu.org; Sat, 16 Jul 2022 03:00:22 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:43725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCbml-0008KL-Ku for guix-patches@gnu.org; Sat, 16 Jul 2022 03:00:21 -0400 Received: by mail-lf1-x130.google.com with SMTP id r9so11047192lfp.10 for ; Sat, 16 Jul 2022 00:00:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=/blwqZXFDra+LVxjEWr7RKuexWKGCyqnZg/uVn8HucE=; b=Y7ZH8+3U/ZB+lH2GElx4aj0WYm2ge4A8HWPIXtUjhi0y8GCoNr/Xyo8wcFsVRx73PO rsBDwQeQYxrxcDx8wweDPIjVbQ1/GOPu9Q2oKxgP5iMZBzPpS9aAkOgnS1NcOIS++i2r h4W0TA3m8VpZDkO/FSugWC/UM64asN5/R7yxyszYOcRXiW+0ikprmTtppo1/O4dsYUrO YSCwmiRI/sP59Mp/CtBJLy8WbpwXupeFl+VQGE6fDaGjWVp3zeh8NQCgybd8enAoUkvb 9zSxsvKAnHBG7U/sQBARxO5LkRqoDLgrif8JnKOAs6bp6l/H9ZNk3qUpvjF9rsJMb8Gt f4mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=/blwqZXFDra+LVxjEWr7RKuexWKGCyqnZg/uVn8HucE=; b=jk2BAxCWO44ZWYlPjwDsvbTQ5VDpD0ni5AYEeHs5jRXqOaG7GhzHi8EH0yiRpy9M1a pwVwx+aWNWrciNWa+Nrco93PS/z/x35k0XlqVyXEBYZbIufNHi28hwaWwY8B6rG0ASxb a9oWAVViwkJPaBOOuJzJaujVctDD2ekT8zum4EofCmsL6AMJ9ynUIsmercDfJMIfyKzM v6guGFwx/xUIVG6daQH8MSrsQukoh8U4L34zCn7BoDLRIkEwzuHhxHw5osdYSM7xx1rA L9pmJjmUJZb57v7JRimR5dQl/mAkeVa/Bhfzfs8eNkv/tWJknsH9ToyWgmyM1QrhyU0e wRKQ== X-Gm-Message-State: AJIora8lwajOQHFSeo/zoZSm2OUblTKp5xqCvUajCUGxiBEm1RVK87kY 85p7js6q0FEwiXdOAxCMPLXtP8dazES1Jw== X-Google-Smtp-Source: AGRyM1sN1a2qVv44eaYAiTx8BnT8jP68wjiaL53Xo61Mj0jWy1gHosA/w33pJyfrmDcRFHbLVtWGSg== X-Received: by 2002:a05:6512:3f91:b0:48a:d31:4a16 with SMTP id x17-20020a0565123f9100b0048a0d314a16mr10021831lfa.639.1657954814912; Sat, 16 Jul 2022 00:00:14 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id t13-20020a056512208d00b00482bdd14fdfsm1321287lfr.32.2022.07.16.00.00.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 00:00:14 -0700 (PDT) From: "Artyom V. Poptsov" Date: Sat, 16 Jul 2022 10:00:09 +0300 Message-ID: <875yjx1r0m.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x130.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, T_SCC_BODY_TEXT_LINE=-0.01 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657954916; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=/blwqZXFDra+LVxjEWr7RKuexWKGCyqnZg/uVn8HucE=; b=L86C9waDn04aA3OttiZ8HlZVfw5kXMCRCXNf8uVgYzAONutGebGszCwjyLijQ5mCtmJovw MbKhFu6N8nhoHM683bFM9hOSNDqP6lsVL9Hg8LDNCVG08hkuH2A9fO2poQvD79e8GJn5KH Eg08+5TWFb6OywpXRSn0CsqZ8qzjSGMgCr6YrQ7X4wv/EBlc4TdLE2ia4HtzjxgwSI/RIZ Ush5h+erEmCSASh6VtlcR/ouBNF1BY00YvalRMFa1nOFKmKyjY1bwNhGFYZSyr3aq8Hih6 bQj/BF6z8eqrTED5NzN2uD9++qg/aunD3GZxv3LsovCCVxIXmTnPUcQgt/uXyQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657954916; a=rsa-sha256; cv=none; b=PjWwvUH1np70UJOj5qsC0CsBaBxoddwvPMwQAv/s/kFHHbOBGGXZxEFstNAfquWnxmEaSP z2i0G1F3TXsfzSthTzjCDV5ldLpkVpIkM54Wu+nhdTDmteYi1TBC3sBmPgLoNFNKLJeEC2 QhneQq56x6/1lbnvNUwGa7owZ1b06SFcyIw1egkQbGtKPE2RuCFPKMfM7XnTs5unV4g74p mp4N9wWsLnez9JuI1Np7wFViKHzCxvNtSraKci7Ff7cvAMY/MBSCZSbje6PuWrzKGasSMW yhHjxPRsLEgt83iR7UYdIIfbIBDK4PwM8u3g3ohaUmFHFjJd2tlEVHU9uh2EDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Y7ZH8+3U; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.86 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Y7ZH8+3U; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 34E163AA65 X-Spam-Score: 1.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: UfaQ5mFgYh+u --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, this patch adds evtest. [1] --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-linux-Add-evtest.patch Content-Transfer-Encoding: quoted-printable From=205de46ed4acc56eb41e5ffe1bdacd0e05f86d49c9 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 16 Jul 2022 09:51:26 +0300 Subject: [PATCH] gnu: linux: Add evtest. * gnu/packages/linux.scm (evtest): New variable. =2D-- gnu/packages/linux.scm | 59 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 48beae0e69..0bf6f917c0 100644 =2D-- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9280,3 +9280,62 @@ (define-public touchegg gestures you make on your touchpad or touchscreen into visible actions in = your desktop.") (license license:gpl3+))) + +(define-public evtest + (package + (name "evtest") + (version "1.35") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/libevdev/evtest") + (commit (string-append "evtest-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "164prnw35kda6jfykl7h52lfzy99ma2lk029zscyqk766k19spf4")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;No tests exist + #:make-flags #~(list (string-append "CC=3D" + #$(cc-for-target)) + (string-append "PREFIX=3D" + #$output)) + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'generate-doc + (lambda _ + (invoke "asciidoc" + "-d" + "manpage" + "-b" + "docbook" + "-o" + "evtest.1.xml" + "evtest.txt") + (invoke "xsltproc" "--nonet" + (string-append #$(this-package-native-= input + "docbook-xsl") + "/xml/xsl/docbook-xsl-" + #$(package-version (thi= s-package-native-input + "do= cbook-xsl")) + "/manpages/docbook.xsl") + "evtest.1.xml"))) + (replace 'bootstrap + (lambda _ + (setenv "CONFIG_SHELL" + (which "sh")) + (invoke "autoreconf" "-fi")))))) + (native-inputs (list autoconf + automake + bash-minimal + xmlto + docbook-xsl + libxslt + asciidoc)) + (home-page "https://gitlab.freedesktop.org/libevdev/evtest") + (synopsis "Kernel evdev device information and monitor") + (description + "@code{evtest} is a tool to print @code{evdev} kernel events. It rea= ds +directly from the kernel device and prints a device description and the ev= ents +with the value and the symbolic name.") + (license license:gpl2+))) =2D-=20 2.34.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thanks, =2D Artyom References: 1. https://gitlab.freedesktop.org/libevdev/evtest =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFNBAEBCgA3FiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmLSYfkZHHBvcHRzb3Yu YXJ0eW9tQGdtYWlsLmNvbQAKCRDpxaLZCJigLxndB/4tR1fdd9Ir7zhOtXfB3xJU Vqch510m36GrWZyb5vkTZcmkYUB8yZXTVpOrpcXFuAy5F3Lq+0M+X5ILs6FTtaO8 PLZSFfXgwvgbxqjDxlWYTHLTJyS5yoAuDK4rYJuB2oyX9KzPu2kLPsEb7ZoyDhmA wGoUBkfh0nNWpZqbSAScZJOGgezQOddyRFpnrJLPuCCd8Wyg2HphyfGJO65fQAAH mADmBynEWXrRZIdKg/OI9vF2xhdegBAnxDFqc7AuYX7YDLva1Ucta4CEfY2YJeX+ k9DOn1iDF6FN0v47M2vokYexSNrY99qq6w3cwd1pm0fsGvKiye+Z1TfeR6PDnnhG =SX63 -----END PGP SIGNATURE----- --==-=-=--