All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gstreamer1.0-plugins-bad: add missing wayland-native dependency
@ 2016-07-27 16:32 Ross Burton
  2016-07-27 17:07 ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Ross Burton @ 2016-07-27 16:32 UTC (permalink / raw)
  To: openembedded-core

The wayland support requires wayland-scanner, so add a dependency on
wayland-native.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
index 9e2b94e..d8c8179 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -58,7 +58,7 @@ PACKAGECONFIG[srtp]            = "--enable-srtp,--disable-srtp,libsrtp"
 PACKAGECONFIG[uvch264]         = "--enable-uvch264,--disable-uvch264,libusb1 libgudev"
 PACKAGECONFIG[voaacenc]        = "--enable-voaacenc,--disable-voaacenc,vo-aacenc"
 PACKAGECONFIG[voamrwbenc]      = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc"
-PACKAGECONFIG[wayland]         = "--enable-wayland --enable-egl,--disable-wayland --disable-egl,wayland virtual/egl"
+PACKAGECONFIG[wayland]         = "--enable-wayland --enable-egl,--disable-wayland --disable-egl,wayland-native wayland virtual/egl"
 PACKAGECONFIG[webp]            = "--enable-webp,--disable-webp,libwebp"
 
 # these plugins have not been ported to 1.0 (yet):
-- 
2.8.1



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

* Re: [PATCH] gstreamer1.0-plugins-bad: add missing wayland-native dependency
  2016-07-27 16:32 [PATCH] gstreamer1.0-plugins-bad: add missing wayland-native dependency Ross Burton
@ 2016-07-27 17:07 ` Martin Jansa
  2016-07-27 19:51   ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2016-07-27 17:07 UTC (permalink / raw)
  To: Ross Burton; +Cc: openembedded-core

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

On Wed, Jul 27, 2016 at 05:32:57PM +0100, Ross Burton wrote:
> The wayland support requires wayland-scanner, so add a dependency on
> wayland-native.

Why is this needed when wayland already depends on wayland-native?

> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>  meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
> index 9e2b94e..d8c8179 100644
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
> @@ -58,7 +58,7 @@ PACKAGECONFIG[srtp]            = "--enable-srtp,--disable-srtp,libsrtp"
>  PACKAGECONFIG[uvch264]         = "--enable-uvch264,--disable-uvch264,libusb1 libgudev"
>  PACKAGECONFIG[voaacenc]        = "--enable-voaacenc,--disable-voaacenc,vo-aacenc"
>  PACKAGECONFIG[voamrwbenc]      = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc"
> -PACKAGECONFIG[wayland]         = "--enable-wayland --enable-egl,--disable-wayland --disable-egl,wayland virtual/egl"
> +PACKAGECONFIG[wayland]         = "--enable-wayland --enable-egl,--disable-wayland --disable-egl,wayland-native wayland virtual/egl"
>  PACKAGECONFIG[webp]            = "--enable-webp,--disable-webp,libwebp"
>  
>  # these plugins have not been ported to 1.0 (yet):
> -- 
> 2.8.1
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [PATCH] gstreamer1.0-plugins-bad: add missing wayland-native dependency
  2016-07-27 17:07 ` Martin Jansa
@ 2016-07-27 19:51   ` Burton, Ross
  2016-07-28  1:40     ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2016-07-27 19:51 UTC (permalink / raw)
  To: Martin Jansa; +Cc: OE-core

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

On 27 July 2016 at 18:07, Martin Jansa <martin.jansa@gmail.com> wrote:

> On Wed, Jul 27, 2016 at 05:32:57PM +0100, Ross Burton wrote:
> > The wayland support requires wayland-scanner, so add a dependency on
> > wayland-native.
>
> Why is this needed when wayland already depends on wayland-native?
>

Because builds from sstate won't pull in all the build dependencies
transitively, just enough to do the required tasks. The requirements are
the wayland runtime libraries (wayland) and the native tooling
(wayland-native).

Ross

[-- Attachment #2: Type: text/html, Size: 923 bytes --]

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

* Re: [PATCH] gstreamer1.0-plugins-bad: add missing wayland-native dependency
  2016-07-27 19:51   ` Burton, Ross
@ 2016-07-28  1:40     ` Khem Raj
  2016-07-28  9:07       ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2016-07-28  1:40 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core


[-- Attachment #1.1: Type: text/plain, Size: 1203 bytes --]


> On Jul 27, 2016, at 12:51 PM, Burton, Ross <ross.burton@intel.com> wrote:
> 
> 
> On 27 July 2016 at 18:07, Martin Jansa <martin.jansa@gmail.com <mailto:martin.jansa@gmail.com>> wrote:
> On Wed, Jul 27, 2016 at 05:32:57PM +0100, Ross Burton wrote:
> > The wayland support requires wayland-scanner, so add a dependency on
> > wayland-native.
> 
> Why is this needed when wayland already depends on wayland-native?
> 
> Because builds from sstate won't pull in all the build dependencies transitively, just enough to do the required tasks. The requirements are the wayland runtime libraries (wayland) and the native tooling (waylaid-native).

Is it so that populate_sysroot tasks wont do the above two jobs ? if yes then why
If you are saying that behavior is different with or without sstate reuse if  I do
bitbake gstreamer1.0-plugins-bad, then I think there is a problem.  The entries changed here will
get added to DEPENDS in the end. So Martin has a point.

> 
> Ross
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


[-- Attachment #1.2: Type: text/html, Size: 2470 bytes --]

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

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

* Re: [PATCH] gstreamer1.0-plugins-bad: add missing wayland-native dependency
  2016-07-28  1:40     ` Khem Raj
@ 2016-07-28  9:07       ` Richard Purdie
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2016-07-28  9:07 UTC (permalink / raw)
  To: Khem Raj, Burton, Ross; +Cc: OE-core

On Wed, 2016-07-27 at 18:40 -0700, Khem Raj wrote:
> 
> > On Jul 27, 2016, at 12:51 PM, Burton, Ross <ross.burton@intel.com>
> > wrote:
> > Why is this needed when wayland already depends on wayland
> > > -native?
> > Because builds from sstate won't pull in all the build dependencies
> > transitively, just enough to do the required tasks. The
> > requirements are the wayland runtime libraries (wayland) and the
> > native tooling (waylaid-native).
> Is it so that populate_sysroot tasks wont do the above two jobs ? if
> yes then why
> If you are saying that behavior is different with or without sstate
> reuse if  I do
> bitbake gstreamer1.0-plugins-bad, then I think there is a problem. 
>  The entries changed here will
> get added to DEPENDS in the end. So Martin has a point.

The way the sstate code is coded, it assumes that if a target recipe X
is available from sstate, any -native/-cross dependencies of that
target are not needed and not installed.

In general this makes sense as quilt-native isn't needed if we aren't
patching, we don't need a compiler/toolchain if we're not compiling and
so on.

What it does mean is that any recipe needing a -native recipe to build 
should list it in DEPENDS directly, not rely on other dependencies to
pull it in for them. This applies to pkgconfig-native, intltool-native
and also to wayland-native.

I'm open to other ideas on how this could work but right now, its the
only way I can see to make sstate use semi-optimal, rather tahn
requiring *everything* come from sstate all the time.

Cheers,

Richard




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

end of thread, other threads:[~2016-07-28  9:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-27 16:32 [PATCH] gstreamer1.0-plugins-bad: add missing wayland-native dependency Ross Burton
2016-07-27 17:07 ` Martin Jansa
2016-07-27 19:51   ` Burton, Ross
2016-07-28  1:40     ` Khem Raj
2016-07-28  9:07       ` Richard Purdie

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.