[blfs-dev] SDL and libusb

Fernando de Oliveira famobr at yahoo.com.br
Sat Sep 21 15:40:27 PDT 2013


Em 21-09-2013 13:27, Igor Živković escreveu:
> On 09/21/2013 05:57 PM, Fernando de Oliveira wrote:
>>
>> About my previous post, libusb is listed as "Optional" in sdl, so, if it
>> cannot be found by sdl's configure, should it not be fixed?
> 
> Sorry for hijacking your thread. I don't think SDL uses that libusb but 
> libusbhid from BSD so it should probably be removed from dependencies.

I have:


$ xzgrep libusb SDL-1.2.15-2013.09.21-10h46m50s.log.xz
checking libusb.h usability... yes
checking libusb.h presence... yes
checking for libusb.h... yes

Before using the sed to find libusb.h, I had:

$ xzgrep libusb SDL-1.2.15-2013.09.21-10h13m08s.log.xz
checking libusb.h usability... no
checking libusb.h presence... no
checking for libusb.h... no

There is no mention to libusbhid, and the only places where hid is
mentione are:

$ xzgrep hid SDL-1.2.15-2013.09.21-10h46m50s.log.xz | grep -v hidden
checking for hid_init in -lusbhid... no
checking for hid_init in -lusb... no
checking for usbhid... no

Perhaps the best thing to do would really remove libusb as optional. But
I cannot be sure, not much experience with sdl, just as a dependency for
a package that does not need libusb. Or perhaps, there is a
relationtionship with usb sound output devices? It also searches for
usb.h and cannot find it.

-- 
[]s,
Fernando



More information about the blfs-dev mailing list