From: Rene Saavedra via Guix-patches via <guix-patches@gnu.org>
To: 55235@debbugs.gnu.org
Subject: [bug#55235] [PATCH] gnu: Add touchegg.
Date: Tue, 03 May 2022 01:01:03 +0000 [thread overview]
Message-ID: <L6NN4nckg3RjiT_mmJGG2L3bRKBOeJijnKl_GAG7jHoCPggBAc7ZkMrbjFMX4tOd7l2-Jvyk_8CaOpvNwDLmvJZC5GBkisJz1CjBEmmmbNE=@protonmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 135 bytes --]
hello,
I share this package, I think (gnu/packages/toys.scm), it is a good place to live; but i can change it.
Cheers
--
Rene
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-touchegg.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-touchegg.patch, Size: 3282 bytes --]
From 655752f753facd039baae62ac06f9f55d8c50b1c Mon Sep 17 00:00:00 2001
From: Rene Saavedra <nanuui@protonmail.com>
Date: Mon, 2 May 2022 19:50:37 -0500
Subject: [PATCH] gnu: Add touchegg.
* gnu/packages/toys.scm (touchegg): New variable.
---
gnu/packages/toys.scm | 52 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index 09426fe6fa..a3b127444c 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2019, 2020, 2021 Timotej Lazar <timotej.lazar@araneo.si>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2022 Rene Saavedra <nanuui@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24,6 +25,8 @@ (define-module (gnu packages toys)
#:use-module (gnu packages)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
+ #:use-module (gnu packages freedesktop)
+ #:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages man)
#:use-module (gnu packages ncurses)
@@ -32,6 +35,7 @@ (define-module (gnu packages toys)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system cmake)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
@@ -331,3 +335,51 @@ (define-public cbonsai
(description "Cbonsai is a bonsai tree generator using ASCII art. It
creates, colors, and positions a bonsai tree, and is configurable.")
(license license:gpl3+)))
+
+(define-public touchegg
+ (package
+ (name "touchegg")
+ (version "2.0.14")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JoseExposito/touchegg")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0shvslz0c8nqx5f988z55qjc9xw0in9rb7b19r6vr1f7cdkqb6yr"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ; No tests exist
+ #:configure-flags
+ (list "-DUSE_SYSTEMD=OFF") ; No systemd
+ #:phases
+ (modify-phases %standard-phases
+ ;; gnome-shell launch touchegg binary on startup and
+ ;; touchegg requires root privileges for proper functioning.
+ (add-after 'unpack 'disable-autostart
+ (lambda _
+ (substitute* "installation/touchegg.desktop"
+ (("Exec=touchegg")
+ "Exec=false")))))))
+ (native-inputs
+ (list
+ pkg-config))
+ (inputs
+ (list
+ cairo
+ gtk+
+ libgudev
+ libinput
+ libxrandr
+ libxtst
+ pugixml))
+ (home-page "https://github.com/JoseExposito/touchegg")
+ (synopsis "Linux multi-touch gesture recognizer")
+ (description
+ "Touchégg is an application that runs in the background and transform the
+gestures you make on your touchpad or touchscreen into visible actions in your
+desktop. Touchégg only works on X11 and use libinput to communicate with
+hardware.")
+ (license license:gpl3+)))
--
2.34.0
next reply other threads:[~2022-05-03 1:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-03 1:01 Rene Saavedra via Guix-patches via [this message]
2022-05-04 13:51 ` [bug#55235] [PATCH] gnu: Add touchegg Maxime Devos
2022-05-07 21:53 ` Rene Saavedra via Guix-patches via
2022-05-08 10:58 ` Maxime Devos
2022-05-15 15:46 ` Rene Saavedra via Guix-patches via
2022-05-18 22:24 ` Rene Saavedra via Guix-patches via
2022-05-20 18:39 ` Rene Saavedra via Guix-patches via
2022-06-04 15:56 ` bug#55235: " Julien Lepiller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='L6NN4nckg3RjiT_mmJGG2L3bRKBOeJijnKl_GAG7jHoCPggBAc7ZkMrbjFMX4tOd7l2-Jvyk_8CaOpvNwDLmvJZC5GBkisJz1CjBEmmmbNE=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=55235@debbugs.gnu.org \
--cc=nanuui@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).