From patchwork Sun Mar 15 09:36:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brendan Tildesley X-Patchwork-Id: 20685 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 B76A727BBEA; Sun, 15 Mar 2020 09:37:15 +0000 (GMT) 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,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 ESMTP id 1D2FE27BBE4 for ; Sun, 15 Mar 2020 09:37:15 +0000 (GMT) Received: from localhost ([::1]:52438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDPhq-0006kn-Fh for patchwork@mira.cbaines.net; Sun, 15 Mar 2020 05:37:14 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#40070] [PATCH] gnu: Add wev. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Mar 2020 09:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40070 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40070@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158426500917197 (code B ref -1); Sun, 15 Mar 2020 09:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Mar 2020 09:36:49 +0000 Received: from localhost ([127.0.0.1]:34246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDPhL-0004TC-0Q for submit@debbugs.gnu.org; Sun, 15 Mar 2020 05:36:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:45216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDPhF-0004T1-VL for submit@debbugs.gnu.org; Sun, 15 Mar 2020 05:36:42 -0400 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) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1584264988; h=from:from: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; bh=QUJYyIG+tteX6kPkza1EopRbi7WihkjctY4+BJVN9NE=; b=F9WQ86yeOUF8M2oNSarJHNdrLFF1agrJM3NvxPv0v1FOk2qglf8BNCO2RIKcgk4LePkWMo yhWvhcb+ewruUZrlLFQeUH+92GvzK/13xBHHqqlQYpEBHv/NU3+ZOHLscj1kVabH1i/TOL FeD2NpghEj/Ex8TxHBL6iV1opHWi0tM+SJULvY3PiWJIBL/BpbQjbflTXjiJw3ahwxFRs5 gO3MohtkcIadES1jprNxevK2L8mm/ZpqCYV1rucq+SWNqHl6rIPWAyLoEZVdvut+dxhqAH AyP1OkUto30EQfh6AqBbJ5tzEiS6jpCFYLYUiK02hlvSTamLKwLa7E9+cR43Sg== 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 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 © 2017, 2018 Mark H Weaver ;;; Copyright © 2017, 2018, 2019, 2020 Marius Bakke ;;; Copyright © 2017, 2018, 2019 Rutger Helling -;;; Copyright © 2017 Brendan Tildesley +;;; Copyright © 2017, 2020 Brendan Tildesley ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2018 Pierre Neidhardt ;;; Copyright © 2018 Stefan Stefanović @@ -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))) +(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=gcc" (string-append "PREFIX=" (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 events +sent to a Wayland window, such as key presses. It is analogous to the X11 tool +XEv.") + (license license:expat)))) + (define-public exempi (package (name "exempi")