From: Saul Wold <sgw@linux.intel.com>
To: Jacob Kroon <jacob.kroon@gmail.com>
Cc: openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] libusb1: Update to 1.0.18
Date: Fri, 16 May 2014 10:14:12 -0700 [thread overview]
Message-ID: <53764764.1010608@linux.intel.com> (raw)
In-Reply-To: <CAPbeDC=Z8OTCuy7+Lj4Hp_y-j3FcA0Ro0SBNRvTRRxy4Zm+qdg@mail.gmail.com>
On 05/16/2014 05:16 AM, Jacob Kroon wrote:
> On Fri, May 16, 2014 at 7:13 AM, Jacob Kroon <jacob.kroon@gmail.com> wrote:
>
>> Hello Saul,
>>
>>
>> On Thu, May 15, 2014 at 5:58 PM, Saul Wold <sgw@linux.intel.com> wrote:
>>
>>> Signed-off-by: Saul Wold <sgw@linux.intel.com>
>>> ---
>>> .../{libusb1-1.0.9 => libusb1}/obsolete_automake_macros.patch | 0
>>> .../recipes-support/libusb/{libusb1_1.0.9.bb => libusb1_1.0.18.bb} | 7
>>> ++-----
>>> 2 files changed, 2 insertions(+), 5 deletions(-)
>>> rename meta/recipes-support/libusb/{libusb1-1.0.9 =>
>>> libusb1}/obsolete_automake_macros.patch (100%)
>>> rename meta/recipes-support/libusb/{libusb1_1.0.9.bb =>
>>> libusb1_1.0.18.bb} (78%)
>>>
>>> diff --git
>>> a/meta/recipes-support/libusb/libusb1-1.0.9/obsolete_automake_macros.patch
>>> b/meta/recipes-support/libusb/libusb1/obsolete_automake_macros.patch
>>> similarity index 100%
>>> rename from
>>> meta/recipes-support/libusb/libusb1-1.0.9/obsolete_automake_macros.patch
>>> rename to
>>> meta/recipes-support/libusb/libusb1/obsolete_automake_macros.patch
>>> diff --git a/meta/recipes-support/libusb/libusb1_1.0.9.bbb/meta/recipes-support/libusb/
>>> libusb1_1.0.18.bb
>>> similarity index 78%
>>> rename from meta/recipes-support/libusb/libusb1_1.0.9.bb
>>> rename to meta/recipes-support/libusb/libusb1_1.0.18.bb
>>> index d57425b..c64f1db 100644
>>> --- a/meta/recipes-support/libusb/libusb1_1.0.9.bb
>>> +++ b/meta/recipes-support/libusb/libusb1_1.0.18.bb
>>> @@ -8,14 +8,11 @@ LIC_FILES_CHKSUM =
>>> "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
>>>
>>> BBCLASSEXTEND = "native nativesdk"
>>>
>>> -PR = "r1"
>>> -
>>> SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
>>> - file://obsolete_automake_macros.patch \
>>> "
>>>
>>
>> That patch is still in git, maybe it should be removed as well ?
>>
>>
> Also, I think it needs to be added a PACKAGECONFIG for "udev", otherwise I
> get a build failure when I generate an SDK on my system,
> configure script can't find udev although it was requested.
>
> Something like the patch below does the trick for me:
>
I am supprised you did not see a circular dependency with udev -> libusb
-> udev, I think we need to disable-udev as default and if there is a
need for a libusb with udev support we will have to create a new recipe
possibly to build it after udev is built.
Thoughts here?
Sau!
> --- a/meta/recipes-support/libusb/libusb1_1.0.18.bb
> +++ b/meta/recipes-support/libusb/libusb1_1.0.18.bb
> @@ -8,12 +8,17 @@ LIC_FILES_CHKSUM =
> "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
>
> BBCLASSEXTEND = "native nativesdk"
>
> -SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
> - "
> +SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2"
>
> SRC_URI[md5sum] = "4a6d049923efc6496f1d383054dac1a6"
> SRC_URI[sha256sum] =
> "c73f5cec45a5de94418da4e151b7232958571926984acfb9bce02b9424e83720"
>
> +PACKAGECONFIG ?= "udev"
> +PACKAGECONFIG_class-native = ""
> +PACKAGECONFIG_class-nativesdk = ""
> +
> +PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev"
> +
> S = "${WORKDIR}/libusb-${PV}"
>
> inherit autotools pkgconfig
>
> If this looks good I can submit a proper patch for it.
>
> /Jacob
>
next prev parent reply other threads:[~2014-05-16 17:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-15 15:58 [PATCH] libusb1: Update to 1.0.18 Saul Wold
2014-05-16 5:13 ` Jacob Kroon
2014-05-16 12:16 ` Jacob Kroon
2014-05-16 17:14 ` Saul Wold [this message]
2014-05-16 18:47 ` Jacob Kroon
2014-05-16 20:18 ` Andrea Adami
2014-05-16 20:29 ` Andrea Adami
2014-05-17 5:26 ` Khem Raj
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=53764764.1010608@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=jacob.kroon@gmail.com \
--cc=openembedded-core@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.