From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id irJKDexk+2DU/QAAgWs5BA (envelope-from ) for ; Sat, 24 Jul 2021 02:55:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gEj4B+xk+2BfMQAAbx9fmQ (envelope-from ) for ; Sat, 24 Jul 2021 00:55:08 +0000 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 6044C11E13 for ; Sat, 24 Jul 2021 02:55:07 +0200 (CEST) Received: from localhost ([::1]:55288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m75wY-0005bY-IM for larch@yhetil.org; Fri, 23 Jul 2021 20:55:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m75wU-0005bL-Ib for guix-patches@gnu.org; Fri, 23 Jul 2021 20:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m75wU-0005xG-BX for guix-patches@gnu.org; Fri, 23 Jul 2021 20:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m75wU-0001M0-8F for guix-patches@gnu.org; Fri, 23 Jul 2021 20:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49652] [PATCH v2] gnu: Add unclutter-xfixes References: <20210719224218.5320-1-ahmed@ikasero.com> In-Reply-To: <20210719224218.5320-1-ahmed@ikasero.com> Resent-From: iKaSeRo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Jul 2021 00:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49652 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49652@debbugs.gnu.org Cc: iKaSeRo Received: via spool by 49652-submit@debbugs.gnu.org id=B49652.16270880885178 (code B ref 49652); Sat, 24 Jul 2021 00:55:02 +0000 Received: (at 49652) by debbugs.gnu.org; 24 Jul 2021 00:54:48 +0000 Received: from localhost ([127.0.0.1]:44950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m75wF-0001LS-FZ for submit@debbugs.gnu.org; Fri, 23 Jul 2021 20:54:48 -0400 Received: from [136.244.88.61] (port=38080 helo=mail.ikasero.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m74xz-0008Mf-Mc for 49652@debbugs.gnu.org; Fri, 23 Jul 2021 19:52:34 -0400 Received: from localhost.localdomain (unknown [IPv6:2001:16a2:431a:5b00:d65d:64ff:fed7:6da]) by mail.ikasero.com (Postfix) with ESMTPSA id C3DF181B94; Fri, 23 Jul 2021 23:52:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ikasero.com; s=mail; t=1627084350; bh=cY87V0zFbJ1Itsrp2pWUMJXjxKLku1OCzrEAE/H2XeE=; h=From:To:Cc:Subject:Date:From; b=FjkOwBmR9i/gvls8qEt31sT6ad1LBY1iHeii4ZXM9tt4pLtCGBdX0AuZsm/B24vz2 O+0zwIG23nwsXZS9LLimVywGkgCi6H8j5w1B8zGc6OW3l5pG4bj+kByWGUrPGDv6Ui ztxbs8KDzUSjJA+lqimazutHtYopcefXX/1Ri7rVhxoBbUAMsnyIVgPOKYRB6b+7ZL SwqxPyPngAy1gi5VFxToOOU0sQ+ca+bBa/S9TmJtUq8ilc4kGdXZqDMXtUrw5d62f1 cSJMXcWHF7Xz8cpG9G6Qa9eNNfjK96KMQYoOtmXRdDCWt+OmC20oL2LxwnS3bHn1x5 GqAlILwauuPxQ== From: iKaSeRo Date: Sat, 24 Jul 2021 02:52:28 +0300 Message-Id: <20210723235228.16021-1-ahmed@ikasero.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 23 Jul 2021 20:54:46 -0400 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627088107; h=from:from:sender:sender: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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9Otap55FW8t32Yui4HIYBC0A6GMTjVl1GZOFUKzPOIk=; b=tYehVBuPMHZwVbRLl4PmN7lep78TJuv40XO06PWcqnES9in6jC7hPLpbn9Gtp362UjbicL WZdzA3sUNoaVQnWIha3o6v26pnBOnnTpgMuelauY0C4HhF260vHjN78CQU3iXpj7JXA+rn kVqHKHut/UqjfB5+ohjVCzsIJWHcxUpNpAD17LjqIYODIOkT7iIhak2NAmUkiaMonezBor 5aH20N3GCyvW3SpPQ13VydfjSfw2uTxW0cBlchadTX7xDfurZ/yuj2IudJyRl+D27H1Mif 2YQXen8vC43VLkRSsc/mNg2dLucAPhDe9uqbGZuu5NiZY9+qx1TwtYKoDTd2Yg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627088107; a=rsa-sha256; cv=none; b=ljiUUXrvb6+DbJYkptE3+tfna5tpth5UjmY9Q42022ylhd6obox+FPfa+/6pEThhMgbIvg lWGd6OSxJfd7ebzx29kn77JZo//z/t2POR/61tY5ZALNi3afSrCpq3qfIYi9YXVDxtrP0G EizuV/liDNmCDozV7X4+lHqSBorRHFs9igzWV0eR+pdjNWumiuNmzMiMqMZzjoaMBuJSP+ +PHWEI0R4gd9dzGBRgcmbkPj+BvOBccSnRPC17Rcb5HKTgTqxVg4+UqE47UnZu3SaoD3A5 d70lj1cYYlLLRPLU0+G/V0xn9jYOPqcdhgKH7MEsapcpiHm1XwW9KCbSGt64jw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikasero.com header.s=mail header.b=FjkOwBmR; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikasero.com header.s=mail header.b=FjkOwBmR; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6044C11E13 X-Spam-Score: -0.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: IlVajVSt2a1g * gnu/packages/xdisorg.scm (unclutter-xfixes): New variable. --- gnu/packages/xdisorg.scm | 51 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 22f29c93be..4d689a2c70 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -49,6 +49,7 @@ ;;; Copyright © 2021 Paul A. Patience ;;; Copyright © 2021 Niklas Eklund ;;; Copyright © 2021 Nikita Domnitskii +;;; Copyright © 2021 ikasero ;;; ;;; This file is part of GNU Guix. ;;; @@ -100,6 +101,7 @@ #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) + #:use-module (gnu packages libevent) #:use-module (gnu packages linux) #:use-module (gnu packages m4) #:use-module (gnu packages man) @@ -907,6 +909,55 @@ xedit, for example. The human factors crowd would agree it should make things less distracting.") (license license:public-domain))) +(define-public unclutter-xfixes + (package + (name "unclutter-xfixes") + (version "1.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Airblader/unclutter-xfixes") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "148m4wx8v57s3l2wb69y9imb00y8ca2li27hsxibwnl1wrkb7z4b")))) + (build-system gnu-build-system) + (arguments `(#:tests? #f + #:make-flags + (list ,(string-append "CC=" (cc-for-target)) + (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs + `(("libx11" ,libx11) + ("libev" ,libev) + ("libxfixes" ,libxfixes) + ("libxi" ,libxi))) + (native-inputs + `(("asciidoc" ,asciidoc) + ("pkg-config" ,pkg-config))) + (home-page "https://github.com/Airblader/unclutter-xfixes") + (synopsis "Hide idle mouse cursor") + (description + "unclutter-xfixes is a rewrite of the popular tool unclutter, but +using the x11-xfixes extension. This means that this rewrite doesn't +use fake windows or pointer grabbing and hence causes less problems +with window managers and/or applications. + +Unclutter is a program which runs permanently in the background of an +X11 session. It checks on the X11 pointer (cursor) position every few +seconds, and when it finds it has not moved (and no buttons are pressed +on the mouse, and the cursor is not in the root window) it creates a +small sub-window as a child of the window the cursor is in. The new +window installs a cursor of size 1x1 but a mask of all 0, i.e. an +invisible cursor. This allows you to see all the text in an xterm or +xedit, for example. The human factors crowd would agree it should make +things less distracting.") + (license license:expat))) + (define-public xautomation (package (name "xautomation") -- 2.32.0