From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QHCaLS7nDGDfJAAA0tVLHw (envelope-from ) for ; Sun, 24 Jan 2021 03:19:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mByGKS7nDGBlaAAA1q6Kng (envelope-from ) for ; Sun, 24 Jan 2021 03:19:10 +0000 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 1F941940274 for ; Sun, 24 Jan 2021 03:19:10 +0000 (UTC) Received: from localhost ([::1]:50532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3Vvh-0006nF-4M for larch@yhetil.org; Sat, 23 Jan 2021 22:19:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3Vva-0006n8-9T for guix-patches@gnu.org; Sat, 23 Jan 2021 22:19:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52417) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3Vva-0002aT-12 for guix-patches@gnu.org; Sat, 23 Jan 2021 22:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l3VvZ-0005wy-Td for guix-patches@gnu.org; Sat, 23 Jan 2021 22:19:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46066] [PATCH 1/2] gnu: Add interception-tools. Resent-From: Joseph LaFreniere Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Jan 2021 03:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46066 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46066@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161145832022842 (code B ref -1); Sun, 24 Jan 2021 03:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jan 2021 03:18:40 +0000 Received: from localhost ([127.0.0.1]:35730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3VvA-0005wF-Jv for submit@debbugs.gnu.org; Sat, 23 Jan 2021 22:18:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:44680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3Vv8-0005w7-NU for submit@debbugs.gnu.org; Sat, 23 Jan 2021 22:18:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3Vv8-0006mb-Hp for guix-patches@gnu.org; Sat, 23 Jan 2021 22:18:34 -0500 Received: from mx.kolabnow.com ([95.128.36.41]:10900) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3Vv5-0002R0-St for guix-patches@gnu.org; Sat, 23 Jan 2021 22:18:33 -0500 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id B79588BE for ; Sun, 24 Jan 2021 04:18:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= dkim20160331; t=1611458306; x=1613272707; bh=OZ4W0870+JpaVF6IBtV vgK8wrMswuMyhu5yQKHBWJj0=; b=oJsBlXXlsVdBEnvlUxsrkjt9MlOn8sPChiL zuglmMqRqJ7SugVaeKWSLHJKuk1NLjbk14nCP1c8NgXTIefDASlGjRY38xvwKv9q Raln7hFBCwaYe6KxXsaHrVR4h6H/ayk4WKQUE+cuOAwf8ipPo07fa0YdS5bNV6Iu F88OqgFeCQvYUDelpeiwLVI+zGEUXhZQJzF37hNox4dbYwP/s3yH72n4Jj9XI8iz iyszRzcz/otdIrhT4TTjSr6JjJe2nT2kzY+uYVQq+0zijAgvWcdghQ+cEF3TE1pC 2Q+BWGOXiGY+MED0BHV3u2+AeB2v978Cp1BrfOt5IcvDkcoHbJLwuRNWpDYTNrIB zkSzDn3qsPKEQr5NcBo119Dpav0D0dAUSAdY396dH61nn/nBbUT0srh5GaE2O542 5HhsXsxppUSsLijTvsomz7iBN2WI2LHsUpx1AU94qWnLSub4H63OaT5jO3BV6Ufz 2gTihoqxZwtAa1xmrBvpMMyG8577AyqacUnGCvnlga4QUJG+0nMJUxciUmM5ZuK3 G/jSbN4ROb1OCSHc2JQbH5lfjug24oZHVBew2k45SKoGYNu/esd46w+/ykthmwuH Eg66ZWnIK3TAQFtIimvje+sKqxd2ooyaNa2s1KkMWHHSezcdvideyJUOAhuKYyts rMC3gY1w= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YilMiNbne_pC for ; Sun, 24 Jan 2021 04:18:26 +0100 (CET) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id BCAD3553 for ; Sun, 24 Jan 2021 04:18:25 +0100 (CET) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 763CA18E for ; Sun, 24 Jan 2021 04:18:25 +0100 (CET) From: Joseph LaFreniere Date: Sat, 23 Jan 2021 21:18:21 -0600 Message-ID: <87r1mbt43m.fsf@lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=95.128.36.41; envelope-from=joseph@lafreniere.xyz; helo=mx.kolabnow.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.137, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Spam-Score: -1.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=oJsBlXXl; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1F941940274 X-Spam-Score: -1.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: HxkQ8Z+LMBiJ --=-=-= Content-Type: text/plain; format=flowed Patch file attached. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-interception-tools.patch >From 8eb7d142df5da842a98ade989ff14c625e51e8d9 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sat, 23 Jan 2021 14:57:25 -0600 Subject: [PATCH 1/2] gnu: Add interception-tools. * gnu/packages/linux.scm (interception-tools): New variable. --- gnu/packages/linux.scm | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index e0f056aff9..4112e9a00e 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -3463,6 +3463,51 @@ subsystem. @code{uinput} allows userspace programs to create and handle input devices that can inject events directly into the input subsystem.") (license license:bsd-3))) +(define-public interception-tools + (package + (name "interception-tools") + (version "0.6.4") + (home-page "https://gitlab.com/interception/linux/tools") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "121jy40ynkbzlqnx7g0dqwvkb7dm2ahcy6vwrz6ylsyd0jmi6s5a")))) + (build-system cmake-build-system) + (inputs + `(("boost" ,boost) + ("libevdev" ,libevdev) + ("libudev" ,eudev) + ("yaml-cpp" ,yaml-cpp))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-libevdev-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((libevdev (assoc-ref inputs "libevdev"))) + (substitute* "CMakeLists.txt" + (("/usr/include/libevdev-1.0") + (string-append libevdev "/include/libevdev-1.0"))) + #t)))) + ;; No tests are included. + #:tests? #f)) + (synopsis "Utilities for operating on input events of evdev devices") + (description + "Interception Tools provides a composable infrastructure on top of +@code{libudev} and @code{libevdev}. The following utilities are provided: + +@itemize +@item udevmon - monitor input devices for launching tasks +@item intercept - redirect device input events to stdout +@item uinput - redirect device input events from stding to virtual device +@item mux - mux streams of input events +@end itemize") + (license (list license:gpl3 (license:non-copyleft "file://README.md"))))) + (define-public lvm2 (package (name "lvm2") -- 2.30.0 --=-=-=--