svn commit: r529804 - in head/x11: . wshowkeys wshowkeys/files
Jan Beich
jbeich at FreeBSD.org
Sun Mar 29 15:05:37 UTC 2020
Author: jbeich
Date: Sun Mar 29 15:00:21 2020
New Revision: 529804
URL: https://svnweb.freebsd.org/changeset/ports/529804
Log:
x11/wshowkeys: add new port
Displays keypresses on screen on supported Wayland compositors
(requires wlr_layer_shell_v1 support).
https://git.sr.ht/~sircmpwn/wshowkeys
Added:
head/x11/wshowkeys/
head/x11/wshowkeys/Makefile (contents, props changed)
head/x11/wshowkeys/distinfo (contents, props changed)
head/x11/wshowkeys/files/
head/x11/wshowkeys/files/patch-devmgr.c (contents, props changed)
head/x11/wshowkeys/pkg-descr (contents, props changed)
Modified:
head/x11/Makefile (contents, props changed)
Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile Sun Mar 29 14:57:46 2020 (r529803)
+++ head/x11/Makefile Sun Mar 29 15:00:21 2020 (r529804)
@@ -353,6 +353,7 @@
SUBDIR += wmxss
SUBDIR += wofi
SUBDIR += workrave
+ SUBDIR += wshowkeys
SUBDIR += x11perf
SUBDIR += x3270
SUBDIR += xaniroc
Added: head/x11/wshowkeys/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/wshowkeys/Makefile Sun Mar 29 15:00:21 2020 (r529804)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= wshowkeys
+PORTVERSION= s20190925
+DISTVERSIONSUFFIX= -0-ga9bf6bc
+CATEGORIES= x11
+MASTER_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+
+MAINTAINER= jbeich at FreeBSD.org
+COMMENT= Display keystrokes for screencasts on Wayland
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
+LIB_DEPENDS= libudev.so:devel/libudev-devd \
+ libwayland-client.so:graphics/wayland \
+ libinput.so:x11/libinput \
+ libxkbcommon.so:x11/libxkbcommon
+
+USES= compiler:c11 gnome meson pkgconfig
+USE_GNOME= cairo pango
+PLIST_FILES= "@(,,4755) bin/${PORTNAME}"
+
+.include <bsd.port.mk>
Added: head/x11/wshowkeys/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/wshowkeys/distinfo Sun Mar 29 15:00:21 2020 (r529804)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1569466088
+SHA256 (wshowkeys-s20190925-0-ga9bf6bc.tar.gz) = 11f1428bd85d9670e9cbd4473b4d1b3de7e6a232400df178aac830b9157bb137
+SIZE (wshowkeys-s20190925-0-ga9bf6bc.tar.gz) = 26678
Added: head/x11/wshowkeys/files/patch-devmgr.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/wshowkeys/files/patch-devmgr.c Sun Mar 29 15:00:21 2020 (r529804)
@@ -0,0 +1,14 @@
+https://lists.sr.ht/~sircmpwn/public-inbox/patches/10091
+
+--- devmgr.c.orig 2019-09-26 02:48:08 UTC
++++ devmgr.c
+@@ -4,6 +4,9 @@
+ *
+ * NOTICE: Most of this code runs as root.
+ */
++#ifdef __FreeBSD__
++#define __BSD_VISIBLE 1
++#endif
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <libinput.h>
Added: head/x11/wshowkeys/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/wshowkeys/pkg-descr Sun Mar 29 15:00:21 2020 (r529804)
@@ -0,0 +1,4 @@
+Displays keypresses on screen on supported Wayland compositors
+(requires wlr_layer_shell_v1 support).
+
+WWW: https://git.sr.ht/~sircmpwn/wshowkeys
More information about the svn-ports-head
mailing list