Patchwork [meta-oe/denzil,3/6] media-ctl: update to latest git

login
register
mail settings
Submitter Koen Kooi
Date May 2, 2012, 9:45 a.m.
Message ID <1335951932-6143-3-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/26809/
State New, archived
Headers show

Comments

Koen Kooi - May 2, 2012, 9:45 a.m.
* split out libs
* media-ctl has been relicensed to LGPLv2.1+

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
James - May 9, 2012, 4 a.m.
Hi Koen,

On Wed, May 2, 2012 at 5:45 PM, Koen Kooi <koen@dominion.thruhere.net> wrote:
> * split out libs
> * media-ctl has been relicensed to LGPLv2.1+
>
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
>  meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb |   12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb b/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
> index 99ec8e2..76d811b 100644
> --- a/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
> +++ b/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
> @@ -1,16 +1,20 @@
>  DESCRIPTION = "Media controller control application"
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
> +LICENSE = "LGPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0"
>
>  SRC_URI = "git://git.ideasonboard.org/media-ctl.git;protocol=git"
> -SRCREV = "a183835abdefb8e40650fc9eb22e2d291aac9883"
> +SRCREV = "46bec667b675573cf1ce698c68112e3dbd31930e"
>
>  PV = "0.0.1"
> +PR = "r1"
>  S = "${WORKDIR}/git"
>
>  inherit autotools
>
> -# It needs some kernel definitions for v4l2, so it isn't machine specific
> +# It needs some kernel definitions only for v4l2, so it isn't machine specific
>  EXTRA_OECONF = "--with-kernel-headers=${STAGING_KERNEL_DIR}"
>
> +PACKAGES =+ "libmediactl libv4l2subdev"
> +FILES_libmediactl = "${libdir}/libmediactl${SOLIBS}"
> +FILES_libv4l2subdev = "${libdir}/libv4l2subdev${SOLIBS}"
>
> --
> 1.7.10
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

I tried using this new recipe on OE-classic and bitbake v1.12 but the
do_configure failed.

A look into the configure.log shows
..
checking linux/media.h usability ... no
checking linux/media.h presence ... no
checking for linux/media.h ... no
ERROR: Kernel header file not found or not usable!
...

This is due to ${STAGING_KERNEL_DIR} pointing to an invalid location.
It's pointing to /sysroots/armv7a-angstrom-linux-gnueabi/kernel
instead it is located in /sysroots/${MACHINE}-angstrom-linux-gnueabi/kernel

Change you please relook into this?

Thank you.
James - June 25, 2012, 1:57 a.m.
Ping!!

On Wed, May 9, 2012 at 12:00 PM, James <angweiyang@gmail.com> wrote:
> Hi Koen,
>
> On Wed, May 2, 2012 at 5:45 PM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>> * split out libs
>> * media-ctl has been relicensed to LGPLv2.1+
>>
>> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
>> ---
>>  meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb |   12 ++++++++----
>>  1 file changed, 8 insertions(+), 4 deletions(-)
>>
>> diff --git a/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb b/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
>> index 99ec8e2..76d811b 100644
>> --- a/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
>> +++ b/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
>> @@ -1,16 +1,20 @@
>>  DESCRIPTION = "Media controller control application"
>> -LICENSE = "GPLv2"
>> -LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
>> +LICENSE = "LGPLv2+"
>> +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0"
>>
>>  SRC_URI = "git://git.ideasonboard.org/media-ctl.git;protocol=git"
>> -SRCREV = "a183835abdefb8e40650fc9eb22e2d291aac9883"
>> +SRCREV = "46bec667b675573cf1ce698c68112e3dbd31930e"
>>
>>  PV = "0.0.1"
>> +PR = "r1"
>>  S = "${WORKDIR}/git"
>>
>>  inherit autotools
>>
>> -# It needs some kernel definitions for v4l2, so it isn't machine specific
>> +# It needs some kernel definitions only for v4l2, so it isn't machine specific
>>  EXTRA_OECONF = "--with-kernel-headers=${STAGING_KERNEL_DIR}"
>>
>> +PACKAGES =+ "libmediactl libv4l2subdev"
>> +FILES_libmediactl = "${libdir}/libmediactl${SOLIBS}"
>> +FILES_libv4l2subdev = "${libdir}/libv4l2subdev${SOLIBS}"
>>
>> --
>> 1.7.10
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> I tried using this new recipe on OE-classic and bitbake v1.12 but the
> do_configure failed.
>
> A look into the configure.log shows
> ..
> checking linux/media.h usability ... no
> checking linux/media.h presence ... no
> checking for linux/media.h ... no
> ERROR: Kernel header file not found or not usable!
> ...
>
> This is due to ${STAGING_KERNEL_DIR} pointing to an invalid location.
> It's pointing to /sysroots/armv7a-angstrom-linux-gnueabi/kernel
> instead it is located in /sysroots/${MACHINE}-angstrom-linux-gnueabi/kernel
>
> Change you please relook into this?
>
> Thank you.
> --
> Regards,
> James Ang

Patch

diff --git a/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb b/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
index 99ec8e2..76d811b 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/media-ctl_git.bb
@@ -1,16 +1,20 @@ 
 DESCRIPTION = "Media controller control application"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0"
 
 SRC_URI = "git://git.ideasonboard.org/media-ctl.git;protocol=git"
-SRCREV = "a183835abdefb8e40650fc9eb22e2d291aac9883"
+SRCREV = "46bec667b675573cf1ce698c68112e3dbd31930e"
 
 PV = "0.0.1"
+PR = "r1"
 S = "${WORKDIR}/git"
 
 inherit autotools
 
-# It needs some kernel definitions for v4l2, so it isn't machine specific
+# It needs some kernel definitions only for v4l2, so it isn't machine specific
 EXTRA_OECONF = "--with-kernel-headers=${STAGING_KERNEL_DIR}"
 
+PACKAGES =+ "libmediactl libv4l2subdev"
+FILES_libmediactl = "${libdir}/libmediactl${SOLIBS}"
+FILES_libv4l2subdev = "${libdir}/libv4l2subdev${SOLIBS}"