From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:43743) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDPhf-0006kh-Vn for guix-patches@gnu.org; Sun, 15 Mar 2020 05:37:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDPhe-0000kc-Kg for guix-patches@gnu.org; Sun, 15 Mar 2020 05:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDPhe-0000jy-HX for guix-patches@gnu.org; Sun, 15 Mar 2020 05:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDPhe-0004To-BT for guix-patches@gnu.org; Sun, 15 Mar 2020 05:37:02 -0400 Subject: [bug#40070] [PATCH] gnu: Add wev. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:43069) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDPhE-0006jO-D8 for guix-patches@gnu.org; Sun, 15 Mar 2020 05:36:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDPhC-0007AT-O4 for guix-patches@gnu.org; Sun, 15 Mar 2020 05:36:35 -0400 Received: from mout-p-102.mailbox.org ([2001:67c:2050::465:102]:54574) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDPhC-0006zJ-AB for guix-patches@gnu.org; Sun, 15 Mar 2020 05:36:34 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 48gDpQ3SwlzKmKw for ; Sun, 15 Mar 2020 10:36:30 +0100 (CET) Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id VPjA9yOuowmg for ; Sun, 15 Mar 2020 10:36:26 +0100 (CET) From: Brendan Tildesley Date: Sun, 15 Mar 2020 20:36:16 +1100 Message-Id: <20200315093616.12884-1-mail@brendan.scot> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40070@debbugs.gnu.org * gnu/packages/freedesktop.scm (wev): New variable. --- gnu/packages/freedesktop.scm | 40 +++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 1244da4fa0..b9811fb60e 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -10,7 +10,7 @@ ;;; Copyright =C2=A9 2017, 2018 Mark H Weaver ;;; Copyright =C2=A9 2017, 2018, 2019, 2020 Marius Bakke ;;; Copyright =C2=A9 2017, 2018, 2019 Rutger Helling -;;; Copyright =C2=A9 2017 Brendan Tildesley +;;; Copyright =C2=A9 2017, 2020 Brendan Tildesley ;;; Copyright =C2=A9 2018, 2020 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2018 Pierre Neidhardt ;;; Copyright =C2=A9 2018 Stefan Stefanovi=C4=87 @@ -72,6 +72,7 @@ #:use-module (gnu packages libunwind) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) + #:use-module (gnu packages man) #:use-module (gnu packages m4) #:use-module (gnu packages nss) #:use-module (gnu packages perl) @@ -804,6 +805,43 @@ composes the final output. A Wayland compositor is = essentially a multiplexer to the KMS/DRM Linux kernel devices.") (license license:expat))) =20 +(define-public wev + ;; There simple tool has no version or release yet. + (let ((commit "cee3dfb2a8b40ee303611018c68ae182d84a7f46")) + (package + (name "wev") + (version (string-append "2020-02-06-" (string-take commit 8))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~sircmpwn/wev") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0l71v3fzgiiv6xkk365q1l08qvaymxd4kpaya6r2g8yzkr7i2hms"= )))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags + (list "CC=3Dgcc" (string-append "PREFIX=3D" (assoc-ref %outputs= "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("scdoc" ,scdoc))) + (inputs + `(("libxkbcommon" ,libxkbcommon) + ("wayland" ,wayland) + ("wayland-protocols" ,wayland-protocols))) + (home-page "https://git.sr.ht/~sircmpwn/wev") + (synopsis "Wayland event viewer") + (description "Wev is a tool that opens a window, printing all even= ts +sent to a Wayland window, such as key presses. It is analogous to the X= 11 tool +XEv.") + (license license:expat)))) + (define-public exempi (package (name "exempi") --=20 2.25.1