On Thu, Apr 24, 2014 at 10:52:14AM -0400, Maupin, Chase wrote:
>
> >-----Original Message-----
> >From: Dmytriyenko, Denys
> >Sent: Thursday, April 24, 2014 9:51 AM
> >To: Maupin, Chase
> >Cc: Denys Dmytriyenko; [email protected]
> >Subject: Re: [meta-arago] [PATCH 3/8] qtbase: move setting
> >PACKAGECONFIG flags to arago.conf
> >
> >On Thu, Apr 24, 2014 at 12:33:21PM +0000, Maupin, Chase wrote:
> >>
> >> >-----Original Message-----
> >> >From: [email protected] [mailto:meta-arago-
> >> >[email protected]] On Behalf Of Denys Dmytriyenko
> >> >Sent: Wednesday, April 23, 2014 8:51 PM
> >> >To: [email protected]
> >> >Subject: [meta-arago] [PATCH 3/8] qtbase: move setting
> >> >PACKAGECONFIG flags to arago.conf
> >> >
> >> >From: Denys Dmytriyenko <[email protected]>
> >> >
> >> >Signed-off-by: Denys Dmytriyenko <[email protected]>
> >> >---
> >> > meta-arago-distro/conf/distro/arago.conf | 5
> >+++++
> >> > meta-arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend | 4 +--
> >-
> >> > 2 files changed, 6 insertions(+), 3 deletions(-)
> >> >
> >> >diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-
> >> >arago-distro/conf/distro/arago.conf
> >> >index 1c8c572..7bd1de2 100644
> >> >--- a/meta-arago-distro/conf/distro/arago.conf
> >> >+++ b/meta-arago-distro/conf/distro/arago.conf
> >> >@@ -26,6 +26,11 @@ DISTRO_FEATURES = "alsa argp bluetooth ext2
> >> >irda largefile pcmcia usbgadget usbh
> >> > DISTRO_FEATURES += "opengl"
> >> > PACKAGECONFIG_pn-weston = "kms fbdev"
> >> >
> >> >+# Configure Qt5 flags (GLES is disabled for now)
> >> >+#PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
> >> >+PACKAGECONFIG_GL_pn-qtbase = "linuxfb"
> >> >+PACKAGECONFIG_DISTRO_pn-qtbase = "icu"
> >> >+
> >>
> >> Can you explain this a bit more? What is the advantage of
> >moving it to the
> >> config vs in the recipe?
> >
> >Most of PACKAGECONFIG flags are set automatically based on
> >DISTRO_FEATURES,
> >but not all of them. The remainder can still be thought as distro-
> >specific.
> >The big thing is to set those up centrally w/o creating
> >unnecessary bbappends.
> >Of course, in this case we still need bbappend for qtbase for
> >patches, but I
> >just wanted to start consolidating different PACKAGEGROUPS in one
Obviously, this instance above should be PACKAGECONFIG, not PACKAGEGROUP -
force of habit... :)
> >place, like
> >I did with Weston above...
>
> OK, makes sense. And the branding files would still allow for overrides of
> this?
Indeed. Even though it is a list, but now we have _remove override to easily
remove from the list.
> >> > # ARM9 is not supported by the Linaro toolchain so default
> >back
> >> >to the Arago
> >> > # toolchain for ARM9 based SOCs.
> >> > TC_SANE_DEFAULT :=
> >>
> >>"${@bb.utils.contains('SOC_FAMILY','omapl138','arago','linaro',d)
> >}
> >> >"
> >> >diff --git a/meta-arago-distro/recipes-
> >> >qt/qt5/qtbase_5.2.0.bbappend b/meta-arago-distro/recipes-
> >> >qt/qt5/qtbase_5.2.0.bbappend
> >> >index d35a948..2c0a52d 100644
> >> >--- a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend
> >> >+++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.0.bbappend
> >> >@@ -1,10 +1,8 @@
> >> > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> >> >
> >> >-PACKAGECONFIG_GL = "icu linuxfb"
> >> >-
> >> > SRC_URI += " \
> >> > file://0001-qeglfswindow.cpp.patch \
> >> > file://0002-qeglfswindow.cpp.patch \
> >> > "
> >> >
> >> >-PR_append = "-arago0"
> >> >+PR_append = "-arago1"
> >> >--
> >> >1.9.2
> >> >
> >> >_______________________________________________
> >> >meta-arago mailing list
> >> >[email protected]
> >> >http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >> _______________________________________________
> >> meta-arago mailing list
> >> [email protected]
> >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago