All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Ankur Tyagi <Ankur.Tyagi@gallagher.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Re: [master][PATCH] arago.conf, packagegroup-arago-tisdk-qte: enable examples PACKAGECONFIG for qt5 modules
Date: Wed, 8 Apr 2020 03:29:11 -0400	[thread overview]
Message-ID: <20200408072911.GT24070@beryl> (raw)
In-Reply-To: <SY2PR01MB2426FA52445FE2AB9C08818FE5C00@SY2PR01MB2426.ausprd01.prod.outlook.com>

On Wed, Apr 08, 2020 at 01:05:46AM +0000, Ankur Tyagi wrote:
> Hi Denys
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org <meta-arago-bounces@arago-
> > project.org> On Behalf Of Denys Dmytriyenko
> > Sent: Wednesday, 8 April 2020 12:51 PM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [master][PATCH] arago.conf, packagegroup-arago-tisdk-
> > qte: enable examples PACKAGECONFIG for qt5 modules
> > 
> > From: Denys Dmytriyenko <denys@ti.com>
> > 
> > qtdeclarative-examples is broken for now.
> > 
> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > ---
> >  meta-arago-distro/conf/distro/arago.conf                     | 12 +++++++++++-
> >  .../packagegroups/packagegroup-arago-tisdk-qte.bb            |  2 +-
> >  2 files changed, 12 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-
> > distro/conf/distro/arago.conf
> > index 3215fe7..05201f3 100644
> > --- a/meta-arago-distro/conf/distro/arago.conf
> > +++ b/meta-arago-distro/conf/distro/arago.conf
> > @@ -103,7 +103,17 @@ PACKAGECONFIG_DISTRO_pn-qtbase = "icu examples
> > accessibility gif gbm kms libinpu  PACKAGECONFIG_FONTS_pn-qtbase =
> > "fontconfig"
> > 
> >  # Add gstreamer in package configuration to enable video -
> > PACKAGECONFIG_append_pn-qtmultimedia  = " gstreamer"
> > +PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"
> > +
> > +# Add examples in Qt5 package configurations
> > +PACKAGECONFIG_append_pn-qtcharts = " examples"
> > +#PACKAGECONFIG_append_pn-qtdeclarative = " examples"
> > +PACKAGECONFIG_append_pn-qtlocation = " examples"
> > +PACKAGECONFIG_append_pn-qtmultimedia = " examples"
> > +PACKAGECONFIG_append_pn-qtscript = " examples"
> > +PACKAGECONFIG_append_pn-qtserialport = " examples"
> > +PACKAGECONFIG_append_pn-qtsvg = " examples"
> > +PACKAGECONFIG_append_pn-qtwayland = " examples"
> 
> That means every image including Qt5 based on arago now have to override these
> PACKAGECONFIG in bbappends as I don't expect anyone to include examples in their
> production image.
> Could this inclusion of examples in PACKAGECONFIG be handled in a better way that doesn't
> impact other arago users? Somewhere inside packagegroup-arago-tisdk-qte?

That's not how it works. PACKAGECONFIG controls what gets built, and not what 
gets included into the images.

This patch actually restores existing behavior - meta-qt5 used to enable 
examples for all qt5 modules, based on qtbase PACKAGECONFIG, which is already 
set above. Now meta-qt5 requires "examples" PACKAGECONFIG for each individual 
qt5 module.

And packagegroup-arago-tisdk-qte below already had all corresponding examples 
packages listed to be added into our default image. But you are free not to 
include such packages into your production image - it's as simple as not 
listing them in corresponding RDEPENDS on IMAGE_INSTALL...

-- 
Denys


> >  # Prefer OpenSSL over GnuTLS for curl due to TSU exemptions
> > PACKAGECONFIG_pn-curl = "${@bb.utils.contains("DISTRO_FEATURES", "ipv6",
> > "ipv6", "", d)} ssl zlib"
> > diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> > arago-tisdk-qte.bb b/meta-arago-distro/recipes-
> > core/packagegroups/packagegroup-arago-tisdk-qte.bb
> > index f83ac52..a2e3794 100644
> > --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> > tisdk-qte.bb
> > +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti
> > +++ sdk-qte.bb
> > @@ -12,9 +12,9 @@ QT4_DEMOS = "\
> >      ${@oe.utils.conditional('ARAGO_QT_PROVIDER', 'qt4-embedded-gles',
> > 'quick-playground', '', d)} \  "
> > 
> > +#    qtdeclarative-examples
> >  QT5_DEMOS = "\
> >      qtbase-examples \
> > -    qtdeclarative-examples \
> >      qtdeclarative-tools \
> >      qtlocation-examples \
> >      qtmultimedia-examples \
> > --
> > 2.7.4
> > 
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


  reply	other threads:[~2020-04-08  7:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-08  0:51 [master][PATCH] arago.conf, packagegroup-arago-tisdk-qte: enable examples PACKAGECONFIG for qt5 modules Denys Dmytriyenko
2020-04-08  1:05 ` Ankur Tyagi
2020-04-08  7:29   ` Denys Dmytriyenko [this message]
2020-04-08 10:32     ` Ankur Tyagi

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=20200408072911.GT24070@beryl \
    --to=denys@ti.com \
    --cc=Ankur.Tyagi@gallagher.com \
    --cc=meta-arago@arago-project.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.