All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Balister <philip@balister.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] introduction of virtual/libusb0
Date: Thu, 25 Jun 2009 21:49:56 +0200	[thread overview]
Message-ID: <4A43D4E4.90409@balister.org> (raw)
In-Reply-To: <h1u7s2$b8l$1@ger.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]

Koen Kooi wrote:
> On 24-06-09 21:18, Stanislav Brabec wrote:
>> Hallo.
>>
>> I plan to submit attached patch to oe.dev to fix clash of libusb-compat
>> and libusb in recipes by introduction of virtual/libusb0.
>>
>> libusb-compat and libusb provide exactly the same API and ABI using a
>> different back-end, and applications should work with both of them
>> without recompilation.
> 
> Why not statically link in the old libusb0 to those broken apps? We do 
> that for gnuradio (in a hacky way, but it can be made generic) and it 
> works well.

+1

We have made gnuradio build with a private copy of libusb-0.12 and it is 
staically linked against this copy. Further clubbing was needed to stop 
libtool trying to link apps that used the USRP from linking to the library.

I think there are only a small handful of apps that do not use the 
public libusb interface.

Do you have a specific package you are having issues with? Take a look 
at the gnuradio.inc file to see how we solved the problem there.

Philip

PS: By solved I mean it builds, I had to leave for Linuxtag before I 
could test extensively :)

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]

  parent reply	other threads:[~2009-06-25 20:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-24 19:18 [PATCH] introduction of virtual/libusb0 Stanislav Brabec
2009-06-24 19:44 ` Chris Larson
2009-06-24 20:38   ` Stanislav Brabec
2009-06-24 20:47     ` Chris Larson
2009-06-24 22:00       ` Stanislav Brabec
2009-06-25 17:12         ` Stanislav Brabec
2009-06-25 17:33           ` Christopher Larson
2009-06-24 22:03 ` Koen Kooi
2009-06-25  6:52   ` Stanislav Brabec
2009-06-25 19:54     ` Philip Balister
2009-06-25 19:49   ` Philip Balister [this message]
2009-06-26  7:50     ` Stanislav Brabec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A43D4E4.90409@balister.org \
    --to=philip@balister.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.