sysutils/keyd: update to 2.4.0

Changes:	https://github.com/rvaiya/keyd/compare/v1.3.0...v2.4.0
Reported by:	portscout
This commit is contained in:
Jan Beich
2022-04-20 01:41:49 +00:00
parent 4a9aa49f6c
commit eb0c36ff34
5 changed files with 43 additions and 24 deletions

2
GIDs
View File

@@ -810,7 +810,7 @@ opensearch:*:855:
# free: 866 # free: 866
# free: 867 # free: 867
# free: 868 # free: 868
# free: 869 keyd:*:869:
buildbot:*:870: buildbot:*:870:
# free: 871 # free: 871
bitmark:*:872: bitmark:*:872:

1
UIDs
View File

@@ -816,6 +816,7 @@ opensearch:*:855:855::0:0:opensearch user:/nonexistent:/usr/sbin/nologin
# free: 867 # free: 867
# free: 868 # free: 868
# free: 869 # free: 869
keyd:*:869:869::0:0:Key remapping daemon for evdev:/nonexistent:/usr/sbin/nologin
buildbot:*:870:870::0:0:Buildbot user:/var/db/buildbot:/usr/sbin/nologin buildbot:*:870:870::0:0:Buildbot user:/var/db/buildbot:/usr/sbin/nologin
archiva:*:871:871::0:0:Apache Archiva Daemon:/nonexistent:/usr/sbin/nologin archiva:*:871:871::0:0:Apache Archiva Daemon:/nonexistent:/usr/sbin/nologin
bitmark:*:872:872::0:0:Bitmark Property System:/var/lib/bitmarkd:/usr/sbin/nologin bitmark:*:872:872::0:0:Bitmark Property System:/var/lib/bitmarkd:/usr/sbin/nologin

View File

@@ -1,40 +1,54 @@
PORTNAME= keyd PORTNAME= keyd
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 1.3.0 DISTVERSION= 2.4.0
CATEGORIES= sysutils CATEGORIES= sysutils
MAINTAINER= jbeich@FreeBSD.org MAINTAINER= jbeich@FreeBSD.org
COMMENT= Key remapping daemon for evdev COMMENT= Key remapping daemon for evdev
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto
LIB_DEPENDS= libudev.so:devel/libudev-devd LIB_DEPENDS= libinotify.so:devel/libinotify
LICENSE= MIT LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake python:env shebangfix
USE_GITHUB= yes USE_GITHUB= yes
USE_RC_SUBR= ${PORTNAME} USE_RC_SUBR= ${PORTNAME}
GH_ACCOUNT= rvaiya GH_ACCOUNT= rvaiya
SHEBANG_FILES= scripts/*
MAKE_ARGS= DESTDIR="${DESTDIR}" PREFIX="${PREFIX}" \ MAKE_ARGS= DESTDIR="${DESTDIR}" PREFIX="${PREFIX}" \
GIT_HASH="${DISTVERSIONFULL}" GIT_HASH="${DISTVERSIONFULL}"
PLIST_FILES= bin/${PORTNAME} \ PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz \ bin/${PORTNAME}-application-mapper \
"@dir ${ETCDIR}" ${ETCDIR}/${PORTNAME}.compose
PORTDOCS= *
PORTEXAMPLES= *
USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES MANPAGES
OPTIONS_DEFAULT=MANPAGES
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
MANPAGES_ALL_TARGET= all man
MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz \
share/man/man1/${PORTNAME}-application-mapper.1.gz \
post-patch: post-patch:
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ @${REINPLACE_CMD} -e 's,/etc,$$(PREFIX)&,' \
-e 's,/var/lock,/var/run,' \
-e 's,/usr/local,${LOCALBASE},' \ -e 's,/usr/local,${LOCALBASE},' \
-e '/systemd/d' \ -e 's,${DOCSDIR_REL}/examples,${EXAMPLESDIR_REL},' \
-e '/^CFLAGS/s/=/+=/' \
-e '/-l/s/$$/ $$(LDFLAGS)/' \
-e 's/ -O3//' \ -e 's/ -O3//' \
${WRKSRC}/Makefile ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,/usr,${PREFIX}&,' \
-e 's,/etc,${PREFIX}&,' \
${WRKSRC}/docs/*.scdoc \
${WRKSRC}/examples/*.conf \
${WRKSRC}/src/${PORTNAME}.c
# https://lists.freebsd.org/pipermail/freebsd-x11/2019-March/023097.html # https://lists.freebsd.org/pipermail/freebsd-x11/2019-March/023097.html
@${REINPLACE_CMD} -e 's,__FreeBSD,&_disabled,' \ @${REINPLACE_CMD} -e 's,__FreeBSD,&_disabled,' \
${WRKSRC}/src/config.h \ ${WRKSRC}/src/vkbd/uinput.c
${WRKSRC}/src/keys.h \
${WRKSRC}/src/main.c \
${NULL}
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@@ -1,3 +1,3 @@
TIMESTAMP = 1637913336 TIMESTAMP = 1650418909
SHA256 (rvaiya-keyd-v1.3.0_GH0.tar.gz) = 9b2195e69f407f08b9aa377d0bca2cd877c5aa9d67a606b81194941ff4ee8b11 SHA256 (rvaiya-keyd-v2.4.0_GH0.tar.gz) = 100007894ac4fa6e95f5de5c2fe992c8b00e68d9df76c4bcdd8402a29d7b4058
SIZE (rvaiya-keyd-v1.3.0_GH0.tar.gz) = 30789 SIZE (rvaiya-keyd-v2.4.0_GH0.tar.gz) = 625319

View File

@@ -1,12 +1,16 @@
keyd has several unique features many of which are traditionally only keyd has several unique features many of which are traditionally only
found in custom keyboard firmware like QMK. Some of the more found in custom keyboard firmware like QMK as well as some which are
interesting ones include: unique to keyd. Some of the more interesting ones include:
- Layers. - Layers (with support for hybrid modifiers).
- Key overloading (different behaviour on tap/hold). - Key overloading (different behaviour on tap/hold).
- Per keyboard configuration. - Keyboard specific configuration.
- Instantaneous remapping (no flashing required). - Instantaneous remapping (no more flashing :)).
- A simple and intuitive config format. - A client-server model that facilitates scripting and display server
- Being display server agnostic (works on wayland and virtual console alike). agnostic application remapping. (Currently ships with support for X,
sway, and gnome).
- System wide config (works in a VT).
- First class support for modifier overloading.
- Unicode support.
WWW: https://github.com/rvaiya/keyd WWW: https://github.com/rvaiya/keyd