Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] gst-meta-base: Make ximagesing optional on x11 DISTRO_FEATURE
@ 2012-11-26  6:15 Saul Wold
  2012-11-28  1:14 ` Saul Wold
  2012-11-28  6:51 ` Richard Purdie
  0 siblings, 2 replies; 3+ messages in thread
From: Saul Wold @ 2012-11-26  6:15 UTC (permalink / raw)
  To: openembedded-core

If x11 is disabled from DISTRO_FEATURE we don't build the ximagesink
package, but it still becomes a dependency in the final image which
causes a failure

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../gstreamer/gst-meta-base_0.10.bb                |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
index 2fb39d5..0889437 100644
--- a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
@@ -16,7 +16,10 @@ PACKAGES = "\
 
 ALLOW_EMPTY = "1"
 
+X11_RDEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', 'gst-plugin-base-ximagesink', '', d)}"
+
 RDEPENDS_gst-meta-base = "\
+    ${X11_RDEPENDS} \
     gstreamer \
     gst-plugins-base-playbin \
     gst-plugins-base-decodebin \
-- 
1.7.9.5




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

* Re: [PATCH] gst-meta-base: Make ximagesing optional on x11 DISTRO_FEATURE
  2012-11-26  6:15 [PATCH] gst-meta-base: Make ximagesing optional on x11 DISTRO_FEATURE Saul Wold
@ 2012-11-28  1:14 ` Saul Wold
  2012-11-28  6:51 ` Richard Purdie
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-11-28  1:14 UTC (permalink / raw)
  To: Burton, Ross; +Cc: openembedded-core


Ross,

This one should hit Danny next also if possible.

Thanks
	Sau!

On 11/25/2012 10:15 PM, Saul Wold wrote:
> If x11 is disabled from DISTRO_FEATURE we don't build the ximagesink
> package, but it still becomes a dependency in the final image which
> causes a failure
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>   .../gstreamer/gst-meta-base_0.10.bb                |    3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
> index 2fb39d5..0889437 100644
> --- a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
> +++ b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
> @@ -16,7 +16,10 @@ PACKAGES = "\
>
>   ALLOW_EMPTY = "1"
>
> +X11_RDEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', 'gst-plugin-base-ximagesink', '', d)}"
> +
>   RDEPENDS_gst-meta-base = "\
> +    ${X11_RDEPENDS} \
>       gstreamer \
>       gst-plugins-base-playbin \
>       gst-plugins-base-decodebin \
>



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

* Re: [PATCH] gst-meta-base: Make ximagesing optional on x11 DISTRO_FEATURE
  2012-11-26  6:15 [PATCH] gst-meta-base: Make ximagesing optional on x11 DISTRO_FEATURE Saul Wold
  2012-11-28  1:14 ` Saul Wold
@ 2012-11-28  6:51 ` Richard Purdie
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2012-11-28  6:51 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core

On Sun, 2012-11-25 at 22:15 -0800, Saul Wold wrote:
> If x11 is disabled from DISTRO_FEATURE we don't build the ximagesink
> package, but it still becomes a dependency in the final image which
> causes a failure
> 
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  .../gstreamer/gst-meta-base_0.10.bb                |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
> index 2fb39d5..0889437 100644
> --- a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
> +++ b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
> @@ -16,7 +16,10 @@ PACKAGES = "\
>  
>  ALLOW_EMPTY = "1"
>  
> +X11_RDEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', 'gst-plugin-base-ximagesink', '', d)}"
> +
>  RDEPENDS_gst-meta-base = "\
> +    ${X11_RDEPENDS} \
>      gstreamer \
>      gst-plugins-base-playbin \
>      gst-plugins-base-decodebin \

This doesn't make sense, surely there would be some removal of a
dependency as well as an addition?

Looking at the recipe, the ximagesink dependency is already dependent on
DISTRO_FEATURES and is in the gst-meta-x11-base package, not
gst-meta-base?

Cheers,

Richard




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

end of thread, other threads:[~2012-11-28  7:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-26  6:15 [PATCH] gst-meta-base: Make ximagesing optional on x11 DISTRO_FEATURE Saul Wold
2012-11-28  1:14 ` Saul Wold
2012-11-28  6:51 ` Richard Purdie

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