Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] gst-plugins-good: fix nondeterministic udev dependency
@ 2015-03-19  6:29 Andre McCurdy
  2015-03-19 12:20 ` Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Andre McCurdy @ 2015-03-19  6:29 UTC (permalink / raw)
  To: openembedded-core

Make the v4l PACKAGECONFIG option control building of the video4linux2
plug-in (not use of libv4l, as it did before) and enable by default.
Add a separate libv4l PACKAGECONFIG to control use of libv4l (disabled
by default since libv4l is not part of oe-core).

The default config for gst-plugins-good and gstreamer1.0-plugins-good
is now aligned with regards to v4l, ie:

  v4l support: enabled by default
  v4l use of libgudev: enabled by default
  v4l use of libv4l2: disabled by default

This commit fixes the following build-deps QA Warnings:

  WARNING: QA Issue: gst-plugins-good-video4linux2 rdepends on libudev, but it isn't a build dependency? [build-deps]
  WARNING: QA Issue: gst-plugins-good-video4linux2 rdepends on libgudev, but it isn't a build dependency? [build-deps]

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
 meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
index 85f2196..af18281 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
 
 PR = "r8"
 
-PACKAGECONFIG ?= "jpeg \
+PACKAGECONFIG ?= "jpeg v4l \
     ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
 "
@@ -16,7 +16,9 @@ PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
 PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg"
 PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack"
 PACKAGECONFIG[gdkpixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf"
-PACKAGECONFIG[v4l] = "--with-libv4l2,--without-libv4l2,libv4l"
+PACKAGECONFIG[v4l] = "--enable-gst_v4l2 --with-gudev,--disable-gst_v4l2 --without-gudev,udev"
+# sub-feature of v4l, but control separately since libv4l is not part of oe-core
+PACKAGECONFIG[libv4l] = "--with-libv4l2,--without-libv4l2,libv4l"
 PACKAGECONFIG[bzip2] = "--enable-bz2,--disable-bz2,bzip2"
 PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc"
 PACKAGECONFIG[x11] = "--enable-x,--disable-x,virtual/libx11 libxfixes libxdamage"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] gst-plugins-good: fix nondeterministic udev dependency
  2015-03-19  6:29 [PATCH] gst-plugins-good: fix nondeterministic udev dependency Andre McCurdy
@ 2015-03-19 12:20 ` Otavio Salvador
  2015-03-19 20:19   ` Andre McCurdy
  0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2015-03-19 12:20 UTC (permalink / raw)
  To: Andre McCurdy; +Cc: Patches and discussions about the oe-core layer

On Thu, Mar 19, 2015 at 3:29 AM, Andre McCurdy <armccurdy@gmail.com> wrote:
> Make the v4l PACKAGECONFIG option control building of the video4linux2
> plug-in (not use of libv4l, as it did before) and enable by default.
> Add a separate libv4l PACKAGECONFIG to control use of libv4l (disabled
> by default since libv4l is not part of oe-core).
>
> The default config for gst-plugins-good and gstreamer1.0-plugins-good
> is now aligned with regards to v4l, ie:
>
>   v4l support: enabled by default
>   v4l use of libgudev: enabled by default
>   v4l use of libv4l2: disabled by default
>
> This commit fixes the following build-deps QA Warnings:
>
>   WARNING: QA Issue: gst-plugins-good-video4linux2 rdepends on libudev, but it isn't a build dependency? [build-deps]
>   WARNING: QA Issue: gst-plugins-good-video4linux2 rdepends on libgudev, but it isn't a build dependency? [build-deps]
>
> Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
> ---
>  meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
> index 85f2196..af18281 100644
> --- a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
> +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
>
>  PR = "r8"
>
> -PACKAGECONFIG ?= "jpeg \
> +PACKAGECONFIG ?= "jpeg v4l \

This is not needed.

>      ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
>      ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
>  "
> @@ -16,7 +16,9 @@ PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
>  PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg"
>  PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack"
>  PACKAGECONFIG[gdkpixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf"
> -PACKAGECONFIG[v4l] = "--with-libv4l2,--without-libv4l2,libv4l"
> +PACKAGECONFIG[v4l] = "--enable-gst_v4l2 --with-gudev,--disable-gst_v4l2 --without-gudev,udev"
> +# sub-feature of v4l, but control separately since libv4l is not part of oe-core
> +PACKAGECONFIG[libv4l] = "--with-libv4l2,--without-libv4l2,libv4l"
>  PACKAGECONFIG[bzip2] = "--enable-bz2,--disable-bz2,bzip2"
>  PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc"
>  PACKAGECONFIG[x11] = "--enable-x,--disable-x,virtual/libx11 libxfixes libxdamage"
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gst-plugins-good: fix nondeterministic udev dependency
  2015-03-19 12:20 ` Otavio Salvador
