From 3247771a153dd376bcf8f21cf72be5f03491adc6 Mon Sep 17 00:00:00 2001 From: moksh Date: Wed, 8 Oct 2025 13:03:43 +0530 Subject: [PATCH] gnu: Add wl-kbptr. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xdisorg.scm (wl-kbptr): New variable. Change-Id: Ifa17686ddfe6a41e307fe1c4dcfaae6821cbfa44 Merges: https://codeberg.org/guix/guix/pulls/3390 Reviewed-by: Andrew Wong Signed-off-by: Nguyễn Gia Phong --- gnu/packages/xdisorg.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index ed4e6afca5..e5ba402551 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -74,6 +74,7 @@ ;;; Copyright © 2025 iamawacko ;;; Copyright © 2025 dan ;;; Copyright © 2025 Nicolas Graves +;;; Copyright © 2025 Untrusem ;;; Copyright © 2026 VnPower ;;; ;;; This file is part of GNU Guix. @@ -145,6 +146,7 @@ #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages image-processing) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages kde-utils) #:use-module (gnu packages libbsd) @@ -3308,6 +3310,36 @@ Wayland.") helper scripts for @code{xclip} and @code{xsel} to assist with the transition.") (license license:gpl3+))) +(define-public wl-kbptr + (package + (name "wl-kbptr") + (version "0.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moverest/wl-kbptr") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0fqgv4fbr7asf9chjk4wwbmqjgr6i8diac08vag122h934ph4hb7")))) + (build-system meson-build-system) + (arguments (list #:configure-flags #~'("-Dopencv=enabled"))) + (native-inputs (list pkg-config)) + (inputs (list gtk + libxkbcommon + opencv + pixman + wayland + wayland-protocols)) + (home-page "https://github.com/moverest/wl-kbptr") + (synopsis "Control the mouse pointer with the keyboard on Wayland") + (description + "This package provides a utility called @code{wl-kbptr} short for +Wayland Keyboard Pointer, to help move the mouse pointer with the +keyboard on Wayland.") + (license license:gpl3+))) + (define-public autocutsel (package (name "autocutsel")