[ITP] libusb-win32 0.1.10.1
Corinna Vinschen
corinna-cygwin@cygwin.com
Sat Apr 15 09:29:00 GMT 2006
Hi Samuel,
On Apr 14 22:33, Samuel Thibault wrote:
> http://brl.thefreecat.org/libusb-win32/libusb-win32-0.1.10.1-2-src.tar.bz2
> http://brl.thefreecat.org/libusb-win32/libusb-win32-0.1.10.1-2.tar.bz2
> http://brl.thefreecat.org/libusb-win32/setup.hint
>
> Corinna Vinschen, le Tue 04 Apr 2006 12:21:32 +0200, a écrit :
> > - /usr/bin/libusb0.dll should be /usr/bin/cygusb0.dll to follow the
> > Cygwin library naming convention.
>
> Ok
>
> > - Is it necessary to keep the .sys file in /usr/bin? I'd rather see this
> > in a directory which is not in $PATH usually. /usr/lib, maybe, or
> > /usr/share/libusb/
> > - Why is libusbd-nt.exe in /usr/bin if it is actually copied to
> > /WINDOWS/system32?
>
> I've put them in /usr/lib/libusb
>
> > And *why* is it copied to /WINDOWS/system32 at all?
>
> It is how libusb-win32 is usually installed. But by patching sources a
> little bit, drivers and services can be run from cygwin's
> /usr/lib/libusb
>
> > - Where is the documentation in the binary package? The README files in
> > /usr/share/doc don't contain any information about how to utilize
> > libusb. No man pages? No info files? No html manual?
>
> I've added in the README file a paragraph that points to libusb's
> documentation (since libusb-win32 is stricly API-compatible with
> libusb).
Looks pretty good to me. I have just one question left. On Linux,
libusb has an accompanying script /usr/bin/libusb-config, like this:
$ libusb-config
Usage: libusb-config [OPTIONS] [LIBRARIES]
Options:
[--prefix[=DIR]]
[--exec-prefix[=DIR]]
[--version]
[--libs]
[--cflags]
to be used for instance in configure scripts. As you might know, this
script is also availabale for lots of other packages (audiofile-config,
glib-config, gtk-config, etc. pp.)
It looks like this script is only available in the libusb package, not
in the libusb-win32 package. However, since the Cygwin environment
tries to resemble a POSIX environment, I'm wondering if it wouldn't make
sense to add this script from the libusb package to the Cygwin port of
this package. What do you think?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
More information about the Cygwin-apps
mailing list