@ 2015-03-19 20:19   ` Andre McCurdy
  2015-03-19 20:29     ` Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Andre McCurdy @ 2015-03-19 20:19 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer

On Thu, Mar 19, 2015 at 5:20 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Thu, Mar 19, 2015 at 3:29 AM, Andre McCurdy <armccurdy@gmail.com> wrote:
>> Make the v4l PACKAGECONFIG option control building of the video4linux2
>> plug-in (not use of libv4l, as it did before) and enable by default.
>> Add a separate libv4l PACKAGECONFIG to control use of libv4l (disabled
>> by default since libv4l is not part of oe-core).
>>
>> The default config for gst-plugins-good and gstreamer1.0-plugins-good
>> is now aligned with regards to v4l, ie:
>>
>>   v4l support: enabled by default
>>   v4l use of libgudev: enabled by default
>>   v4l use of libv4l2: disabled by default
>>
>> This commit fixes the following build-deps QA Warnings:
>>
>>   WARNING: QA Issue: gst-plugins-good-video4linux2 rdepends on libudev, but it isn't a build dependency? [build-deps]
>>   WARNING: QA Issue: gst-plugins-good-video4linux2 rdepends on libgudev, but it isn't a build dependency? [build-deps]
>>
>> Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
>> ---
>>  meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb | 6 ++++--
>>  1 file changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
>> index 85f2196..af18281 100644
>> --- a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
>> +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
>> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
>>
>>  PR = "r8"
>>
>> -PACKAGECONFIG ?= "jpeg \
>> +PACKAGECONFIG ?= "jpeg v4l \
>
> This is not needed.

The reasons I had for explicit enabling were:

- The video4linux2 plug-in is typically being built now and judging by
the patches to gst-plugins-good it's not unusual for it to break
during kernel upgrades, so keeping it enabled maintains that test
coverage.

- The video4linux2 plug-in is enabled by default in
gstreamer1.0-plugins-good (with a hardcoded option passed via
EXTRA_OECONF), so explicit enabling in gst-plugins-good keeps the two
versions in sync.


>>      ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
>>      ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
>>  "
>> @@ -16,7 +16,9 @@ PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
>>  PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg"
>>  PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack"
>>  PACKAGECONFIG[gdkpixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf"
>> -PACKAGECONFIG[v4l] = "--with-libv4l2,--without-libv4l2,libv4l"
>> +PACKAGECONFIG[v4l] = "--enable-gst_v4l2 --with-gudev,--disable-gst_v4l2 --without-gudev,udev"
>> +# sub-feature of v4l, but control separately since libv4l is not part of oe-core
>> +PACKAGECONFIG[libv4l] = "--with-libv4l2,--without-libv4l2,libv4l"
>>  PACKAGECONFIG[bzip2] = "--enable-bz2,--disable-bz2,bzip2"
>>  PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc"
>>  PACKAGECONFIG[x11] = "--enable-x,--disable-x,virtual/libx11 libxfixes libxdamage"
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gst-plugins-good: fix nondeterministic udev dependency
  2015-03-19 20:19   ` Andre McCurdy
@ 2015-03-19 20:29     ` Otavio Salvador
  0 siblings, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2015-03-19 20:29 UTC (permalink / raw)
  To: Andre McCurdy; +Cc: Patches and discussions about the oe-core layer

On Thu, Mar 19, 2015 at 5:19 PM, Andre McCurdy <armccurdy@gmail.com> wrote:
> On Thu, Mar 19, 2015 at 5:20 AM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>>> diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
>>> index 85f2196..af18281 100644
>>> --- a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
>>> +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb
>>> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
>>>
>>>  PR = "r8"
>>>
>>> -PACKAGECONFIG ?= "jpeg \
>>> +PACKAGECONFIG ?= "jpeg v4l \
>>
>> This is not needed.
>
> The reasons I had for explicit enabling were:
>
> - The video4linux2 plug-in is typically being built now and judging by
> the patches to gst-plugins-good it's not unusual for it to break
> during kernel upgrades, so keeping it enabled maintains that test
> coverage.
>
> - The video4linux2 plug-in is enabled by default in
> gstreamer1.0-plugins-good (with a hardcoded option passed via
> EXTRA_OECONF), so explicit enabling in gst-plugins-good keeps the two
> versions in sync.

Agreed.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-19 20:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19  6:29 [PATCH] gst-plugins-good: fix nondeterministic udev dependency Andre McCurdy
2015-03-19 12:20 ` Otavio Salvador
2015-03-19 20:19   ` Andre McCurdy
2015-03-19 20:29     ` Otavio Salvador

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox