All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin Jansa" <Martin.Jansa@gmail.com>
To: akash hadke <akash.hadke@kpit.com>
Cc: openembedded-devel <openembedded-devel@lists.openembedded.org>,
	 Nisha Parrakat <nisha.parrakat@kpit.com>,
	 Harpritkaur Bhandari <harpritkaur.bhandari@kpit.com>,
	Mikko Rapeli <mikko.rapeli@bmw.de>
Subject: Re: [oe] [meta-gnome][dunfell][PATCH] tracker-miners: enable ffmpeg dependency only if its whitelisted
Date: Tue, 8 Jun 2021 08:56:21 +0200	[thread overview]
Message-ID: <CA+chaQdZS+b=6o2aXnMj+=w_w5mniRixZzLZrxD+5aiZMHQZbQ@mail.gmail.com> (raw)
In-Reply-To: <1623128392-11648-1-git-send-email-akash.hadke@kpit.com>

[-- 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 --]

      reply	other threads:[~2021-06-08  6:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+chaQdZS+b=6o2aXnMj+=w_w5mniRixZzLZrxD+5aiZMHQZbQ@mail.gmail.com' \
    --to=martin.jansa@gmail.com \
    --cc=akash.hadke@kpit.com \
    --cc=harpritkaur.bhandari@kpit.com \
    --cc=mikko.rapeli@bmw.de \
    --cc=nisha.parrakat@kpit.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.