From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uGFnJBUYPWXFRgEAG6o9tA:P1 (envelope-from ) for ; Sat, 28 Oct 2023 16:17:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uGFnJBUYPWXFRgEAG6o9tA (envelope-from ) for ; Sat, 28 Oct 2023 16:17:57 +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 47F3F3D2F2 for ; Sat, 28 Oct 2023 16:17:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698502677; a=rsa-sha256; cv=none; b=VCk2FI/fPD0m3sTu7P+DGDqcHPqZ+6Q15SCjoOLuQTh1SEy6lAMLucob+GJcnpOniYyadn c88wnuLALeeRnNi1Bu6JWlx2HbjFdPieQCx1fGHoEmoc1n2fZ0tDyhHZz6KZJrPpWqc/+9 AqYz4tZoLRs2kQorz/4YPXbvP5lyzVPv5U96doPRdn06jruEZ207e7J2TqRnbYQTQfGgXQ OKCl6JH+UqKUfci8OS163MqRvmj0JlRKmyeOEblGJ2zGYLHFf+tp9w22pkI3kfnkmAfPUv hwikt1c4gKiCUPehm4JUdP7KQJPUmIu2K/AbkJ1AuYajG/NckCpWZdlDa1aD6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698502677; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=3349hCkfB3DDJhzfdMWhtRClxBqf8UMu3oRiIOU86UI=; b=dM7ZQ6vXnxcBniqhpoNIVxISAfo73ACp4SCvVpw2gKTjfV49ivqrWAsySDwteZvwHDYwbV zTvgs/JaM9E5yL7hqrfvaY+hxC16eU4d9jZQAo1h6W5mQVNx+u9y3UVdabirJ5WprirZDB QOR+js585Jszr3Y2qixXgOWOlEDDSNF23Ev7fruF7ehJTTeJXW6ldgMH/29zulaqCsdFQs WXQgssBOtx9b+eFzzHhY9Al2hLokf3cGF5NbLltA7+TR+ouMZJuwZ2ZiSTlQLhOIQ+s6Z5 ufP7dBWqsS8uwNKq1AhCgFHmzr8OKeOZlXA+6f519Mrm+KcLXCsJqlH7/H7bOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwk84-0002G3-RY; Sat, 28 Oct 2023 10:17:33 -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 1qwk83-0002FW-A1 for guix-patches@gnu.org; Sat, 28 Oct 2023 10:17:31 -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 1qwk83-0001fH-1t for guix-patches@gnu.org; Sat, 28 Oct 2023 10:17:31 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwk8Y-0001tq-L4 for guix-patches@gnu.org; Sat, 28 Oct 2023 10:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66794] [PATCH] gnu: beep: Add phase install-rules. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 28 Oct 2023 14:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66794 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66794@debbugs.gnu.org Cc: ngraves@ngraves.fr X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16985026657270 (code B ref -1); Sat, 28 Oct 2023 14:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Oct 2023 14:17:45 +0000 Received: from localhost ([127.0.0.1]:39325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwk8G-0001tC-IZ for submit@debbugs.gnu.org; Sat, 28 Oct 2023 10:17:44 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwk8A-0001sh-NE for submit@debbugs.gnu.org; Sat, 28 Oct 2023 10:17:40 -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 1qwk7Z-0002D8-EB for guix-patches@gnu.org; Sat, 28 Oct 2023 10:17:01 -0400 Received: from 3.mo575.mail-out.ovh.net ([46.105.58.60]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwk7W-0001dq-TC for guix-patches@gnu.org; Sat, 28 Oct 2023 10:17:01 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.156.142]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id C069C26625 for ; Sat, 28 Oct 2023 14:16:54 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-dnfcn (unknown [10.110.103.249]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 70D861FD5C; Sat, 28 Oct 2023 14:16:54 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-6684bf9d7b-dnfcn with ESMTPSA id 9RiXGNYXPWXcCAAA34lJGQ (envelope-from ); Sat, 28 Oct 2023 14:16:54 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Sat, 28 Oct 2023 16:16:46 +0200 Message-ID: <20231028141652.5940-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 1717560309878416098 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrleeigdehtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteevheffvedvgfdttdehvdfhgeeugfegffetteeuleeivdfhhfejgeduheelgeehnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhedpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=46.105.58.60; envelope-from=ngraves@ngraves.fr; helo=3.mo575.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via 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-Spam-Score: -6.60 X-Migadu-Queue-Id: 47F3F3D2F2 X-Migadu-Spam-Score: -6.60 X-TUID: hMLZoD9NxP6C * gnu/packages/terminals.scm (beep): Add phase install-rules. --- gnu/packages/terminals.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index c5cecfa6db..b3f17c7ed2 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -584,7 +584,18 @@ (define-public beep ;; The build environment lacks /dev/{console,tty*}. ;; In fact, even nckx's regular Guix System lacks ttyS1… ((": Permission denied") - ": No such file or directory"))))))) + ": No such file or directory")))) + (add-before 'install 'install-rules + (lambda _ + (mkdir-p (string-append #$output "/etc/udev/rules.d")) + (with-output-to-file + (string-append #$output + "/etc/udev/rules.d/70-pcspkr-beep.rules") + (lambda _ + (display (string-append "\ +ACTION==\"add\", SUBSYSTEM==\"input\", ATTRS{name}==\"PC Speaker\", " + "ENV{DEVNAME}!=\"\", " + "TAG+=\"uaccess\""))))))))) (synopsis "Linux command-line utility to control the PC speaker") (description "beep allows the user to control the PC speaker with precision, allowing different sounds to indicate different events. While it can be run -- 2.41.0