From patchwork Sun Jul 11 04:31:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 31280 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 21F4C27BC83; Sun, 11 Jul 2021 05:33:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 99E1727BC81 for ; Sun, 11 Jul 2021 05:33:09 +0100 (BST) Received: from localhost ([::1]:51446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2R9Q-0005n0-IX for patchwork@mira.cbaines.net; Sun, 11 Jul 2021 00:33:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2R9K-0005mn-KC for guix-patches@gnu.org; Sun, 11 Jul 2021 00:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2R9K-0005xO-Ch for guix-patches@gnu.org; Sun, 11 Jul 2021 00:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2R9K-0001t3-7u for guix-patches@gnu.org; Sun, 11 Jul 2021 00:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49520] [PATCH] Minor fixes to interception-tools and update dual-function-keys. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Jul 2021 04:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49520 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49520@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.16259779327193 (code B ref -1); Sun, 11 Jul 2021 04:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jul 2021 04:32:12 +0000 Received: from localhost ([127.0.0.1]:33727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2R8V-0001rx-I5 for submit@debbugs.gnu.org; Sun, 11 Jul 2021 00:32:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:38464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2R8T-0001rp-Ff for submit@debbugs.gnu.org; Sun, 11 Jul 2021 00:32:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2R8S-0005QK-7e for guix-patches@gnu.org; Sun, 11 Jul 2021 00:32:08 -0400 Received: from mail-4317.protonmail.ch ([185.70.43.17]:10303) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2R8N-00055z-LN for guix-patches@gnu.org; Sun, 11 Jul 2021 00:32:07 -0400 Date: Sun, 11 Jul 2021 04:31:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1625977920; bh=rCFUuHAGF+fw42sXw8nZyFOZpboPf2VrKmMugMxshsk=; h=Date:To:From:Reply-To:Subject:From; b=Gmdp8h59cZRnt+9n6Yg1jQHXMxm5DNhIRW/8daeFQK7Z52x2bLV5SxC4anNju7Nx3 88AfhH5AARqZtIVGsVJmkmcNqFHQrBkWFBVC07PgqiqqmoB21yHldwQAlOIuVt09GA Jhf1CLHLTWSdZOQ/p1iQOkBF9Cr8k6WdVy2BJIkZ80dcLA/uPTRRcMM5WdQWu6X3Jd z+DqNG/J8aH5sXL5/jMEgJ6glLcMt0UpPImpsZpzyuUKwUXAakSXsz8eNGdBzWGtrP zBK+3vWNrGIa8J27CTqeo3sYiHLpf6RmXiXHQeGkkhc5HZMeDnru823Jmz4Cnj52VR nLeY18nRS1S/w== From: "Paul A. Patience" Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.17; envelope-from=paul@apatience.com; helo=mail-4317.protonmail.ch 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Empty Message From 83c06ca8d7b52c7dc7c38ed2c476ff39047f5cd2 Mon Sep 17 00:00:00 2001 From: "Paul A. Patience" Date: Sun, 11 Jul 2021 00:19:56 -0400 Subject: [PATCH 2/3] gnu: interception-dual-function-keys: Minor fixes. * gnu/packages/linux.scm (interception-dual-function-keys) [arguments]<#:make-flags>: Make use of cc-for-target, cxx-for-target and %output. <#:phases>{check}: Undelete phase. Disable tests instead with... <#:tests?>: ...this. New field. --- gnu/packages/linux.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 817df615b1..8fa723bc1a 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -3738,8 +3738,9 @@ devices that can inject events directly into the input subsystem.") `(("libevdev" ,libevdev) ("yaml-cpp" ,yaml-cpp))) (arguments - `(#:make-flags (list "CC=gcc" "CXX=g++" - (string-append "PREFIX=" (assoc-ref %outputs "out"))) + `(#:make-flags (list ,(string-append "CC=" (cc-for-target)) + ,(string-append "CXX=" (cxx-for-target)) + (string-append "PREFIX=" %output)) #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-libevdev-path @@ -3750,9 +3751,9 @@ devices that can inject events directly into the input subsystem.") (string-append libevdev "/include/libevdev-1.0"))) #t))) ;; No configure script - (delete 'configure) - ;; No target 'check' - (delete 'check)))) + (delete 'configure)) + ;; No tests are included. + #:tests? #f)) (synopsis "Tap for one key, hold for another") (description "Dual Function Keys is a plugin for @code{interception-tools} that allows -- 2.32.0