All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Which is the best strategy to customize Qt configuration?
Date: Mon, 13 Jul 2015 20:04:42 +0200	[thread overview]
Message-ID: <20150713180442.GB2407@jama> (raw)
In-Reply-To: <10339162.sO6SsRz4fR@peggleto-mobl.ger.corp.intel.com>

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

On Mon, Jul 13, 2015 at 05:38:59PM +0100, Paul Eggleton wrote:
> On Monday 13 July 2015 16:18:55 Pampolini Matteo wrote:
> > It was also my idea to override QT_PHONON variable inside my .bbappend file,
> > but the fact is that this does not prevent BitBake from downloading and
> > compiling glib/gstreamer.
> > 
> > In my first hack, when I modified the original qt.inc file, I had to make
> > both changes, DEPENDS variable for BitBake and QT_PHONON for Qt itself.
> > 
> > As I wrote in my answer to Leonardo the issue is: how can I override the
> > value of DEPENDS variable in my own layer, if possible?
> 
> You can set DEPENDS in the qt4-x11-free bbappend just as with any other 
> variable. In this instance you could use the _remove operator e.g.
> 
> DEPENDS_remove = "gstreamer gst-plugins-base"

Will this work if gstreamer gst-plugins-base aren't next to each other
in DEPENDS?

I think good convention is to use:
DEPENDS_remove = "gstreamer"
DEPENDS_remove = "gst-plugins-base"
for it to work even after original DEPENDS in the recipe is re-ordered
or changed.

Regards,

> (This will only work here having additionally set QT_PHONON = "-no-phonon" to 
> disable the underlying depenendency, of course.)
> 
> Cheers,
> Paul
> 
> -- 
> 
> Paul Eggleton
> Intel Open Source Technology Centre
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

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

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

  reply	other threads:[~2015-07-13 18:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-13 14:23 Which is the best strategy to customize Qt configuration? Pampolini Matteo
2015-07-13 15:47 ` Leonardo Sandoval
2015-07-13 16:05   ` Paul Eggleton
     [not found]   ` <22658_1436803637_55A3E234_22658_12077_1_10339148.fJj1pddUcL@peggleto-mobl.ger.corp.intel.com>
2015-07-13 16:18     ` Pampolini Matteo
2015-07-13 16:38       ` Paul Eggleton
2015-07-13 18:04         ` Martin Jansa [this message]
2015-07-13 18:10           ` Elvis Dowson
2015-07-14  8:06           ` Paul Eggleton
     [not found]           ` <15988_1436861200_55A4C310_15988_12931_1_59871636.IPlF15pPhG@peggleto-mobl.ger.corp.intel.com>
2015-07-14 13:02             ` Pampolini Matteo
     [not found] ` <22658_1436802429_55A3DD7C_22658_11739_1_55A3DDA1.8020100@linux.intel.com>
2015-07-13 16:05   ` Pampolini Matteo

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=20150713180442.GB2407@jama \
    --to=martin.jansa@gmail.com \
    --cc=paul.eggleton@linux.intel.com \
    --cc=yocto@yoctoproject.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.