Interest in Sane or LibUSB

Michael Cronenworth mike at cchtml.com
Tue Mar 24 20:46:49 UTC 2009


-------- Original Message --------
Subject: Re: Interest in Sane or LibUSB
From: Richard W.M. Jones <rjones at redhat.com>
To: Fedora MinGW (Windows cross-compiler) project 
<fedora-mingw at lists.fedoraproject.org>
Date: 03/24/2009 03:34 PM

> 
> Yes to both.  Hans Niederman (ndim on #fedora-mingw) already took a
> look at libusb-win32.
> 

Attached. Upstream already has the sane patches. I had to add some 
#undefs for u_char, u_long, and u_int for Fedora as I was getting 
conflicts with the winsock(2).h defines. It seems MinGW in Fedora is 
adding them, but I don't see them in any system header.

  > BSOD from userspace??

Yes, isn't Vista grand? ;) This is widely reported by Vista users[1] and 
affects an in-house Vista machine with me.

> Probably best to file a bug against the native Fedora package if you
> want it to be updated.

Since libusb-0.1.x is deprecated, I doubt we'll see fixes for this 
issue. I'm not sure if all packages relying on libusb in Fedora are 
ready for libusb-1.0 as it is an ABI change. However, there is a 
libusb-compat-0.1 package to make the transition easy. I haven't tried 
compiling libusb-1.0 in MinGW yet though. I haven't found anyone who has 
so I'm not sure how well it will compile. When more free time comes up 
I'll attempt a build.


[1] 
http://www.shaddihasan.com/blog/2008/11/09/lejos-libusb-win32-vista-and-usbhubsys/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mingw32-libusb-win32.spec
Url: http://lists.fedoraproject.org/pipermail/mingw/attachments/20090324/92b8fdef/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mingw32-sane-backends.spec
Url: http://lists.fedoraproject.org/pipermail/mingw/attachments/20090324/92b8fdef/attachment-0001.pl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingw32-libusb-win32.patch
Type: text/x-patch
Size: 432 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/mingw/attachments/20090324/92b8fdef/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sane-win32-backend.patch
Type: text/x-patch
Size: 7103 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/mingw/attachments/20090324/92b8fdef/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sane-win32-frontend.patch
Type: text/x-patch
Size: 581 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/mingw/attachments/20090324/92b8fdef/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sane-win32-lib.patch
Type: text/x-patch
Size: 1617 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/mingw/attachments/20090324/92b8fdef/attachment-0003.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sane-win32-sanei.patch
Type: text/x-patch
Size: 7138 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/mingw/attachments/20090324/92b8fdef/attachment-0004.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sane-win32-tools.patch
Type: text/x-patch
Size: 1171 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/mingw/attachments/20090324/92b8fdef/attachment-0005.bin 


More information about the mingw mailing list