From nobody Thu May 16 09:59:58 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vg5Db2j1sz5KyTL; Thu, 16 May 2024 09:59:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vg5Db0m6Tz4Ymh; Thu, 16 May 2024 09:59:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715853599; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5hryFgGc1EPVCoXrMfQcNPr76olhl7ymuLBNL3aM+JY=; b=VFZAOBmx0Ngikhf54WHN9ascYahk9xcY3qHjgZvrB3Mi8Lg2BBmv97CptgGTUOTBJ7qq8n Q+IblePhdWlufshfypmeOEzak2J/XpN38N9QtAJEvEH9J2jFVA5EEISMmwcn4SPgnKVBqT lac5FwpGymH25vbSdm7RbbAf83m9DYECMrnxELduQwzmxmxSnHCWL93TeSI9c+TvOgvtkV JeJiY+QQnIgurGpSCYMBoFewFUa2NfZEM7sb4eFU80/postqjdzSzwpW99ZYP/PXr3OEFb +DGDHOftEyWTjJj2NWUQQ26UZh57ksrFXGjffH8HsNKEtUjFHpWXEqAu2RRvqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715853599; a=rsa-sha256; cv=none; b=wHWpzqooyFia71JCwq4Gu9z/L0LfoDkDrpNjUXTMVHWzCqPvH/bREd6QHJOEg/av0RNbgh SHmpi9iCQnMH+jgsNXjYKUWi+ueqP4fzigvvP52n3K3RNehJZ4njzrh6qpvAxN6GX6oSjr Oqo2vOOH91o5ZAdN3uI2M3IOUYQuO/x4lLU3NX6kOk3VGTCv+61TqLLd8pJPizpQ0ck5On Zy5Dz3S9wHEYmAkt/D9i86WubRpxT+sSt3U+IHYvI4bgDPGAf2+QclnUoANQtb4/symT4j fQU4aHOW+GUr2qY5xiP/4e6TGQMYQ5zddBPVtUyyHvhzberFlKtZXNQK9W6h8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715853599; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5hryFgGc1EPVCoXrMfQcNPr76olhl7ymuLBNL3aM+JY=; b=PekJZDyzonMAGradHlO76sVtJMGPZuC/crJaY7b06cGbZLaA3w3zdAGfRKADStmx7MX80z NPIHX0bi4CtcRzHgvcxYBQHJ8DkN87xc6ItO5sPZsZrKbswx5tNVXVOxm/dMj84+bV18ut ov6PrUuCTarS5NJ0O2zn5ySaK+875KWtR/UKz9Q6YvvGWHKQfCx17HZxwtePJDrMIA23Y8 Tco1g4qJtjK/jrBqtMnrtQ6eKLdkXn2NvHnoyMuu57jeXTa0dGvjmT/aQmHVoUbIFk4gRa QFTmipsCMhyL/F3qYwIWPWul4TdcW8k2QRlesEb/91Nx+1/yMn4YWmnWY0x/cA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vg5Db0NQzzvB5; Thu, 16 May 2024 09:59:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44G9xwVO092279; Thu, 16 May 2024 09:59:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44G9xwJq092276; Thu, 16 May 2024 09:59:58 GMT (envelope-from git) Date: Thu, 16 May 2024 09:59:58 GMT Message-Id: <202405160959.44G9xwJq092276@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: af7cc3160470 - main - x11/wl-kbptr: add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: af7cc316047047a00c52908f721fb655b5e005f2 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=af7cc316047047a00c52908f721fb655b5e005f2 commit af7cc316047047a00c52908f721fb655b5e005f2 Author: Jan Beich AuthorDate: 2024-05-16 09:35:14 +0000 Commit: Jan Beich CommitDate: 2024-05-16 09:59:47 +0000 x11/wl-kbptr: add new port wl-kbptr -- short for Wayland Keyboard Pointer -- is a utility to help move the mouse pointer with the keyboard. It works in two phases: the screen is first in mapped with three letter labels and then the selected area is refined by bisecting it. At any point the cursor can be moved at the location marked by the red marker by pressing Enter or Space. A left, right and middle click can be made by pressing the g, h and b keys respectively. Note, your compositor needs to support the wlr-layer-shell-unstable-v1 and wlr-virtual-pointer-unstable-v1 protocols. https://github.com/moverest/wl-kbptr --- x11/Makefile | 1 + x11/wl-kbptr/Makefile | 23 +++++++++++++++++++++++ x11/wl-kbptr/distinfo | 3 +++ x11/wl-kbptr/pkg-descr | 11 +++++++++++ 4 files changed, 38 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index c3a9429521b5..a8b6b5868eef 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -466,6 +466,7 @@ SUBDIR += wf-shell SUBDIR += windowtolayer SUBDIR += wl-clipboard + SUBDIR += wl-kbptr SUBDIR += wl-mirror SUBDIR += wlogout SUBDIR += wlopm diff --git a/x11/wl-kbptr/Makefile b/x11/wl-kbptr/Makefile new file mode 100644 index 000000000000..858428fb7a08 --- /dev/null +++ b/x11/wl-kbptr/Makefile @@ -0,0 +1,23 @@ +PORTNAME= wl-kbptr +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.0 +CATEGORIES= x11 wayland + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Control the mouse pointer with the keyboard on Wayland +WWW= https://github.com/moverest/wl-kbptr + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols +LIB_DEPENDS= libwayland-client.so:graphics/wayland \ + libxkbcommon.so:x11/libxkbcommon + +USES= compiler:c11 gnome meson pkgconfig +USE_GITHUB= yes +USE_GNOME= cairo +GH_ACCOUNT= moverest +PLIST_FILES= bin/${PORTNAME} + +.include diff --git a/x11/wl-kbptr/distinfo b/x11/wl-kbptr/distinfo new file mode 100644 index 000000000000..f5a4453c3102 --- /dev/null +++ b/x11/wl-kbptr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1693353722 +SHA256 (moverest-wl-kbptr-v0.2.0_GH0.tar.gz) = 5d92d3217e7c77050fdd95f6602ffee3ae384f374400d95167adc721c37eba98 +SIZE (moverest-wl-kbptr-v0.2.0_GH0.tar.gz) = 36384 diff --git a/x11/wl-kbptr/pkg-descr b/x11/wl-kbptr/pkg-descr new file mode 100644 index 000000000000..c446432fd179 --- /dev/null +++ b/x11/wl-kbptr/pkg-descr @@ -0,0 +1,11 @@ +wl-kbptr -- short for Wayland Keyboard Pointer -- is a utility to help +move the mouse pointer with the keyboard. + +It works in two phases: the screen is first in mapped with three +letter labels and then the selected area is refined by bisecting +it. At any point the cursor can be moved at the location marked by the +red marker by pressing Enter or Space. A left, right and middle click +can be made by pressing the g, h and b keys respectively. + +Note, your compositor needs to support the wlr-layer-shell-unstable-v1 +and wlr-virtual-pointer-unstable-v1 protocols.