From unknown Fri Sep 19 23:36:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#71403 <71403@debbugs.gnu.org> To: bug#71403 <71403@debbugs.gnu.org> Subject: Status: [PATCH] gnu: libinput-gestures: Update to 2.76. Reply-To: bug#71403 <71403@debbugs.gnu.org> Date: Sat, 20 Sep 2025 06:36:07 +0000 retitle 71403 [PATCH] gnu: libinput-gestures: Update to 2.76. reassign 71403 guix-patches submitter 71403 kiasoc5 severity 71403 normal tag 71403 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 06 22:31:50 2024 Received: (at submit) by debbugs.gnu.org; 7 Jun 2024 02:31:50 +0000 Received: from localhost ([127.0.0.1]:36075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFPOP-0005VJ-9S for submit@debbugs.gnu.org; Thu, 06 Jun 2024 22:31:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:39772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFPOM-0005Uw-Sn for submit@debbugs.gnu.org; Thu, 06 Jun 2024 22:31:47 -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 1sFPO7-0006ti-Mx for guix-patches@gnu.org; Thu, 06 Jun 2024 22:31:31 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFPO5-0008Pw-Hb for guix-patches@gnu.org; Thu, 06 Jun 2024 22:31:31 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7C5CE44E35; Fri, 7 Jun 2024 04:31:26 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uQ0JxJdjDgkw; Fri, 7 Jun 2024 04:31:25 +0200 (CEST) From: kiasoc5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1717727485; bh=OORZ3Amk0NwoS6c7529dZQurAKk9aTCMo1lzFEilj4Y=; h=From:To:Cc:Subject:Date; b=GSNTGxbL9X/tHib6FXlLOzoGrAACFF8IXwiVNqMOjtgPCl4Dpv6FdooexJBnDgRI3 vnIW/KZcHyugDU8Y95JHF6Z79Q9qMecPoHIsH4Sj9PreNWsIcBgmc2hUj8c6QPI5VA /+w0rNn8fRf6LbIW0aYLwy6sDn/bECGo+qFAEpv++rJe072RKhCa/3dd6plNvOi7S3 QTk/JPDnpvdL1YJEb4Hk5GbhDOboIe/LTH9cLGMwnObGq3j6LhrGBxZhSNIyxE2F+2 sr6GX9ja7SCuB2xd1ZvDrZ79Qpseuog12bJNoKsPeQKcMMGCg/UvLOwpV5QSnHjoOS X5jJumzNdhNEA== To: guix-patches@gnu.org Subject: [PATCH] gnu: libinput-gestures: Update to 2.76. Date: Thu, 6 Jun 2024 22:27:04 -0400 Message-ID: <686648def1516cc739f7fabe771f4c92c0f5afc5.1717727224.git.kiasoc5@disroot.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: kiasoc5 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/freedesktop.scm (libinput-gestures): Update to 2.76. Change-Id: If01b291c6790539af22c508d764c5f09a92ec051 --- gnu/packages/freedesktop.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index e29c289df2..79dd6d5015 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -747,7 +747,7 @@ (define-public libinput-minimal (define-public libinput-gestures (package (name "libinput-gestures") - (version "2.73") + (version "2.76") (source (origin (method git-fetch) (uri (git-reference @@ -756,7 +756,7 @@ (define-public libinput-gestures (file-name (git-file-name name version)) (sha256 (base32 - "1klnc4y43maxpz7c6q0gc2gbly6jfcawnalx3f2jyc61zzgrxl3n")))) + "0x7gwdq7c7rahbfj6cdk19jgmm4g87r51i1229rq55wlzm1y1gsd")))) (build-system gnu-build-system) (arguments (list base-commit: 580d77d0fb12448ef1621699cc0c56e787e2aadb prerequisite-patch-id: 3105d2dda46daf29f7ea4fd49a21a44826cb965a -- 2.45.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 06 22:37:26 2024 Received: (at 71403) by debbugs.gnu.org; 7 Jun 2024 02:37:26 +0000 Received: from localhost ([127.0.0.1]:36569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFPTq-0005nG-Cz for submit@debbugs.gnu.org; Thu, 06 Jun 2024 22:37:26 -0400 Received: from layka.disroot.org ([178.21.23.139]:52266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFPTo-0005mz-3I for 71403@debbugs.gnu.org; Thu, 06 Jun 2024 22:37:25 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8FC5344DB1; Fri, 7 Jun 2024 04:37:08 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 57PmEJdqBAXR; Fri, 7 Jun 2024 04:37:07 +0200 (CEST) From: kiasoc5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1717727827; bh=haveF0cA2wlf1OoMcsePOb2bsQQrOvb4zrjRd7iAzD4=; h=From:To:Cc:Subject:Date; b=BQ948Qn4PqNxYOreGDf5q8XT9zNdv+zcbqBRy5zUOeVHwn+8o84bTrUMF60iO/d0T iHaaLJpD/KHZNhfRd11bRtV44K4RffUAmlQFWbm/TmLhNi0j1WNIG57tz+QrimSoZj fNGcY8292fa2RY9e2ulTLMX4Vlb5HfbOA2LlS8/7C8H/BgZG//7FwmzyYW/2XQ3OMY Y7mXuoBw/HuxprqEeTfB8mUZ3mv7GYU9jzCdC1PcrpiNKPADZHlp24LlYvJ3m+5XKd nsVH7E454EFrECyVyjUrQGtiyYVCin3yD9KLi4sSSMGpKOiGglb6ud2flR1MRQSsk3 2AnQH/8/WJCJA== To: 71403@debbugs.gnu.org Subject: [PATCH v2] gnu: Add libinput-gestures. Date: Thu, 6 Jun 2024 22:35:54 -0400 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71403 Cc: kiasoc5 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Forgot to rebase this forgotten 2-year-old patch! * gnu/packages/freedesktop.scm (libinput-gestures): New variable. --- gnu/packages/freedesktop.scm | 56 ++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 6941450436..79dd6d5015 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -744,6 +744,62 @@ (define-public libinput-minimal "-Ddebug-gui=false" ;requires gtk+@3 ,flags)))))) +(define-public libinput-gestures + (package + (name "libinput-gestures") + (version "2.76") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bulletmark/libinput-gestures") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0x7gwdq7c7rahbfj6cdk19jgmm4g87r51i1229rq55wlzm1y1gsd")))) + (build-system gnu-build-system) + (arguments + (list + #:make-flags + #~(list (string-append "DESTDIR=" #$output)) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ; no configure + (add-before 'install 'fix-hardcoded-paths + (lambda _ + (substitute* "libinput-gestures" + (("PROGPATH = Path(sys.argv[0])") + "PROGPATH = Path(\"libinput-gestures\")") + (("'libinput'") + (string-append + "'" (search-input-file %build-inputs "/bin/libinput") "'"))))) + (add-before 'install 'delete-mentions-of-usr + (lambda _ + (substitute* "libinput-gestures-setup" + (("/usr") "")))) + ;; TODO: replace this phase + (add-before 'patch-dot-desktop-files 'patch-desktop-file-manually + (lambda _ + (substitute* "libinput-gestures.desktop" + (("/usr/bin/libinput-gestures") + (string-append #$output "/bin/libinput-gestures"))))) + (add-after 'install 'remove-systemd-service + (lambda _ + (delete-file-recursively (string-append #$output "/lib")))) + (delete 'check) ; no tests + ))) + (inputs + (list python libinput hicolor-icon-theme)) + (home-page "https://github.com/bulletmark/libinput-gestures") + (synopsis "Actions gestures on your touchpad using libinput") + (description + "@code{libinput-gestures} is a utility which reads libinput gestures from +your touchpad and maps them to gestures you configure in a configuration file. +Each gesture can be configured to activate a shell command. It can be used for +X window managers and Wayland compositors that do not support libinput gestures +natively.") + (license license:gpl3+))) + (define-public libxdg-basedir (package (name "libxdg-basedir") base-commit: 580d77d0fb12448ef1621699cc0c56e787e2aadb -- 2.45.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 29 05:49:46 2024 Received: (at 71403) by debbugs.gnu.org; 29 Jun 2024 09:49:46 +0000 Received: from localhost ([127.0.0.1]:37082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNUiH-00081P-Uz for submit@debbugs.gnu.org; Sat, 29 Jun 2024 05:49:46 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:49268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNUiG-000817-52 for 71403@debbugs.gnu.org; Sat, 29 Jun 2024 05:49:44 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id CD6022A7; Sat, 29 Jun 2024 11:49:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MNCtYKV9Xluz; Sat, 29 Jun 2024 11:49:37 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 413D9F6; Sat, 29 Jun 2024 11:49:37 +0200 (CEST) Date: Sat, 29 Jun 2024 11:49:35 +0200 From: Andreas Enge To: 71403@debbugs.gnu.org Subject: Comment Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71403 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, I was about to apply your patch, but then I saw a line ;; TODO: replace this phase Is it still relevant? To the untrained eye the phase looks okay. Concerning the description, I would suggest the following: "@code{libinput-gestures} is a utility which reads libinput gestures from the touchpad and maps them to gestures defined in a configuration file. Each gesture can be configured to activate a shell command. It can be used for X window managers and Wayland compositors that do not support libinput gestures natively." to remove the "you" and one of many "configur{e,ation}". Andreas