[Lcdproc] picoLCD improved key input

Markus Dolze bsdfan at nurfuerspam.de
Wed Nov 16 20:11:58 UTC 2011


On 15.11.2011 15:32, Martin T Jones wrote:
> On 05/11/11 20:40, Markus Dolze wrote:
>> The libusb-1.0 implementation compiles surprisingly well on FreeBSD if I
>> only were able to find out about how to make configure work. This system
>> comes with an USB library compatible with libusb-0.1 _and_ libusb-1.0,
>> but lacks any way of detecting it with pkg-config. I spent the whole
>> afternoon fiddling with it and ended up hard-coding the values for my
>> system within configure.in (this is missing from the attached patch).
>>
>>    
> On Debian there is a package configuration file:
> 
...

> 
> 
> Does BSD use the same system?
> 

Hi Martin,

versions of FreeBSD 8 and newer ship with a libusb compatible API in the
base system. Thus it is not necessary (and not possible) to install
libusb (any version) and thus there is no libusb-x.y.pc package config file.

Detecting libusb presence on FreeBSD requires a different approach
(especially as the older 7.x version does have a libusb-0.1 package).
Currently I'm using this:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/lcdproc/files/patch-configure.in?rev=1.5

Regards,
Markus


More information about the LCDproc mailing list