From: Hans-Christoph S. <ha...@at...> - 2012-01-22 15:11:48
|
On Jan 21, 2012, at 8:23 PM, Hisashi T Fujinaka wrote: > On Sat, 21 Jan 2012, Hans-Christoph Steiner wrote: > >> >> On Jan 19, 2012, at 5:20 PM, Hans-Christoph Steiner wrote: >> >>> >>> On Jan 19, 2012, at 2:54 PM, Hisashi T Fujinaka wrote: >>> >>>> On Thu, 19 Jan 2012, Hans-Christoph Steiner wrote: >>>> >>>>> >>>>> I'm in the process of packaging libraries for supporting the Kinect camera tracking system. It is partially based on libusb, and requires 1.0.8 plus a patch in order for it to work. I'm pretty sure this patch is already included upstream. >>>>> >>>>> Can we add this patch to the libusb1 package? I'll happily do the work, or provide the details for someone else. >>>> >>>> I can look into updating this, but 1.0.8 is the latest release AFAICT. >>> >>> Thanks. Yes, 1.0.8 is the latest release. Here's documentation of the patch in question: >>> http://www.freenect.com/how-to-get-the-kinect-working-on-mac-os-x >> >> Hey, >> >> I was thinking that I could make a test version for the unstable branch based on the 1.0.9-rc3 release, if you haven't already done something. I'd like to get this working this weekend, and I think the libusb1 update is the last thing before the kinect/openni stuff all works. >> >> I can run it thru you or just commit it directly, > > Oh, heh, I forgot all about this. Is the patch upstream? I don't know if this particular patch is included, but the devs are aware of it, and they have fixed it upstream apparently. I just tried to stick 1.0.9-rc3 into the libusb1 packaging, but it seems that the dylib versions are different: hans@dhcp-10 libs $ otool -L /sw/src/fink.build/root-libusb1-shlibs-1.0.8-1/sw/lib/libusb-1.0.0.dylib /sw/src/fink.build/root-libusb1-shlibs-1.0.8-1/sw/lib/libusb-1.0.0.dylib: /sw/lib/libusb-1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) hans@dhcp-10 libs $ otool -L /sw/src/fink.build/root-libusb1-shlibs-1.0.9-rc3-1/sw/lib/libusb-1.0.0.dylib /sw/src/fink.build/root-libusb1-shlibs-1.0.9-rc3-1/sw/lib/libusb-1.0.0.dylib: /sw/lib/libusb-1.0.0.dylib (compatibility version 2.0.0, current version 2.0.0) Which is odd since in the Debian packaging, the dylib major versions are the same, only the minor version changes (0.0.0 -> 0.1.0) when going from 1.0.8 to 1.0.9-rc3. http://packages.debian.org/squeeze/i386/libusb-1.0-0/filelist http://packages.debian.org/sid/i386/libusb-1.0-0/filelist Wow, this is a confusing package. With the library being called 'libusb-1.0', it makes for confusing dylib names. So libusb-1.0.0.dylib is really like 'libfoo.0.dylib' and 'libusb-1.0.dylib' is the 'libfoo.dylib' symlink. There a bug in the current libusb1 1.0.8-1 because the 'libusb-1.0.dylib' is included in the libusb1-shlibs package rather than the libusb1 package. .hc ---------------------------------------------------------------------------- "It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White |