[arch-dev-public] libusbx as replacement for libusb

Stéphane Gaudreault stephane at archlinux.org
Fri May 25 09:42:48 EDT 2012


Le 2012-05-25 09:25, Tom Gundersen a écrit :
> On Fri, May 25, 2012 at 3:18 PM, Thomas Bächler <thomas at archlinux.org> wrote:
>> Am 25.05.2012 14:56, schrieb Tobias Powalowski:
>>> Hi got this feature request:
>>> https://bugs.archlinux.org/task/29999
>>>
>>> - fedora ditched the libusb usage in favour of the libusbx project.
>>>
>>> http://www.libusbx.org
>>>
>>> Shall we move to this too?
>> Questions not answered in the bug report:
>> 1) What is an actual issue solved by libusbx that is present in libusb?
>> (by Allan)
>> 2) Is it a drop-in replacement that is API-compatible or (better)
>> ABI-compatible.
>>
>> ad 1) I guess there are such issues, otherwise the libusbx people
>> wouldn't have been angry enough to make a fork. This point requires
>> research.
> From what I gathered, the difference is currently minimal as the
> libusb maintainer backported most of the commits from libusbx. I
> assume this can not go on forever though...
>
>> ad 2) If it is ABI-compatible, there is no harm in switching right now,
>> as libusbx = libusb-1 + active development + more bugfixes. If it is
>> only API-compatible or partially incompatible, we would need a strong
>> reason to actually switch.
> It was advertised as a drop in replacement, I assumed this means ABI
> compatible, but this we must check.
>
> -t

I was curious, so I tried the pkg from AUR [1]. My usb stuff still work,
so I guess compatibility is not a issue. The choice will probably be
done by considering which of the two projects is the most promising.

Stéphane

[1] https://aur.archlinux.org/packages.php?ID=59473

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20120525/4fa664ff/attachment.asc>


More information about the arch-dev-public mailing list