Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2007 13:50:03 +0300 (EEST)
From:      Nikos Ntarmos <ntarmos@ceid.upatras.gr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/114627: New port: devel/libhid A user-space HID access library written in C
Message-ID:  <20070716105003.8E4EC3F449@ace.b020.ceid.upatras.gr>
Resent-Message-ID: <200707161100.l6GB095I016333@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         114627
>Category:       ports
>Synopsis:       New port: devel/libhid A user-space HID access library written in C
>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:08 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@ace.b020.ceid.upatras.gr:/opt/obj/opt/src/sys/ACE i386


	
>Description:
LibHID is a user-space HID access library written in C. It provides a
generic and flexible way to access and interact with USB HID devices,
much like libusb does for plain USB devices. It is based on libusb, thus
it requires no HID support in the kernel. Furthermore, it aims to
support all operating system supported by libusb: Linux, BSD, OS X, and
Windows.


WWW: http://libhid.alioth.debian.org/
	
>How-To-Repeat:
	
>Fix:

	

--- libhid.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:
#
#	libhid
#	libhid/Makefile
#	libhid/distinfo
#	libhid/files
#	libhid/files/patch-hidparser-hidtypes.h
#	libhid/files/patch-Makefile.in
#	libhid/pkg-descr
#	libhid/pkg-plist
#
echo c - libhid
mkdir -p libhid > /dev/null 2>&1
echo x - libhid/Makefile
sed 's/^X//' >libhid/Makefile << 'END-of-libhid/Makefile'
X# New ports collection makefile for:   libhid
X# Date created:        16 July 2007
X# Whom:                ntarmos@ceid.upatras.gr
X#
X# $FreeBSD$
X#
X
XPORTNAME=		libhid
XPORTVERSION=		0.2.16
XCATEGORIES=		devel
XMASTER_SITES=		http://alioth.debian.org/frs/download.php/1958/
X
XMAINTAINER=		ntarmos@ceid.upatras.gr
XCOMMENT=		A user-space HID access library written in C
X
XMAN1=			libhid-detach-device.1
XMANCOMPRESSED=		no
XUSE_LDCONFIG=		yes
X
XLIB_DEPENDS+=		usb-0.1.8:${PORTSDIR}/devel/libusb
XBUILD_DEPENDS+=		${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \
X	${LOCALBASE}/share/xsl/docbook/html:${PORTSDIR}/textproc/docbook-xsl
X
XHAS_CONFIGURE=		yes
XCONFIGURE_ARGS+=	--mandir=${MANPREFIX}/man
X
X.include <bsd.port.mk>
END-of-libhid/Makefile
echo x - libhid/distinfo
sed 's/^X//' >libhid/distinfo << 'END-of-libhid/distinfo'
XMD5 (libhid-0.2.16.tar.gz) = f2a427a6d6b98a5db8d17e2777173af7
XSHA256 (libhid-0.2.16.tar.gz) = f6809ab3b9c907cbb05ceba9ee6ca23a705f85fd71588518e14b3a7d9f2550e5
XSIZE (libhid-0.2.16.tar.gz) = 435245
END-of-libhid/distinfo
echo c - libhid/files
mkdir -p libhid/files > /dev/null 2>&1
echo x - libhid/files/patch-hidparser-hidtypes.h
sed 's/^X//' >libhid/files/patch-hidparser-hidtypes.h << 'END-of-libhid/files/patch-hidparser-hidtypes.h'
X--- hidparser/hidtypes.h.orig	2007-07-16 12:21:55.000000000 +0300
X+++ hidparser/hidtypes.h	2007-07-16 12:22:04.000000000 +0300
X@@ -21,7 +21,7 @@
X typedef unsigned char  uchar;
X #endif
X 
X-#if HPUX || __APPLE__
X+#if HPUX || __APPLE__ || __FreeBSD__
X typedef unsigned long  ulong;
X #endif
X 
END-of-libhid/files/patch-hidparser-hidtypes.h
echo x - libhid/files/patch-Makefile.in
sed 's/^X//' >libhid/files/patch-Makefile.in << 'END-of-libhid/files/patch-Makefile.in'
X--- Makefile.in.orig	2007-07-16 13:40:13.000000000 +0300
X+++ Makefile.in	2007-07-16 13:41:37.000000000 +0300
X@@ -273,7 +273,7 @@
X 	include/compiler.h \
X 	include/os.h
X 
X-pkgconfigdir = $(libdir)/pkgconfig
X+pkgconfigdir = $(prefix)/libdata/pkgconfig
X pkgconfig_DATA = pkgconfig/libhid.pc
X dist_noinst_DATA = \
X 	debian/changelog \
END-of-libhid/files/patch-Makefile.in
echo x - libhid/pkg-descr
sed 's/^X//' >libhid/pkg-descr << 'END-of-libhid/pkg-descr'
XLibHID is a user-space HID access library written in C. It provides a
Xgeneric and flexible way to access and interact with USB HID devices,
Xmuch like libusb does for plain USB devices. It is based on libusb, thus
Xit requires no HID support in the kernel. Furthermore, it aims to
Xsupport all operating system supported by libusb: Linux, BSD, OS X, and
XWindows.
X
X
XWWW: http://libhid.alioth.debian.org/
END-of-libhid/pkg-descr
echo x - libhid/pkg-plist
sed 's/^X//' >libhid/pkg-plist << 'END-of-libhid/pkg-plist'
Xbin/libhid-detach-device
Xinclude/hid.h
Xinclude/hidparser.h
Xinclude/hidtypes.h
Xlib/libhid.a
Xlib/libhid.la
Xlib/libhid.so
Xlib/libhid.so.0
Xlibdata/pkgconfig/libhid.pc
END-of-libhid/pkg-plist
exit
--- libhid.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070716105003.8E4EC3F449>