From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EGKpOckZdWfY3QAAe85BDQ:P1 (envelope-from ) for ; Wed, 01 Jan 2025 10:32:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id EGKpOckZdWfY3QAAe85BDQ (envelope-from ) for ; Wed, 01 Jan 2025 11:32:42 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=jV2Bfebf; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=C+rWeuD1; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735727561; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZZsxS2AilrDAYpb6hWcYAl+TN2GtqTYWva0LIjdYitk=; b=P512ZoXaJJhS57x96KJjbaJudCRq1jYEi8SrZcAJdCZAcuths0FKsYGAUqcy/cEekU7rWF ys9coQws+Jt9nsxe/KPP7QEUHJgsWiUC6Plc6RE9BwRQhJONxJF0QLMkZ8zcYA15mXAUW0 fBM5aqdfqcgw64xkys7qmi1rUiitttWLfc/EOu5K/8sDtFqht4EyfwjHMdU7rHPLDJ1Ni/ RzbI8+tJ5j7d+Z2N0QhCTRChhegW9ndaHlBHHd+L0HbXrXzEm5Sqrcjn7P1xrT3XakSIZW dv7rwzmwRx65jLrsNuBW8zVnyQjmAOjkDMHUTR+tLn0t95LucE/e3qxM9uPb2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=jV2Bfebf; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=C+rWeuD1; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735727561; a=rsa-sha256; cv=none; b=ipFVnpwig867Wh8QvpA61CFAeoGWoPw73dSiiezIMmXw2hRg63EjFuEtZz9lfVUBt3HAR2 9My+V09siLB4uc3xzGI0rTw/eINB/QQny6GLF75FjEbfP2h/NWK9AmD58zZ756De5TWsgI u3RA2l6xbarIS9/86SXQbK483qIm6pdqgEc5Ik/DZyIg2gxwQ+fskFbAR5oNYcuEoA/lq2 jET0EprxvKFh1XTYSU7n1gz144FLkx8GGMlXs6D2C+ozwg+klWzpPMYblx30I2VOh0mHPK SSUNkmcaARL8ksLO5vkGGYuSk0mKjtOyjG7Lf+35xu9d3uHmcgNPk67Euu7w6w== 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 540A1849C1 for ; Wed, 01 Jan 2025 11:32:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSw1D-0002BQ-Qx; Wed, 01 Jan 2025 05:32:03 -0500 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 1tSw1C-0002Ay-I4 for guix-patches@gnu.org; Wed, 01 Jan 2025 05:32:02 -0500 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 1tSw1C-0002c9-9N for guix-patches@gnu.org; Wed, 01 Jan 2025 05:32:02 -0500 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=ZZsxS2AilrDAYpb6hWcYAl+TN2GtqTYWva0LIjdYitk=; b=jV2BfebfZ4w66vR7CCUkI8eWpD6m/hSoFoe3Up55TpfJLDDs8/ePvRKqmG5LFY3c77fiVgoh7r6Baz6iAS2HXmvJAgyC/NXrROd91YqptYT6D0jZsw4Y1tnHwg0+TLx42LNg5jEZZGPMgSHVphody0MzC/sPpAP/kELZw0JguTvrB8Sk5S6MqQaNgFW6cf4VCANB1s6aWAxGkCgWAIfz8HImr3H3uAvplrz5BG26+hWBcKZX02PKEOc8GH8zviCeOiYQ7AD/h1YE2Us6NAWHBiCFSZVaClxgOZ8tY6bRRVKmQu8mJTwTJDPOF/bUCgt7ymvxZTngnGYnaWREfBCBsA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSw1B-00060G-Tv for guix-patches@gnu.org; Wed, 01 Jan 2025 05:32:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66193] [PATCH v3] gnu: Add keyd Resent-From: 45mg <45mg.writes@gmail.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Jan 2025 10:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66193 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: "ShinyZero0" , 66193@debbugs.gnu.org Received: via spool by 66193-submit@debbugs.gnu.org id=B66193.173572748323007 (code B ref 66193); Wed, 01 Jan 2025 10:32:01 +0000 Received: (at 66193) by debbugs.gnu.org; 1 Jan 2025 10:31:23 +0000 Received: from localhost ([127.0.0.1]:37819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSw0Z-0005z0-AL for submit@debbugs.gnu.org; Wed, 01 Jan 2025 05:31:23 -0500 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]:54743) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <45mg.writes@gmail.com>) id 1tSw0X-0005yn-NF for 66193@debbugs.gnu.org; Wed, 01 Jan 2025 05:31:22 -0500 Received: by mail-pj1-x1044.google.com with SMTP id 98e67ed59e1d1-2f441904a42so14711833a91.1 for <66193@debbugs.gnu.org>; Wed, 01 Jan 2025 02:31:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735727475; x=1736332275; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ZZsxS2AilrDAYpb6hWcYAl+TN2GtqTYWva0LIjdYitk=; b=C+rWeuD1Zn3tDb/hcIWvOgKqT7fCG5ClNBzopz0fgJsyM5MiX9bfdt7dSsfp/B+FEr ewWXspdfgOXtHJic0Er1Jb00CXgbEMMENuVOmf8wUnkJm4/3uvsJAaN0W97tf4CI+Ane Klqxmp9ETH1s1NEqFZThXMtq0eW+yFrexA0fL40kDQncCGCKNAUE5fWTYTqik1eWdwx/ KqiiLyoqXPHWuM6WiUi9QC4h8UIqrrqNJN6nddaaKLoKBTlh+BMd8xLYBSV3CFTyHQoI 8pHMpLIaptTksj2x/C6bBHhNEZJ3q1gZbFpxKXh46/JgGCs6BqJH4t/XT4waLq0tiqO8 dfNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735727475; x=1736332275; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZZsxS2AilrDAYpb6hWcYAl+TN2GtqTYWva0LIjdYitk=; b=IH8CERR6DMmwwqcrH2vKMzhPndDl49a7Hex2NhIPBM8q63hmtHZZKAdiLPku7VuTcw 2+6BaSOWUMqLfTNwCKc7PYDO2WXCMKv4j+XbqURg/3dRRch4KTZaZGnlJAc7rd6m5uFt Xzao3egfyRHp1SXr00zWM9jxKVINGhhy9JIESA+z8D84th8BhiqItCQLVep6Z8pJ6dZ2 4XPYPmIWLAXBxo7oKshUbjFHvtm5R2V/zfE+VRDzOEPJpLYoosITQcaQ6mSgq+0x6FYb vwT/tVClw/iVfQ7sOr78aYL7SPkwa/Cbi94NLjm/Is4gsn2YCAwXGz/BUDJ5YDo2oG1i TgZQ== X-Forwarded-Encrypted: i=1; AJvYcCU8drXeJxopOOglF4Te2awVsR/8unVes054XxJ4FA0RAp32dbMEeANARLq367uFilgh005ubw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwT+28eIuyhxLUYH9bebxo1+QEghdzAr8AvMHMAIgncl44fi2KA 0XbaVdVcE9lr4hzq1QlPBGrwvpyoqAt1RkNpUhLui02Rf7MH1YNQ X-Gm-Gg: ASbGncvqTpz1oVy8FRiObmBxGatBBFLEZPU8HzeSyQqObUu6XUiYiWDM6cx4yYmTNjt 0sGWrThBhXfGXruGl94BhPYoR0zGsdzF+tRFN1pCz0Bs9V/8N9FKkecKuBeHW3r6EROhd1Ax6VL LjtgTRdgwB+F9FjlkeySZcigBrux1auQ19KrVzYdZmmyrIvRA9hudyEhlggAC/HRLoQmj+r/K+q 2LdQ9MmTacV0p7ha7tR5xkf3C9H2C6hUCzNIcLJBwCGKVZAIPZp5qUs5wAPsbL0Bb/1uxdWEQVT X-Google-Smtp-Source: AGHT+IFj3Q3xio5ecuilzcd2IMeTZEijT6/MbE7GH4+uuGz9sJPtW0E2k09uLhRhvNRFnb55ZLnr9Q== X-Received: by 2002:a17:90a:c88b:b0:2f2:a9f0:40b0 with SMTP id 98e67ed59e1d1-2f452eb3dd9mr54308220a91.23.1735727475368; Wed, 01 Jan 2025 02:31:15 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1cb8:a2d3:f4aa:1246:d469:678a]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f2ee06dd84sm28674055a91.38.2025.01.01.02.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2025 02:31:15 -0800 (PST) From: 45mg <45mg.writes@gmail.com> Date: Wed, 1 Jan 2025 05:24:53 -0500 Message-ID: <0dda1be22511fb183c24bf16691df5963124cb2c.1735727093.git.45mg.writes@gmail.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -4.66 X-Spam-Score: -4.66 X-Migadu-Queue-Id: 540A1849C1 X-TUID: ZEDGMN0jTWs4 From: ShinyZero0 >From 4926a18454135e97832e2d183893f01a2f42a06c Mon Sep 17 00:00:00 2001 From: "zero@fedora" Date: Mon, 25 Sep 2023 19:39:00 +0300 Subject: [PATCH] gnu: Add keyd * gnu/packages/keyd.scm: New file. * gnu/local.mk: Add it. Change-Id: I9a796d5970d910b933999a146c99060413dc13e1 --- This revision fixes a small typo in gnu/local.mk (services/keyd.scm -> packages/keyd.scm). Other than that, I've tested this in a VM and it works fine. While we're still skipping the tests since they require root to run, that's a common approach that isn't at all unique to this package [1]. So, I guess this can be merged, or at least reviewed further. The patch I'm replying to should have been titled 'v2'; this is v3. [1] https://lists.gnu.org/archive/html/guix-devel/2025-01/msg00001.html gnu/local.mk | 1 + gnu/packages/keyd.scm | 60 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 gnu/packages/keyd.scm diff --git a/gnu/local.mk b/gnu/local.mk index 02a6fa616e..45862dfa47 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -412,6 +412,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/kde-systemtools.scm \ %D%/packages/kde-utils.scm \ %D%/packages/kerberos.scm \ + %D%/packages/keyd.scm \ %D%/packages/kodi.scm \ %D%/packages/language.scm \ %D%/packages/lean.scm \ diff --git a/gnu/packages/keyd.scm b/gnu/packages/keyd.scm new file mode 100644 index 0000000000..666b931650 --- /dev/null +++ b/gnu/packages/keyd.scm @@ -0,0 +1,60 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Paul +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages keyd) + #:use-module (gnu packages linux) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system gnu)) + +(define-public keyd + (package + (name "keyd") + (version "2.4.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rvaiya/keyd") + (commit (string-append "v" version)))) + (sha256 + (base32 + "1awdp863amq95y990fi4wj389ssv3ip2daqz2ph23lsahwa6f5in")))) + (arguments + (list #:tests? #f ; tests require root + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + "PREFIX=" + (string-append "DESTDIR=" #$output)) + #:phases + '(modify-phases + %standard-phases + (delete 'configure)))) ; no autoconf + (build-system gnu-build-system) + (inputs (list linux-libre-headers)) + (synopsis "A key remapping daemon for linux.") + (description + "Keyd is a keyboard remapping utility with intuitive ini + config file format. Keyd has several features, many of + which are traditionally only found in custom keyboard firmware + like QMK") + (home-page "https://github.com/rvaiya/keyd") + (license license:expat))) base-commit: c943829ac7b25ac6326f78fe947a5d79c283627b -- 2.47.1