From ntarmos@ceid.upatras.gr  Mon Jul 16 10:50:06 2007
Return-Path: <ntarmos@ceid.upatras.gr>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 4F98D16A400
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Jul 2007 10:50:06 +0000 (UTC)
	(envelope-from ntarmos@ceid.upatras.gr)
Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169])
	by mx1.freebsd.org (Postfix) with ESMTP id C420413C481
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Jul 2007 10:50:05 +0000 (UTC)
	(envelope-from ntarmos@ceid.upatras.gr)
Received: from mail.ceid.upatras.gr (unknown [10.1.0.143])
	by poseidon.ceid.upatras.gr (Postfix) with ESMTP id CC228EB46D4
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Jul 2007 13:50:03 +0300 (EEST)
Received: from localhost (europa.ceid.upatras.gr [127.0.0.1])
	by mail.ceid.upatras.gr (Postfix) with ESMTP id B103D15A9EE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Jul 2007 13:50:03 +0300 (EEST)
Received: from mail.ceid.upatras.gr ([127.0.0.1])
	by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id rG4eNboS0oQw for <FreeBSD-gnats-submit@freebsd.org>;
	Mon, 16 Jul 2007 13:50:03 +0300 (EEST)
Received: from ace.b020.ceid.upatras.gr (csisgroup13.ceid.upatras.gr [150.140.143.227])
	by mail.ceid.upatras.gr (Postfix) with ESMTP id 6F15715A91E
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Jul 2007 13:50:03 +0300 (EEST)
Received: by ace.b020.ceid.upatras.gr (Postfix, from userid 1001)
	id 8E4EC3F449; Mon, 16 Jul 2007 13:50:03 +0300 (EEST)
Message-Id: <20070716105003.8E4EC3F449@ace.b020.ceid.upatras.gr>
Date: Mon, 16 Jul 2007 13:50:03 +0300 (EEST)
From: Nikos Ntarmos <ntarmos@ceid.upatras.gr>
Reply-To: Nikos Ntarmos <ntarmos@ceid.upatras.gr>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: devel/libhid A user-space HID access library written in C
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    lwhsu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 16 11:00:08 GMT 2007
>Closed-Date:    Sat Jul 28 09:56:40 GMT 2007
>Last-Modified:  Sat Jul 28 10:00:06 GMT 2007
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->lwhsu 
Responsible-Changed-By: lwhsu 
Responsible-Changed-When: Mon Jul 16 11:31:00 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114627 
State-Changed-From-To: open->feedback 
State-Changed-By: lwhsu 
State-Changed-When: Sun Jul 22 14:42:58 UTC 2007 
State-Changed-Why:  
Ask for submitter approval about fixing missed LIB_DEPENDS. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114627 
State-Changed-From-To: feedback->open 
State-Changed-By: lwhsu 
State-Changed-When: Sun Jul 22 14:43:48 UTC 2007 
State-Changed-Why:  
Oops, wrong PR, should be ports/114628 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114627 
State-Changed-From-To: open->closed 
State-Changed-By: lwhsu 
State-Changed-When: Sat Jul 28 09:56:39 UTC 2007 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114627 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/114627: commit references a PR
Date: Sat, 28 Jul 2007 09:55:06 +0000 (UTC)

 lwhsu       2007-07-28 09:54:57 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel                Makefile 
   Added files:
     devel/libhid         Makefile distinfo pkg-descr pkg-plist 
     devel/libhid/files   patch-Makefile.in 
                          patch-hidparser-hidtypes.h 
   Log:
   Add libhid 0.2.16, a user-space HID access library written in C.
   
   PR:             ports/114627
   Submitted by:   ntarmos at ceid.upatras.gr
   
   Revision  Changes    Path
   1.2826    +1 -0      ports/devel/Makefile
   1.1       +27 -0     ports/devel/libhid/Makefile (new)
   1.1       +3 -0      ports/devel/libhid/distinfo (new)
   1.1       +11 -0     ports/devel/libhid/files/patch-Makefile.in (new)
   1.1       +11 -0     ports/devel/libhid/files/patch-hidparser-hidtypes.h (new)
   1.1       +9 -0      ports/devel/libhid/pkg-descr (new)
   1.1       +9 -0      ports/devel/libhid/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"
 
>Unformatted:
