This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] libusb-win32 0.1.10.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]