ports/114628: New port: sysutils/usbhotkey A utility to remap USB keyboards under X11
Nikos Ntarmos
ntarmos at ceid.upatras.gr
Mon Jul 16 11:00:10 UTC 2007
>Number: 114628
>Category: ports
>Synopsis: New port: sysutils/usbhotkey A utility to remap USB keyboards under X11
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 16 11:00:09 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Nikos Ntarmos
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
NetCInS Lab., C.E.I.D., U. of Patras, Greece
>Environment:
System: FreeBSD ace.b020.ceid.upatras.gr 7.0-CURRENT FreeBSD 7.0-CURRENT #4: Fri Jul 13 06:50:30 EEST 2007 ntarmos at ace.b020.ceid.upatras.gr:/opt/obj/opt/src/sys/ACE i386
>Description:
USBHotkey allows you to catch USB keyboard events (key press and release
events) and transform them into X11 keyboard events using a ruby script.
This provides a mechanism for creating keymaps that can be more
complicated than the standard table-based keymap approach of X11.
WWW: http://usbhotkey.sourceforge.net/
>How-To-Repeat:
>Fix:
--- usbhotkey.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# usbhotkey
# usbhotkey/Makefile
# usbhotkey/distinfo
# usbhotkey/pkg-descr
# usbhotkey/pkg-plist
#
echo c - usbhotkey
mkdir -p usbhotkey > /dev/null 2>&1
echo x - usbhotkey/Makefile
sed 's/^X//' >usbhotkey/Makefile << 'END-of-usbhotkey/Makefile'
X# New ports collection makefile for: usbhotkey
X# Date created: 16 July 2007
X# Whom: ntarmos at ceid.upatras.gr
X#
X# $FreeBSD$
X#
X
XPORTNAME= usbhotkey
XPORTVERSION= 0.2
XCATEGORIES= sysutils
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= usbhotkey
X
XMAINTAINER= ntarmos at ceid.upatras.gr
XCOMMENT= A utility to remap USB keyboards under X11
X
XUSE_RUBY= yes
XLIB_DEPENDS= hid.0:${PORTSDIR}/devel/libhid
X
XUSE_GMAKE= yes
XHAS_CONFIGURE= yes
XCONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" \
X LDFLAGS="${LDFLAGS} -L${X11BASE}/lib -L${LOCALBASE}/lib"
X
X.include <bsd.port.mk>
END-of-usbhotkey/Makefile
echo x - usbhotkey/distinfo
sed 's/^X//' >usbhotkey/distinfo << 'END-of-usbhotkey/distinfo'
XMD5 (usbhotkey-0.2.tar.gz) = 665583928c1bd9d422e5b514780733c5
XSHA256 (usbhotkey-0.2.tar.gz) = c5a917cbbdb664c63f4e0df84d1e4881e06289c6a2143f9c76d873936e4738e7
XSIZE (usbhotkey-0.2.tar.gz) = 197756
END-of-usbhotkey/distinfo
echo x - usbhotkey/pkg-descr
sed 's/^X//' >usbhotkey/pkg-descr << 'END-of-usbhotkey/pkg-descr'
XUSBHotkey allows you to catch USB keyboard events (key press and release
Xevents) and transform them into X11 keyboard events using a ruby script.
XThis provides a mechanism for creating keymaps that can be more
Xcomplicated than the standard table-based keymap approach of X11.
X
X
XWWW: http://usbhotkey.sourceforge.net/
END-of-usbhotkey/pkg-descr
echo x - usbhotkey/pkg-plist
sed 's/^X//' >usbhotkey/pkg-plist << 'END-of-usbhotkey/pkg-plist'
Xshare/usbhotkey-0.2/X11_keycodes.rb
Xshare/usbhotkey-0.2/ag5/level0.png
Xshare/usbhotkey-0.2/ag5/level1.png
Xshare/usbhotkey-0.2/ag5/level2.png
Xshare/usbhotkey-0.2/ag5/level3.png
Xshare/usbhotkey-0.2/ag5/level4.png
Xshare/usbhotkey-0.2/ag5/level5.png
Xshare/usbhotkey-0.2/ag5/level6.png
Xshare/usbhotkey-0.2/ag5/level7.png
Xshare/usbhotkey-0.2/ag5-3colors.rb
Xshare/usbhotkey-0.2/ag5-replicate-colours.rb
Xbin/usbhotkey
X at dirrm share/usbhotkey-0.2/ag5
X at dirrm share/usbhotkey-0.2
END-of-usbhotkey/pkg-plist
exit
--- usbhotkey.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list