All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-gnome][dunfell][PATCH] tracker-miners: enable ffmpeg dependency only if its whitelisted
@ 2021-06-08  4:59 akash hadke
  2021-06-08  6:56 ` [oe] " Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: akash hadke @ 2021-06-08  4:59 UTC (permalink / raw)
  To: openembedded-devel; +Cc: nisha.parrakat, harpritkaur.bhandari, Mikko Rapeli

From: Mikko Rapeli <mikko.rapeli@bmw.de>

ffmpeg isn't enabled by default. Fixes yocto-layer-check error:

ERROR: Nothing PROVIDES 'ffmpeg' (but /home/builder/src/base/meta-openembedded/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb DEPENDS on or otherwise requires it)
ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'tracker-miners', 'ffmpeg']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: akash hadke <akash.hadke@kpit.com>
---
 meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb b/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
index e2ced39..ccd22a0 100644
--- a/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
+++ b/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
@@ -24,7 +24,7 @@ REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
 UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
 
 PACKAGECONFIG ??= " \
-    ffmpeg \
+    ${@bb.utils.contains_any('LICENSE_FLAGS_WHITELIST', 'commercial', 'ffmpeg', '', d)} \
     flac \
     gexiv2 \
     gstreamer \
-- 
2.7.4


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

* Re: [oe] [meta-gnome][dunfell][PATCH] tracker-miners: enable ffmpeg dependency only if its whitelisted
  2021-06-08  4:59 [meta-gnome][dunfell][PATCH] tracker-miners: enable ffmpeg dependency only if its whitelisted akash hadke
@ 2021-06-08  6:56 ` Martin Jansa
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2021-06-08  6:56 UTC (permalink / raw)
  To: akash hadke
  Cc: openembedded-devel, Nisha Parrakat, Harpritkaur Bhandari, Mikko Rapeli

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

Backport the commit from master instead:
https://git.openembedded.org/meta-openembedded/commit/?id=c7b77535e0b08e8c89f41fa0508d3b275c95ab80

in this case it's the same, but using the same commit message and author
will better indicate that it's straight cherry-pick from newer branch.

On Tue, Jun 8, 2021 at 7:00 AM akash hadke <akash.hadke@kpit.com> wrote:

> From: Mikko Rapeli <mikko.rapeli@bmw.de>
>
> ffmpeg isn't enabled by default. Fixes yocto-layer-check error:
>
> ERROR: Nothing PROVIDES 'ffmpeg' (but
> /home/builder/src/base/meta-openembedded/meta-gnome/recipes-gnome/tracker/
> tracker-miners_2.3.3.bb DEPENDS on or otherwise requires it)
> ffmpeg was skipped: because it has a restricted license 'commercial'.
> Which is not whitelisted in LICENSE_FLAGS_WHITELIST
> ERROR: Required build target 'meta-world-pkgdata' has no buildable
> providers.
> Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
> 'tracker-miners', 'ffmpeg']
>
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
> Signed-off-by: akash hadke <akash.hadke@kpit.com>
> ---
>  meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
> b/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
> index e2ced39..ccd22a0 100644
> --- a/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
> +++ b/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
> @@ -24,7 +24,7 @@ REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
>  UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
>
>  PACKAGECONFIG ??= " \
> -    ffmpeg \
> +    ${@bb.utils.contains_any('LICENSE_FLAGS_WHITELIST', 'commercial',
> 'ffmpeg', '', d)} \
>      flac \
>      gexiv2 \
>      gstreamer \
> --
> 2.7.4
>
>
> 
>
>

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

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

* [meta-gnome][dunfell][PATCH] tracker-miners: enable ffmpeg dependency only if its whitelisted
@ 2021-06-08  4:30 akash hadke
  0 siblings, 0 replies; 3+ messages in thread
From: akash hadke @ 2021-06-08  4:30 UTC (permalink / raw)
  To: openembedded-devel; +Cc: nisha.parrakat, harpritkaur.bhandari, Mikko Rapeli

From: Mikko Rapeli <mikko.rapeli@bmw.de>

ffmpeg isn't enabled by default. Fixes yocto-layer-check error:

ERROR: Nothing PROVIDES 'ffmpeg' (but /home/builder/src/base/meta-openembedded/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb DEPENDS on or otherwise requires it)
ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'tracker-miners', 'ffmpeg']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: akash hadke <akash.hadke@kpit.com>
---
 meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb b/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
index e2ced39..ccd22a0 100644
--- a/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
+++ b/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
@@ -24,7 +24,7 @@ REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
 UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
 
 PACKAGECONFIG ??= " \
-    ffmpeg \
+    ${@bb.utils.contains_any('LICENSE_FLAGS_WHITELIST', 'commercial', 'ffmpeg', '', d)} \
     flac \
     gexiv2 \
     gstreamer \
-- 
2.7.4


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

end of thread, other threads:[~2021-06-08  6:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08  4:59 [meta-gnome][dunfell][PATCH] tracker-miners: enable ffmpeg dependency only if its whitelisted akash hadke
2021-06-08  6:56 ` [oe] " Martin Jansa
  -- strict thread matches above, loose matches on Subject: below --
2021-06-08  4:30 akash hadke

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.