GNU bug report logs - #46015
[PATCH] Add xkeysnail.

Previous Next

Package: guix-patches;

Reported by: Z572 <873216071 <at> qq.com>

Date: Thu, 21 Jan 2021 10:42:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> outlook.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46015 in the body.
You can then email your comments to 46015 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#46015; Package guix-patches. (Thu, 21 Jan 2021 10:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Z572 <873216071 <at> qq.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 21 Jan 2021 10:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Z572 <873216071 <at> qq.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] Add xkeysnail.
Date: Thu, 21 Jan 2021 18:40:27 +0800
[0001-gnu-Add-python-inotify-simple.patch (text/x-patch, attachment)]
[0002-gnu-Add-xkeysnail.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#46015; Package guix-patches. (Fri, 29 Jan 2021 11:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 46015 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Z572 <873216071 <at> qq.com>
Cc: 46015 <at> debbugs.gnu.org
Subject: Re: bug#46015: [PATCH] Add xkeysnail.
Date: Fri, 29 Jan 2021 12:03:51 +0100
Hi,

Z572 <873216071 <at> qq.com> skribis:

>>From c8ffb0e96851e5642fa872f5ffc20d9e56d30fb7 Mon Sep 17 00:00:00 2001
> From: Zheng Junjie <873216071 <at> qq.com>
> Date: Thu, 21 Jan 2021 18:36:16 +0800
> Subject: [PATCH 1/2] gnu: Add python-inotify-simple.
>
> ---
>  gnu/packages/python-xyz.scm | 33 ++++++++++++++++++++++++++++++++-
>  1 file changed, 32 insertions(+), 1 deletion(-)

Applied with a commit log and without the Python 2 variant (we no longer
add them).

>>From ff3e5c516f7cae4cff3037cde5d36d7f415727dd Mon Sep 17 00:00:00 2001
> From: Zheng Junjie <873216071 <at> qq.com>
> Date: Thu, 21 Jan 2021 18:37:33 +0800
> Subject: [PATCH 2/2] gnu: Add xkeysnail.
>
> ---
>  gnu/packages/xdisorg.scm | 31 ++++++++++++++++++++++++++++++-
>  1 file changed, 30 insertions(+), 1 deletion(-)

[...]

> +    (propagated-inputs
> +     `(("python-six" ,python-six)
> +       ("python-appdirs" ,python-appdirs)
> +       ("python-evdev" ,python-evdev)
> +       ("python-inotify-simple" ,python-inotify-simple)
> +       ("python-xlib" ,python-xlib)))

Please use ‘wrap-script’ around the ‘xkeysnail’ executable instead of
propagating inputs.  That way, installing xkeysnail won’t “pollute” the
user profile with all these Python libraries.

> +    (license license:gpl3)))

Is it version-3-only or version-3-or-any-later-version?

Could you send an updated patch?

Thanks,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#46015; Package guix-patches. (Fri, 29 Jan 2021 11:05:02 GMT) Full text and rfc822 format available.

Message #11 received at 46015 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Z572 <873216071 <at> qq.com>
Cc: 46015 <at> debbugs.gnu.org
Subject: Re: bug#46015: [PATCH] Add xkeysnail.
Date: Fri, 29 Jan 2021 12:04:42 +0100
Also, suggested synopsis/description, with full sentences:

    (synopsis "Keyboard remapping tool for the X11 environment")
    (description
     "Xkeysnail is an X environment keyboard remapping tool, featuring
high-level and flexible remapping mechanisms.  It affects the low-level
layers (evdev and uinput), making remapping work in almost all the places.")




Information forwarded to guix-patches <at> gnu.org:
bug#46015; Package guix-patches. (Fri, 29 Jan 2021 17:07:01 GMT) Full text and rfc822 format available.

Message #14 received at 46015 <at> debbugs.gnu.org (full text, mbox):

From: Z572 <873216071 <at> qq.com>
To: bug#46015 <46015 <at> debbugs.gnu.org>
Subject: Re: bug#46015: [PATCH] Add xkeysnail.
Date: Sat, 30 Jan 2021 01:05:48 +0800
[0001-gnu-Add-xkeysnail.patch (text/x-patch, attachment)]
From e1e02b411e6314ecb491fd0980fdfbb94b6466ff Mon Sep 17 00:00:00 2001
From: Zheng Junjie <873216071 <at> qq.com>
Date: Fri, 29 Jan 2021 23:06:25 +0800
Subject: [PATCH] gnu: Add xkeysnail.

* gnu/packages/xdisorg.scm (xkeysnail): New variable.
---
 gnu/packages/xdisorg.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 26660b8bfa..a08eae247a 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -42,7 +42,7 @@
 ;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared <at> gmail.com>
 ;;; Copyright © 2020 James Smith <jsubuntuxp <at> disroot.org>
 ;;; Copyright © 2020 B. Wilson <elaexuotee <at> wilsonb.com>
-;;; Copyright © 2020 Zheng Junjie <873216071 <at> qq.com>
+;;; Copyright © 2020, 2021 Zheng Junjie <873216071 <at> qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -326,6 +326,34 @@ application.")
   (home-page "https://hluk.github.io/CopyQ/")
   (license license:gpl3+)))
 
+(define-public xkeysnail
+  (package
+    (name "xkeysnail")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "xkeysnail" version))
+       (sha256
+        (base32
+         "1xyqp6yqxcwmxaqj86qcsiz0ly7bwr0a2w835myz909irhip3ngf"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))                    ;tests need /dev/uinput
+    (inputs
+     `(("python-appdirs" ,python-appdirs)
+       ("python-evdev" ,python-evdev)
+       ("python-inotify-simple" ,python-inotify-simple)
+       ("python-xlib" ,python-xlib)
+       ("python-six" ,python-six)))
+    (home-page "https://github.com/mooz/xkeysnail")
+    (synopsis "Keyboard remapping tool for the X11 environment")
+    (description
+     "Xkeysnail is an X environment keyboard remapping tool, featuring
+high-level and flexible remapping mechanisms.  It affects the low-level
+layers (evdev and uinput), making remapping work in almost all the places.")
+    (license license:gpl3+)))           ; see README.md (no licence headers)
+
 (define-public xclip
   (package
     (name "xclip")
-- 
2.30.0





Reply sent to 宋文武 <iyzsong <at> outlook.com>:
You have taken responsibility. (Fri, 12 Feb 2021 09:50:01 GMT) Full text and rfc822 format available.

Notification sent to Z572 <873216071 <at> qq.com>:
bug acknowledged by developer. (Fri, 12 Feb 2021 09:50:01 GMT) Full text and rfc822 format available.

Message #19 received at 46015-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> outlook.com>
To: Z572 <873216071 <at> qq.com>
Cc: bug#46015 <46015-done <at> debbugs.gnu.org>
Subject: Re: [bug#46015] [PATCH] Add xkeysnail.
Date: Fri, 12 Feb 2021 17:50:28 +0800
Z572 <873216071 <at> qq.com> writes:

> Subject: [PATCH] gnu: Add xkeysnail.

Pushed, thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 12 Mar 2021 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 43 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.