From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id OGDwCIxyYmZTgwAAe85BDQ:P1 (envelope-from ) for ; Fri, 07 Jun 2024 04:38:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OGDwCIxyYmZTgwAAe85BDQ (envelope-from ) for ; Fri, 07 Jun 2024 04:38:04 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=BQ948Qn4; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717727884; a=rsa-sha256; cv=none; b=MzBjnwq4qkqdVrQRIUEOXEQ3K5RCEhMHdKj02E6fGiAbkNg7hCZexRma+CvJxrcAha8ZsG hkjOVEosQ/bP2sh9aczxOHzEcZ+FQCWxQPyU5iTDmKvaSG4B2/R02djqcOl3Kfllei/CeI P2/Vn0hG5r95GQ/ALrtY/GwepQwfboxYa9DHJXB2EWQCVynHn8KiM0IjVn6/DipMKR+ffX lOxQM26G+5GlmErQkHSmCPznEyuE3KcxJ3LU3RMxMMGeTyNUjC6Azrao92ty3RmOqWyVzK XBcLuJIZXuPTvdQuOKV1qZvNs7iuBWaLN9HdUQl5PNUHGw3b1MfyCVcTC9CpWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=BQ948Qn4; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717727884; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=nA21UY9MSpPw2HPnJUL+bEHYpRrYCGlc35nd7PeQJ/E=; b=LKj7XFG+KKikmCQDMdI5uaZ3tN2y7Sx/g/dbAEyzZQn1t8CSWYIwVlnWrpmsw4XBh+iJT8 WpDoVIRVIPA4CQlrPetypjQy4opc/rPmClcM1vMKeHKvSp/g7GefkIde6b4gUiiQ2WIA+o exjMS71OupYtr20wZQCRpMS1TpCqZC5xjK/WtRKax0N9i9zfoSDeDV2E0OXjWVQAkNrlgT /4P2PiE5PwV0DGy5IQ2usZQGHxibW1mL+9fGKnBE5NzzaF7FE0AT45n3x5XU5nGbV4FLva TJlTDQoXJOFqeA/pxxR83JWMIOxykyhUeztWzY8etA+euyRUtBYATlpVZPT5Wg== 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 84C436722F for ; Fri, 7 Jun 2024 04:38:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFPUD-0007yy-NP; Thu, 06 Jun 2024 22:37:49 -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 1sFPUB-0007y5-Q6 for guix-patches@gnu.org; Thu, 06 Jun 2024 22:37:47 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFPUB-00010K-I8 for guix-patches@gnu.org; Thu, 06 Jun 2024 22:37:47 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFPUP-0005oz-Sh for guix-patches@gnu.org; Thu, 06 Jun 2024 22:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71403] [PATCH v2] gnu: Add libinput-gestures. References: <686648def1516cc739f7fabe771f4c92c0f5afc5.1717727224.git.kiasoc5@disroot.org> In-Reply-To: <686648def1516cc739f7fabe771f4c92c0f5afc5.1717727224.git.kiasoc5@disroot.org> Resent-From: kiasoc5 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 07 Jun 2024 02:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71403 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71403@debbugs.gnu.org Cc: kiasoc5 Received: via spool by 71403-submit@debbugs.gnu.org id=B71403.171772784622280 (code B ref 71403); Fri, 07 Jun 2024 02:38:01 +0000 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) 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== Date: Thu, 6 Jun 2024 22:35:54 -0400 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-to: kiasoc5 X-ACL-Warn: , kiasoc5 via Guix-patches From: kiasoc5 via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 84C436722F X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.34 X-Spam-Score: -6.34 X-TUID: EawzpyPakloa 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