From patchwork Tue Apr 20 18:33:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: WinterHound X-Patchwork-Id: 28715 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 D28BA27BC7A; Tue, 20 Apr 2021 19:38:04 +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, FREEMAIL_FROM,MAILING_LIST_MULTI,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 2C70327BC79 for ; Tue, 20 Apr 2021 19:38:04 +0100 (BST) Received: from localhost ([::1]:48344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYvG7-0006JT-C8 for patchwork@mira.cbaines.net; Tue, 20 Apr 2021 14:38:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYvCE-0005CL-3n for guix-patches@gnu.org; Tue, 20 Apr 2021 14:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYvCD-0007NI-SM for guix-patches@gnu.org; Tue, 20 Apr 2021 14:34:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYvCD-00058S-PY for guix-patches@gnu.org; Tue, 20 Apr 2021 14:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47915] [PATCH] gnu: Add xdo. Resent-From: WinterHound Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Apr 2021 18:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47915 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47915@debbugs.gnu.org Cc: WinterHound X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161894361119701 (code B ref -1); Tue, 20 Apr 2021 18:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Apr 2021 18:33:31 +0000 Received: from localhost ([127.0.0.1]:55980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYvBg-00057d-2m for submit@debbugs.gnu.org; Tue, 20 Apr 2021 14:33:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:47376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYvBe-00057V-DF for submit@debbugs.gnu.org; Tue, 20 Apr 2021 14:33:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYvBe-000550-5S for guix-patches@gnu.org; Tue, 20 Apr 2021 14:33:26 -0400 Received: from forward101j.mail.yandex.net ([5.45.198.241]:45721) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYvBa-0006yW-IA for guix-patches@gnu.org; Tue, 20 Apr 2021 14:33:25 -0400 Received: from sas1-2c02ca35cfae.qloud-c.yandex.net (sas1-2c02ca35cfae.qloud-c.yandex.net [IPv6:2a02:6b8:c14:3992:0:640:2c02:ca35]) by forward101j.mail.yandex.net (Yandex) with ESMTP id E1B131BE16FD for ; Tue, 20 Apr 2021 21:33:18 +0300 (MSK) Received: from sas8-6bf5c5d991b2.qloud-c.yandex.net (sas8-6bf5c5d991b2.qloud-c.yandex.net [2a02:6b8:c1b:2a1f:0:640:6bf5:c5d9]) by sas1-2c02ca35cfae.qloud-c.yandex.net (mxback/Yandex) with ESMTP id n6EWXHOE2r-XIJWtDWt; Tue, 20 Apr 2021 21:33:18 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1618943598; bh=82B2AQJQhUb3fVTq5xovsTsBXwEhhL70b4lWX6cyFw0=; h=Date:Subject:To:From:Message-Id:Cc; b=p6CTIfPZ34Xr6OTxl68X3IUEE7ODK1SOtUPIzblEA7av/Z9VHJvczKAQg3KWpxJ5S SrEx0bFbxSpdkoqB87e3CGSN3ySg2iTLjomt6gT+5WGezVcf+2MuIWczcOs8WoDRpJ HqK9pgmc4O6064wfwOR1u5JWn4xYBm+Ge7MZyRL0= Authentication-Results: sas1-2c02ca35cfae.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Received: by sas8-6bf5c5d991b2.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id UIoNCQzf5o-XGJm2cXg; Tue, 20 Apr 2021 21:33:17 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: WinterHound Date: Wed, 21 Apr 2021 00:03:04 +0530 Message-Id: <20210420183304.31841-1-winterhound@yandex.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Received-SPF: pass client-ip=5.45.198.241; envelope-from=winterhound@yandex.com; helo=forward101j.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/xdisorg.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 725ea0afd6..37f88f2766 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -510,6 +510,39 @@ manager supports it, you can use xdotool to switch desktops, move windows between desktops, and change the number of desktops.") (license license:bsd-3))) +(define-public xdo + (package + (name "xdo") + (version "0.5.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/baskerville/xdo") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1h3jrygcjjbavdbkpx2hscsf0yf97gk487lzjdlvymd7dxdv9hy9")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs + `(("libxcb" ,libxcb) + ("xcb-util-wm" ,xcb-util-wm) + ("xcb-util" ,xcb-util))) + (home-page "https://github.com/baskerville/xdo") + (synopsis "Small X utility to perform elementary actions on windows") + (description + "Apply the given action to the given windows. +If no window IDs and no optioqqns are given, the action applies to the focused window.") + (license license:bsd-2))) + (define-public xeyes (package (name "xeyes")