Bug 114628 - New port: sysutils/usbhotkey A utility to remap USB keyboards under X11
Summary: New port: sysutils/usbhotkey A utility to remap USB keyboards under X11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-16 12:00 UTC by ntarmos
Modified: 2007-07-28 11:00 UTC (History)
0 users

See Also:


Attachments
usbhotkey.shar (2.51 KB, text/plain)
2007-07-16 12:00 UTC, ntarmos
no flags Details
usbhotkey.shar (2.85 KB, application/x-shar)
2007-07-24 15:32 UTC, ntarmos
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ntarmos 2007-07-16 12:00:09 UTC
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/
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2007-07-16 12:31:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lwhsu

I'll take it.
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2007-07-22 15:44:07 UTC
State Changed
From-To: open->feedback

Ask for submitter approval about fixing missed LIB_DEPENDS.
Comment 3 ntarmos 2007-07-23 14:55:52 UTC
On Sun, Jul 22, 2007 at 02:44:08PM +0000, lwhsu@FreeBSD.org wrote:
> State-Changed-Why: 
> Ask for submitter approval about fixing missed LIB_DEPENDS.

If you mean devel/libhid, that's in ports/114627. I'm not aware of any
other library dependencies for this port (at least not of any not in
devel/libhid's dependency list).

\n\n
Comment 4 Li-Wen Hsu freebsd_committer freebsd_triage 2007-07-23 15:35:33 UTC
On Mon, Jul 23, 2007 at 16:55:52 +0300, Nikos Ntarmos wrote:
> On Sun, Jul 22, 2007 at 02:44:08PM +0000, lwhsu@FreeBSD.org wrote:
> > State-Changed-Why: 
> > Ask for submitter approval about fixing missed LIB_DEPENDS.
> 
> If you mean devel/libhid, that's in ports/114627. I'm not aware of any
> other library dependencies for this port (at least not of any not in
> devel/libhid's dependency list).


No, I meant Imlib, check out this log:

http://lucky7.cs.nctu.edu.tw/tb/errors/6.x-FreeBSD/usbhotkey-0.2.log

It seems that we have to add Imlib.5:${PORTSDIR}/graphics/imlib into
LIB_DEPENDS to make it buildable.

-- 
Best Regards,
Li-Wen Hsu
Comment 5 ntarmos 2007-07-23 18:16:54 UTC
On Mon, Jul 23, 2007 at 10:35:33PM +0800, Li-Wen Hsu wrote:
> On Mon, Jul 23, 2007 at 16:55:52 +0300, Nikos Ntarmos wrote:
> > On Sun, Jul 22, 2007 at 02:44:08PM +0000, lwhsu@FreeBSD.org wrote:
> > > State-Changed-Why: 
> > > Ask for submitter approval about fixing missed LIB_DEPENDS.
> > 
> > If you mean devel/libhid, that's in ports/114627. I'm not aware of any
> > other library dependencies for this port (at least not of any not in
> > devel/libhid's dependency list).
> 
> No, I meant Imlib, check out this log:
> 
> http://lucky7.cs.nctu.edu.tw/tb/errors/6.x-FreeBSD/usbhotkey-0.2.log
> 
> It seems that we have to add Imlib.5:${PORTSDIR}/graphics/imlib into
> LIB_DEPENDS to make it buildable.

Ok. Just spotted that one. Imlib is mentioned as 'optional' on the
software's home page so I didn't test the package without imlib or X11
installed on the target system, assuming the configure script detects
that and turns that portion off (instead of failing). I suggest adding
Imlib and libXtst to the LIB_DEPENDS for this package and creating a
sysutils/usbhotkey-nogui with '--without-Imlib' added to
CONFIGURE_ARGS. Is that ok with you?

\n\n
Comment 6 ntarmos 2007-07-24 15:32:26 UTC
Hi again.

I added an OPTION to turn the Imlib dependency on or off. Please use the
attached shar (which also has the Xtst lib dependency missing in the
previous one).

\n\n
Comment 7 Li-Wen Hsu freebsd_committer freebsd_triage 2007-07-24 21:26:48 UTC
State Changed
From-To: feedback->open

Feedback received.
Comment 8 dfilter service freebsd_committer freebsd_triage 2007-07-28 10:56:21 UTC
lwhsu       2007-07-28 09:56:18 UTC

  FreeBSD ports repository

  Modified files:
    sysutils             Makefile 
  Added files:
    sysutils/usbhotkey   Makefile distinfo pkg-descr pkg-plist 
  Log:
  Add usbhotkey 0.2, a utility to remap USB keyboards under X11.
  
  PR:             ports/114628
  Submitted by:   ntarmos at ceid.upatras.gr
  
  Revision  Changes    Path
  1.932     +1 -0      ports/sysutils/Makefile
  1.1       +36 -0     ports/sysutils/usbhotkey/Makefile (new)
  1.1       +3 -0      ports/sysutils/usbhotkey/distinfo (new)
  1.1       +7 -0      ports/sysutils/usbhotkey/pkg-descr (new)
  1.1       +14 -0     ports/sysutils/usbhotkey/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 9 Li-Wen Hsu freebsd_committer freebsd_triage 2007-07-28 10:56:48 UTC
State Changed
From-To: open->closed

New port added. Thanks!